Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006119/0.0006119, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003294/0.003294, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8292/0.8292, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1972/0.1972, allocations: 29.41 MB / 290.8 MB, free: 2.441 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.498e-05, allocations: 2.281 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.004423/0.004438, allocations: 5.705 MB / 437.2 MB, free: 7.375 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.006295, allocations: 1.519 MB / 438.7 MB, free: 5.852 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000193/0.006488, allocations: 35.69 kB / 438.7 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.006746, allocations: 142.8 kB / 438.9 MB, free: 5.676 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.007163, allocations: 373.7 kB / 439.2 MB, free: 5.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.007495, allocations: 331.4 kB / 439.6 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.008244, allocations: 1.348 MB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.008456, allocations: 233.1 kB / 441.1 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.009085, allocations: 0.7327 MB / 441.9 MB, free: 2.664 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004776/0.009563, allocations: 0.5183 MB / 442.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.00965, allocations: 92 kB / 442.5 MB, free: 2.055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.009748, allocations: 92 kB / 442.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.009991, allocations: 363.1 kB / 442.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.01021, allocations: 299.4 kB / 443.2 MB, free: 1.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008273/0.01104, allocations: 1.114 MB / 444.3 MB, free: 204 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01104, allocations: 3.984 kB / 444.3 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01104, allocations: 4 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.01105, allocations: 0 / 444.3 MB, free: 196 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.1489/0.16, allocations: 1.127 MB / 445.5 MB, free: 55.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.16, allocations: 15.2 kB / 445.5 MB, free: 55.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001144/0.1601, allocations: 88.59 kB / 445.6 MB, free: 55.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007012/0.1608, allocations: 0.587 MB / 446.1 MB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.1611, allocations: 0.74 MB / 446.9 MB, free: 54.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.1611, allocations: 57.78 kB / 446.9 MB, free: 54.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1622, allocations: 1.047 MB / 448 MB, free: 53.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1622, allocations: 0 / 448 MB, free: 53.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.726e-05/0.1622, allocations: 25.95 kB / 448 MB, free: 53.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1622, allocations: 16.59 kB / 448 MB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.1635, allocations: 1.088 MB / 449.1 MB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.1656, allocations: 2.885 MB / 452 MB, free: 51.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.1665, allocations: 0.7233 MB / 452.7 MB, free: 51.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.1672, allocations: 0.5215 MB / 453.2 MB, free: 51.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1672, allocations: 7 kB / 453.3 MB, free: 51.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006813/0.1679, allocations: 0.6152 MB / 453.9 MB, free: 50.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 1.403e-06/0.1679, allocations: 7.141 kB / 453.9 MB, free: 50.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001885/0.1698, allocations: 1.409 MB / 455.3 MB, free: 50.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1698, allocations: 141.7 kB / 455.4 MB, free: 50.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.17, allocations: 366 kB / 455.8 MB, free: 50.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.17, allocations: 43.19 kB / 455.8 MB, free: 50.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1701, allocations: 306.4 kB / 456.1 MB, free: 49.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.348e-05/0.1702, allocations: 165.9 kB / 456.3 MB, free: 49.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1703, allocations: 114.3 kB / 456.4 MB, free: 49.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.981e-05/0.1703, allocations: 354.2 kB / 456.7 MB, free: 49.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/0.1708, allocations: 493 kB / 457.2 MB, free: 49.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.1713, allocations: 0.588 MB / 457.8 MB, free: 48.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/0.1722, allocations: 0.8824 MB / 458.7 MB, free: 48.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1722, allocations: 3.188 kB / 458.7 MB, free: 48.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001142/0.1734, allocations: 1.137 MB / 459.8 MB, free: 48.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.1734, allocations: 50.38 kB / 459.9 MB, free: 48.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1734, allocations: 3 kB / 459.9 MB, free: 48.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.583e-05/0.1735, allocations: 28.58 kB / 459.9 MB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.176, allocations: 1.106 MB / 461 MB, free: 48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.1795, allocations: 5.683 MB / 466.7 MB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.1798, allocations: 110.5 kB / 466.8 MB, free: 43.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.75e-05/0.1799, allocations: 40.34 kB / 466.9 MB, free: 43.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.18, allocations: 258.2 kB / 467.1 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1801, allocations: 54 kB / 467.2 MB, free: 43.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.1813, allocations: 0.9987 MB / 468.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1813, allocations: 8.531 kB / 468.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1813, allocations: 3.031 kB / 468.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1814, allocations: 3.375 kB / 468.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1832, allocations: 1.928 MB / 470.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1832, allocations: 0 / 470.1 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002975/0.1861, allocations: 1.279 MB / 471.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.876e-05/0.1862, allocations: 25.47 kB / 471.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1862, allocations: 16.8 kB / 471.4 MB, free: 42.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003197/0.1865, allocations: 1.261 MB / 472.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1865, allocations: 7.125 kB / 472.7 MB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.1885, allocations: 1.735 MB / 474.4 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1886, allocations: 135.8 kB / 474.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.1887, allocations: 28.12 kB / 474.6 MB, free: 40.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.189, allocations: 89.95 kB / 474.7 MB, free: 40.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.1891, allocations: 95.78 kB / 474.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.1891, allocations: 20.95 kB / 474.8 MB, free: 40.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1892, allocations: 244.7 kB / 475 MB, free: 40.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1892, allocations: 0 / 475 MB, free: 40.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.1896, allocations: 187.1 kB / 475.2 MB, free: 40.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.1897, allocations: 131.3 kB / 475.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.1932, allocations: 2.172 MB / 477.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1932, allocations: 0 / 477.5 MB, free: 39.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.1948, allocations: 1.028 MB / 478.5 MB, free: 39.19 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1953, allocations: 129.5 kB / 478.7 MB, free: 39.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.1973, allocations: 1.565 MB / 480.2 MB, free: 38.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.1975, allocations: 328.8 kB / 480.5 MB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.1976, allocations: 45.48 kB / 480.6 MB, free: 38.23 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1976, allocations: 0 / 480.6 MB, free: 38.23 MB / 410.7 MB Notification: Performance of Templates: time 0.01178/0.2094, allocations: 13.7 MB / 494.3 MB, free: 34.96 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.783266280777752]