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.002424/0.002424, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002825/0.002825, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3367/0.3367, allocations: 29.41 MB / 290.5 MB, free: 2.418 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.373e-06/1.373e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/2.957e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.009553/0.009583, allocations: 6.009 MB / 374.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003827/0.01341, allocations: 1.551 MB / 376.4 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.01382, allocations: 31.75 kB / 376.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000706/0.01452, allocations: 142.8 kB / 376.6 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009249/0.01545, allocations: 377.8 kB / 377 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007566/0.01621, allocations: 339.3 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.01787, allocations: 1.34 MB / 378.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.01831, allocations: 229.2 kB / 378.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.01946, allocations: 0.7326 MB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.02042, allocations: 0.5261 MB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.02061, allocations: 96.05 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.02079, allocations: 88 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000465/0.02126, allocations: 371 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004419/0.0217, allocations: 303.4 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001458/0.02316, allocations: 1.118 MB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.02316, allocations: 0 / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02316, allocations: 0 / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.02317, allocations: 0 / 382.1 MB, free: 14.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.002755/0.02593, allocations: 1.254 MB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.02597, allocations: 15.98 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/0.02629, allocations: 144.5 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.02794, allocations: 0.6074 MB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007415/0.02868, allocations: 0.7253 MB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.02881, allocations: 60.27 kB / 384.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.03064, allocations: 0.7788 MB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.03066, allocations: 0 / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.851e-05/0.03074, allocations: 24 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.03076, allocations: 12 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.03259, allocations: 0.5814 MB / 386.3 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005372/0.03797, allocations: 3.016 MB / 389.3 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.03952, allocations: 472.9 kB / 389.8 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.04054, allocations: 327.7 kB / 390.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/0.0406, allocations: 8.5 kB / 390.1 MB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001146/0.04175, allocations: 459.8 kB / 390.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.565e-06/0.04175, allocations: 0 / 390.5 MB, free: 5.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.003391/0.04514, allocations: 0.8753 MB / 391.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.0453, allocations: 140.5 kB / 391.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/0.04597, allocations: 482.8 kB / 392 MB, free: 3.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.04604, allocations: 37.7 kB / 392.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.04639, allocations: 363.5 kB / 392.4 MB, free: 3.227 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.0466, allocations: 178.7 kB / 392.6 MB, free: 3.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.04688, allocations: 139.9 kB / 392.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003543/0.04723, allocations: 0.5587 MB / 393.3 MB, free: 2.336 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/0.04803, allocations: 298.8 kB / 393.6 MB, free: 2.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009233/0.04895, allocations: 460.4 kB / 394 MB, free: 1.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.0505, allocations: 0.6281 MB / 394.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.0505, allocations: 0 / 394.7 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002109/0.05261, allocations: 0.8321 MB / 395.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/0.05268, allocations: 45.69 kB / 395.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.05269, allocations: 4 kB / 395.5 MB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.05287, allocations: 27.67 kB / 395.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/0.05707, allocations: 0.7257 MB / 396.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008137/0.06521, allocations: 5.998 MB / 402.3 MB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.06592, allocations: 91.62 kB / 402.4 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.06602, allocations: 35.98 kB / 402.4 MB, free: 8.676 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.0004286/0.06645, allocations: 242.3 kB / 402.6 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.0666, allocations: 59.72 kB / 402.7 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.06872, allocations: 0.6542 MB / 403.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.06873, allocations: 12 kB / 403.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.06874, allocations: 3.938 kB / 403.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.06875, allocations: 3.984 kB / 403.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/0.07398, allocations: 1.626 MB / 405 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.07399, allocations: 4 kB / 405 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008094/0.08208, allocations: 0.8467 MB / 405.9 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001635/0.08225, allocations: 23.67 kB / 405.9 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.08237, allocations: 15.98 kB / 405.9 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002011/0.08438, allocations: 1.744 MB / 407.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.08438, allocations: 0 / 407.6 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.08914, allocations: 1.136 MB / 408.8 MB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005507/0.08969, allocations: 115.6 kB / 408.9 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.08986, allocations: 28 kB / 408.9 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/0.09069, allocations: 55.92 kB / 409 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004333/0.09112, allocations: 119.7 kB / 409.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.0912, allocations: 12 kB / 409.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005399/0.09174, allocations: 291.1 kB / 409.4 MB, free: 1.441 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.09174, allocations: 4 kB / 409.4 MB, free: 1.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001122/0.09286, allocations: 195.6 kB / 409.6 MB, free: 1.246 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.0002883/0.09315, allocations: 131.1 kB / 409.7 MB, free: 1.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008799/0.1019, allocations: 1.486 MB / 411.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.102, allocations: 0 / 411.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004197/0.1062, allocations: 0.706 MB / 411.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.1075, allocations: 144.8 kB / 412 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005328/0.1128, allocations: 1.374 MB / 413.4 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.1134, allocations: 325.1 kB / 413.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000764/0.1142, allocations: 112.4 kB / 413.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.1145, allocations: 56.42 kB / 413.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1145, allocations: 0 / 413.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of Templates: time 0.02095/0.1354, allocations: 8.517 MB / 422.4 MB, free: 4.355 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: 5.209995670011267]