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.0009671/0.0009671, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001032/0.001032, allocations: 170.3 kB / 24.82 MB, free: 9.266 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.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2613/0.2613, allocations: 29.42 MB / 291.2 MB, free: 2.387 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 2.294e-06/2.294e-06, allocations: 3.938 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.725e-05, allocations: 2.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005242/0.005269, allocations: 5.167 MB / 375.3 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.007859, allocations: 1.535 MB / 376.8 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005097/0.008369, allocations: 31.69 kB / 376.8 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005131/0.008882, allocations: 131 kB / 377 MB, free: 3.816 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007755/0.009658, allocations: 381.7 kB / 377.3 MB, free: 3.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005544/0.01021, allocations: 323.4 kB / 377.7 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01125, allocations: 1.336 MB / 379 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002727/0.01153, allocations: 221.2 kB / 379.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.01247, allocations: 0.7873 MB / 380 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005923/0.01306, allocations: 494.8 kB / 380.5 MB, free: 300 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/0.01315, allocations: 80 kB / 380.6 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.01326, allocations: 80 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.01355, allocations: 355.2 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.01376, allocations: 283.4 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.01445, allocations: 0.6698 MB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.01446, allocations: 0 / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01446, allocations: 4 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01447, allocations: 0 / 381.9 MB, free: 14.83 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.001251/0.01572, allocations: 1.173 MB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.01576, allocations: 19.97 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.01592, allocations: 144.5 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.01662, allocations: 0.5125 MB / 383.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/0.01696, allocations: 0.7253 MB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.836e-05/0.01704, allocations: 60.33 kB / 384.6 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006987/0.01774, allocations: 0.5998 MB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.01776, allocations: 3.938 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.981e-05/0.01781, allocations: 24 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01782, allocations: 16 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.0182, allocations: 302.6 kB / 385.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002757/0.02096, allocations: 2.71 MB / 388.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.02139, allocations: 288.3 kB / 388.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.02163, allocations: 184.8 kB / 388.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.02167, allocations: 16.48 kB / 388.7 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003297/0.022, allocations: 315.3 kB / 389 MB, free: 7.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.422e-06/0.022, allocations: 0 / 389 MB, free: 7.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0008051/0.02281, allocations: 0.5163 MB / 389.5 MB, free: 6.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.02286, allocations: 144.4 kB / 389.7 MB, free: 6.656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.02308, allocations: 390.4 kB / 390 MB, free: 6.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.02312, allocations: 37.7 kB / 390.1 MB, free: 6.215 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.02328, allocations: 351.5 kB / 390.4 MB, free: 5.863 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.02339, allocations: 190.4 kB / 390.6 MB, free: 5.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.02352, allocations: 111.9 kB / 390.7 MB, free: 5.559 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.02367, allocations: 0.539 MB / 391.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.02384, allocations: 162.9 kB / 391.4 MB, free: 4.844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.02406, allocations: 312.5 kB / 391.7 MB, free: 4.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.0244, allocations: 403.4 kB / 392.1 MB, free: 4.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.02441, allocations: 4 kB / 392.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0005955/0.025, allocations: 0.5781 MB / 392.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.02505, allocations: 57.61 kB / 392.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02506, allocations: 384 / 392.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.106e-05/0.02515, allocations: 23.69 kB / 392.8 MB, free: 3.328 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.02687, allocations: 0.7178 MB / 393.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.02981, allocations: 5.586 MB / 399.1 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.03007, allocations: 79.75 kB / 399.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.03012, allocations: 27.98 kB / 399.2 MB, free: 12.58 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.0001959/0.03032, allocations: 202.4 kB / 399.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.0304, allocations: 71.61 kB / 399.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.03091, allocations: 434.2 kB / 399.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.03092, allocations: 7.984 kB / 399.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.03092, allocations: 0 / 399.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.03093, allocations: 4 kB / 399.9 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.03221, allocations: 1.297 MB / 401.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.03221, allocations: 4 kB / 401.2 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/0.03459, allocations: 0.831 MB / 402 MB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.702e-05/0.03468, allocations: 19.67 kB / 402 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.03472, allocations: 19.98 kB / 402.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000692/0.03541, allocations: 1.701 MB / 403.8 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.03541, allocations: 4 kB / 403.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.03614, allocations: 0.7492 MB / 404.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.03629, allocations: 111.5 kB / 404.6 MB, free: 6.879 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.03634, allocations: 31.98 kB / 404.6 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.03655, allocations: 47.89 kB / 404.7 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.03664, allocations: 51.91 kB / 404.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.03667, allocations: 19.98 kB / 404.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.0368, allocations: 247 kB / 405 MB, free: 6.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0368, allocations: 0 / 405 MB, free: 6.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004701/0.03727, allocations: 199.6 kB / 405.2 MB, free: 6.297 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.0001518/0.03743, allocations: 127.2 kB / 405.3 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.03948, allocations: 1.22 MB / 406.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.03948, allocations: 0 / 406.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009166/0.0404, allocations: 0.5811 MB / 407.1 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.04082, allocations: 142.2 kB / 407.3 MB, free: 4.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.04319, allocations: 1.328 MB / 408.6 MB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.0433, allocations: 177.8 kB / 408.8 MB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.04352, allocations: 64.56 kB / 408.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.04379, allocations: 186.1 kB / 409 MB, free: 2.34 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.04379, allocations: 0 / 409 MB, free: 2.34 MB / 378.7 MB Notification: Performance of Templates: time 0.0106/0.05439, allocations: 9.184 MB / 418.2 MB, free: 9.285 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.2581440429203212]