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.001064/0.001064, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001116/0.001116, allocations: 167.9 kB / 24.91 MB, free: 9.156 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2467/0.2467, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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 1.152e-06/1.152e-06, allocations: 0 / 316.8 MB, free: 4 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.682e-05/1.797e-05, allocations: 2.312 kB / 316.8 MB, free: 0 / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.01449/0.01451, allocations: 5.204 MB / 322 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.01676, allocations: 1.57 MB / 323.6 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.01703, allocations: 31.69 kB / 323.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.01743, allocations: 138.9 kB / 323.8 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006476/0.01807, allocations: 369.8 kB / 324.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.01863, allocations: 323.4 kB / 324.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.01983, allocations: 1.36 MB / 325.8 MB, free: 6.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003506/0.02018, allocations: 231.1 kB / 326 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.02131, allocations: 0.7835 MB / 326.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006119/0.02193, allocations: 470.8 kB / 327.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.02203, allocations: 84 kB / 327.4 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.02215, allocations: 76 kB / 327.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.02244, allocations: 355.1 kB / 327.8 MB, free: 5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.02271, allocations: 291.4 kB / 328.1 MB, free: 4.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.02332, allocations: 0.666 MB / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.02332, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.02332, allocations: 0 / 328.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.02333, allocations: 3.984 kB / 328.7 MB, free: 4.043 MB / 298.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.0014/0.02473, allocations: 1.032 MB / 329.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.02476, allocations: 15.98 kB / 329.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.02493, allocations: 120.8 kB / 329.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006199/0.02555, allocations: 479.3 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/0.02596, allocations: 0.7214 MB / 331.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.02606, allocations: 60.38 kB / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.02682, allocations: 0.571 MB / 331.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.02684, allocations: 4 kB / 331.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.755e-05/0.0269, allocations: 20 kB / 331.8 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.02691, allocations: 16 kB / 331.8 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004664/0.02738, allocations: 262.7 kB / 332 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.02994, allocations: 1.981 MB / 334 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.03042, allocations: 297.1 kB / 334.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.0307, allocations: 160.9 kB / 334.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.03074, allocations: 12.5 kB / 334.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.0311, allocations: 301.6 kB / 334.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.703e-06/0.0311, allocations: 0 / 334.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008534/0.03195, allocations: 415 kB / 335.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.03201, allocations: 144.5 kB / 335.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.03224, allocations: 331.2 kB / 335.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.0323, allocations: 45.69 kB / 335.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.03243, allocations: 261.4 kB / 335.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.03255, allocations: 166.6 kB / 336.1 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.03271, allocations: 114.2 kB / 336.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.03282, allocations: 362.7 kB / 336.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.03302, allocations: 147 kB / 336.7 MB, free: 11.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.03326, allocations: 263.8 kB / 337 MB, free: 11.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.03365, allocations: 357.3 kB / 337.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.03366, allocations: 0 / 337.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005904/0.03425, allocations: 481.2 kB / 337.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.513e-05/0.03432, allocations: 53.62 kB / 337.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.03433, allocations: 7.938 kB / 337.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.409e-05/0.03442, allocations: 28.05 kB / 337.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.03674, allocations: 0.7139 MB / 338.6 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.03971, allocations: 3.948 MB / 342.5 MB, free: 5.383 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.04, allocations: 79.75 kB / 342.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.04007, allocations: 39.91 kB / 342.6 MB, free: 5.266 MB / 314.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.0001832/0.04025, allocations: 150.5 kB / 342.8 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.04033, allocations: 43.97 kB / 342.8 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.04084, allocations: 351.1 kB / 343.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.04084, allocations: 8 kB / 343.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.04085, allocations: 0 / 343.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.04085, allocations: 7.984 kB / 343.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.042, allocations: 1.028 MB / 344.2 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.042, allocations: 8.141 kB / 344.2 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002838/0.04484, allocations: 0.8349 MB / 345.1 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.947e-05/0.0449, allocations: 19.67 kB / 345.1 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.04494, allocations: 15.98 kB / 345.1 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005864/0.04553, allocations: 1.183 MB / 346.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.04553, allocations: 11.94 kB / 346.3 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007868/0.04632, allocations: 0.6249 MB / 346.9 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.04648, allocations: 99.48 kB / 347 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.04657, allocations: 36.02 kB / 347 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.04685, allocations: 51.94 kB / 347.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.04697, allocations: 47.92 kB / 347.1 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.04701, allocations: 15.98 kB / 347.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.04712, allocations: 128.7 kB / 347.3 MB, free: 404 kB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04712, allocations: 0 / 347.3 MB, free: 404 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004781/0.0476, allocations: 183.7 kB / 347.5 MB, free: 220 kB / 314.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.0001423/0.04774, allocations: 117.3 kB / 347.6 MB, free: 96 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.04983, allocations: 1.135 MB / 348.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.04984, allocations: 8.125 kB / 348.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008654/0.05071, allocations: 0.5123 MB / 349.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.05109, allocations: 156.6 kB / 349.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.05307, allocations: 1.284 MB / 350.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.0532, allocations: 173.8 kB / 350.8 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002188/0.05342, allocations: 68.55 kB / 350.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.0537, allocations: 163.3 kB / 351.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0537, allocations: 0 / 351.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of Templates: time 0.01105/0.06475, allocations: 9.189 MB / 360.3 MB, free: 3.449 MB / 330.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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.1668751067481935]