Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.001353/0.001353, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009685/0.0009685, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.9589/0.9589, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.225/0.225, allocations: 29.42 MB / 290.9 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.098e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.004955/0.004976, allocations: 5.522 MB / 375.2 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.006724, allocations: 1.317 MB / 376.5 MB, free: 4.109 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.006976, allocations: 35.69 kB / 376.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.007252, allocations: 119 kB / 376.6 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008566/0.008108, allocations: 445.4 kB / 377.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.008603, allocations: 247.5 kB / 377.3 MB, free: 3.277 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009405/0.009544, allocations: 1.117 MB / 378.4 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.009823, allocations: 250.2 kB / 378.7 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006167/0.01044, allocations: 0.6584 MB / 379.3 MB, free: 1.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.01097, allocations: 0.5026 MB / 379.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.678e-05/0.01104, allocations: 64 kB / 379.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.406e-05/0.01114, allocations: 68 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000232/0.01137, allocations: 355.1 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.01158, allocations: 275.4 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.01213, allocations: 0.6306 MB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01213, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.01213, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.01214, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001237/0.01338, allocations: 1.188 MB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.01342, allocations: 11.98 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.01357, allocations: 144.4 kB / 382.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.01419, allocations: 0.5577 MB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.01431, allocations: 220.1 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.01438, allocations: 68.33 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006678/0.01505, allocations: 0.6074 MB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.01507, allocations: 0 / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.0151, allocations: 24 kB / 384 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.98e-05/0.01518, allocations: 41.28 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.01557, allocations: 255.5 kB / 384.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.01773, allocations: 2.716 MB / 387 MB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.01832, allocations: 406.4 kB / 387.4 MB, free: 8.863 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002345/0.01855, allocations: 162.9 kB / 387.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.01858, allocations: 4.328 kB / 387.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.01883, allocations: 229 kB / 387.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.512e-06/0.01883, allocations: 7.938 kB / 387.8 MB, free: 8.438 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001577/0.02041, allocations: 1.124 MB / 388.9 MB, free: 7.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.02046, allocations: 118.8 kB / 389.1 MB, free: 7.125 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.02079, allocations: 478.4 kB / 389.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.02082, allocations: 41.7 kB / 389.6 MB, free: 6.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.02103, allocations: 415.1 kB / 390 MB, free: 6.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.984e-05/0.02113, allocations: 154.8 kB / 390.1 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.02125, allocations: 123.9 kB / 390.2 MB, free: 5.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.0214, allocations: 0.543 MB / 390.8 MB, free: 5.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.02158, allocations: 142.9 kB / 390.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.02182, allocations: 381.5 kB / 391.3 MB, free: 4.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.02221, allocations: 494.2 kB / 391.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02221, allocations: 0 / 391.8 MB, free: 4.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006693/0.02288, allocations: 0.6326 MB / 392.4 MB, free: 3.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.02292, allocations: 53.69 kB / 392.5 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.02293, allocations: 7.984 kB / 392.5 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.02313, allocations: 59.34 kB / 392.5 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.02335, allocations: 112 kB / 392.6 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.02509, allocations: 3.806 MB / 396.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.02526, allocations: 27.94 kB / 396.5 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-05/0.02531, allocations: 43.97 kB / 396.5 MB, free: 15.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$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): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.02546, allocations: 204.3 kB / 396.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.455e-05/0.02553, allocations: 79.66 kB / 396.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004873/0.02601, allocations: 381.4 kB / 397.2 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.02602, allocations: 8.078 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.02602, allocations: 0 / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.02603, allocations: 3.984 kB / 397.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.02711, allocations: 1.1 MB / 398.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.02712, allocations: 4 kB / 398.3 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.02727, allocations: 63.89 kB / 398.3 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001647/0.02743, allocations: 75.36 kB / 398.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.822e-05/0.02746, allocations: 19.92 kB / 398.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/0.02903, allocations: 3.802 MB / 402.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02903, allocations: 0 / 402.2 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.02966, allocations: 0.6369 MB / 402.9 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.02977, allocations: 95.61 kB / 403 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.02982, allocations: 23.98 kB / 403 MB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.02997, allocations: 27.97 kB / 403 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.244e-05/0.03003, allocations: 35.88 kB / 403.1 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.03006, allocations: 19.98 kB / 403.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.03024, allocations: 291 kB / 403.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.03024, allocations: 0 / 403.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003852/0.03063, allocations: 148 kB / 403.5 MB, free: 7.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001224/0.03075, allocations: 127.1 kB / 403.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.03147, allocations: 0.7893 MB / 404.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.03148, allocations: 4 kB / 404.4 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.03182, allocations: 0.4965 MB / 404.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.03226, allocations: 129.8 kB / 405 MB, free: 6.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.03403, allocations: 1.255 MB / 406.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.03415, allocations: 193.9 kB / 406.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001533/0.03431, allocations: 80.66 kB / 406.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.928e-05/0.03438, allocations: 44.48 kB / 406.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03439, allocations: 0 / 406.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of Templates: time 0.008674/0.04306, allocations: 6.84 MB / 413.4 MB, free: 13.75 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2877090792171657]