Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001469/0.001469, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001751/0.001751, allocations: 165 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.9574/0.9574, allocations: 177.1 MB / 205 MB, free: 5.445 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.2476/0.2476, allocations: 29.42 MB / 290.9 MB, free: 2.461 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.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.951e-05, allocations: 6.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006974/0.007003, allocations: 5.225 MB / 374.9 MB, free: 5.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.00993, allocations: 1.535 MB / 376.4 MB, free: 4.191 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000318/0.01025, allocations: 31.69 kB / 376.4 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005276/0.01078, allocations: 142.9 kB / 376.6 MB, free: 4.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000815/0.01159, allocations: 365.8 kB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.01228, allocations: 327.4 kB / 377.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.01382, allocations: 1.352 MB / 378.6 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.0142, allocations: 221.2 kB / 378.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.01534, allocations: 0.7796 MB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000736/0.01608, allocations: 486.8 kB / 380.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.01623, allocations: 80 kB / 380.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.01639, allocations: 80 kB / 380.2 MB, free: 360 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003296/0.01671, allocations: 355.1 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.01707, allocations: 287.5 kB / 380.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.01814, allocations: 0.666 MB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01814, allocations: 0 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01814, allocations: 0 / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.01816, allocations: 4 kB / 381.5 MB, free: 15.05 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002011/0.02017, allocations: 1.204 MB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.02021, allocations: 11.98 kB / 382.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002659/0.02048, allocations: 136.5 kB / 382.9 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.0214, allocations: 0.5398 MB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/0.02194, allocations: 0.7292 MB / 384.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.02207, allocations: 68.27 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.02336, allocations: 0.6507 MB / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.02338, allocations: 0 / 384.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.332e-05/0.02345, allocations: 20 kB / 384.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.02347, allocations: 16 kB / 384.9 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.02449, allocations: 393.6 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005064/0.02955, allocations: 2.839 MB / 388.1 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.03036, allocations: 333.1 kB / 388.4 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.03089, allocations: 227.8 kB / 388.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.03093, allocations: 12.5 kB / 388.7 MB, free: 7.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005828/0.03151, allocations: 339.9 kB / 389 MB, free: 7.133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.03151, allocations: 0 / 389 MB, free: 7.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001641/0.03315, allocations: 0.6061 MB / 389.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.03322, allocations: 144.5 kB / 389.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.03359, allocations: 398.6 kB / 390.1 MB, free: 5.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.03365, allocations: 37.7 kB / 390.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.03387, allocations: 351.5 kB / 390.5 MB, free: 5.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.03401, allocations: 178.5 kB / 390.7 MB, free: 5.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.03421, allocations: 120 kB / 390.8 MB, free: 5.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.03439, allocations: 0.5313 MB / 391.3 MB, free: 4.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.0348, allocations: 210.9 kB / 391.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.03529, allocations: 360.6 kB / 391.9 MB, free: 4.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.03603, allocations: 463.4 kB / 392.4 MB, free: 3.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.03603, allocations: 0 / 392.4 MB, free: 3.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001205/0.03724, allocations: 0.6757 MB / 393 MB, free: 2.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.348e-05/0.03729, allocations: 45.69 kB / 393.1 MB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.0373, allocations: 7.984 kB / 393.1 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.03746, allocations: 24.06 kB / 393.1 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.04049, allocations: 0.7216 MB / 393.8 MB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/0.04516, allocations: 5.663 MB / 399.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.04556, allocations: 87.73 kB / 399.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.04564, allocations: 39.98 kB / 399.6 MB, free: 11.91 MB / 378.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.0002257/0.04587, allocations: 202.4 kB / 399.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.04599, allocations: 63.67 kB / 399.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009914/0.04698, allocations: 494.1 kB / 400.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.04699, allocations: 8 kB / 400.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.04699, allocations: 3.984 kB / 400.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.047, allocations: 0 / 400.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.04868, allocations: 1.36 MB / 401.7 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.04869, allocations: 8.156 kB / 401.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00352/0.05221, allocations: 0.8426 MB / 402.6 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.573e-05/0.0523, allocations: 23.67 kB / 402.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.05236, allocations: 15.98 kB / 402.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/0.05319, allocations: 1.72 MB / 404.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.05319, allocations: 4 kB / 404.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.0544, allocations: 0.8389 MB / 405.2 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.05459, allocations: 123.5 kB / 405.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.167e-05/0.05467, allocations: 36.11 kB / 405.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003162/0.05499, allocations: 51.94 kB / 405.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/0.05518, allocations: 111.7 kB / 405.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.05522, allocations: 16 kB / 405.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.05539, allocations: 255.1 kB / 405.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05539, allocations: 0 / 405.8 MB, free: 5.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005044/0.0559, allocations: 195.6 kB / 406 MB, free: 5.301 MB / 378.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.0001403/0.05604, allocations: 131.1 kB / 406.1 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.05955, allocations: 1.287 MB / 407.4 MB, free: 3.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.05955, allocations: 8.062 kB / 407.4 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.06092, allocations: 0.6042 MB / 408 MB, free: 3.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.06151, allocations: 141.2 kB / 408.1 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.06447, allocations: 1.352 MB / 409.5 MB, free: 1.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.06462, allocations: 173.9 kB / 409.6 MB, free: 1.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000394/0.06501, allocations: 112.5 kB / 409.7 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.06521, allocations: 40.5 kB / 409.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of SimCode: time 1.083e-06/0.06521, allocations: 0 / 409.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of Templates: time 0.01339/0.0786, allocations: 9.011 MB / 418.8 MB, free: 8.402 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1086472892202437]