Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.00135/0.00135, 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.001858/0.001858, allocations: 170.2 kB / 24.82 MB, free: 9.262 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2501/0.2501, allocations: 29.42 MB / 291.2 MB, free: 2.367 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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.999e-06/1.135e-05, allocations: 2.312 kB / 370.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.004951/0.004963, allocations: 5.977 MB / 376.1 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.007572, allocations: 1.986 MB / 378.1 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.007921, allocations: 43.69 kB / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.008452, allocations: 226.5 kB / 378.3 MB, free: 2.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008537/0.009306, allocations: 0.5672 MB / 378.9 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006694/0.009975, allocations: 430.9 kB / 379.3 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.01099, allocations: 1.406 MB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.01155, allocations: 0.5882 MB / 381.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009365/0.01249, allocations: 0.8964 MB / 382.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000546/0.01303, allocations: 0.6312 MB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.684e-05/0.01313, allocations: 96 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005691/0.0137, allocations: 0.5226 MB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.01398, allocations: 0.5261 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.01425, allocations: 411 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007994/0.01505, allocations: 1.125 MB / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01505, allocations: 0 / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01505, allocations: 0 / 385.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.01506, allocations: 0 / 385.5 MB, free: 11.2 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.0014/0.01646, allocations: 1.547 MB / 387.1 MB, free: 9.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.01649, allocations: 11.98 kB / 387.1 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.01703, allocations: 272.1 kB / 387.4 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.01764, allocations: 0.6224 MB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.01777, allocations: 325.9 kB / 388.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.01791, allocations: 112.7 kB / 388.4 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.01877, allocations: 0.9264 MB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01879, allocations: 7.984 kB / 389.3 MB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.01884, allocations: 36 kB / 389.4 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/0.01893, allocations: 73.91 kB / 389.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.01936, allocations: 369.4 kB / 389.8 MB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/0.02246, allocations: 4.75 MB / 394.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.02299, allocations: 421.2 kB / 395 MB, free: 1.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.02324, allocations: 211.8 kB / 395.2 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.02327, allocations: 12.66 kB / 395.2 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.02378, allocations: 402 kB / 395.6 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of pre-optimization done (n=80): time 2.795e-06/0.02378, allocations: 4 kB / 395.6 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of matching and sorting (n=81): time 0.001914/0.0257, allocations: 1.26 MB / 396.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.02576, allocations: 123.5 kB / 397 MB, free: 15.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.02612, allocations: 0.5293 MB / 397.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.02617, allocations: 53.69 kB / 397.5 MB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.02644, allocations: 0.5106 MB / 398.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.02661, allocations: 289.7 kB / 398.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.02681, allocations: 216.1 kB / 398.5 MB, free: 13.6 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000777/0.02759, allocations: 0.5741 MB / 399.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.0278, allocations: 191.9 kB / 399.3 MB, free: 12.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.02816, allocations: 0.5804 MB / 399.9 MB, free: 12.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005715/0.02873, allocations: 0.7855 MB / 400.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.02873, allocations: 0 / 400.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00099/0.02972, allocations: 0.9427 MB / 401.6 MB, free: 10.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.153e-05/0.02977, allocations: 61.67 kB / 401.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006365/0.03041, allocations: 0.6389 MB / 402.3 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.03064, allocations: 95.61 kB / 402.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/0.031, allocations: 183.7 kB / 402.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.03316, allocations: 3.804 MB / 406.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.03341, allocations: 47.94 kB / 406.4 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/0.03349, allocations: 71.88 kB / 406.5 MB, free: 5.016 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002267/0.03372, allocations: 256.4 kB / 406.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.03384, allocations: 99.52 kB / 406.9 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006919/0.03454, allocations: 0.6002 MB / 407.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.03455, allocations: 15.98 kB / 407.5 MB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.03455, allocations: 4 kB / 407.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.03456, allocations: 3.984 kB / 407.5 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.03591, allocations: 1.403 MB / 408.9 MB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.03592, allocations: 3.938 kB / 408.9 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.03626, allocations: 111.9 kB / 409 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.26e-05/0.03633, allocations: 31.77 kB / 409 MB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.03638, allocations: 27.97 kB / 409.1 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007549/0.03713, allocations: 1.981 MB / 411 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.03714, allocations: 4 kB / 411 MB, free: 300 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.03847, allocations: 0.9263 MB / 412 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.03869, allocations: 135.4 kB / 412.1 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.0388, allocations: 75.94 kB / 412.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.03909, allocations: 39.97 kB / 412.2 MB, free: 15.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.0392, allocations: 56.5 kB / 412.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/0.03923, allocations: 23.97 kB / 412.3 MB, free: 15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.03946, allocations: 306.7 kB / 412.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03946, allocations: 0 / 412.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007413/0.0402, allocations: 239.9 kB / 412.8 MB, free: 14.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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,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.0002472/0.04045, allocations: 183 kB / 413 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.04147, allocations: 1.02 MB / 414 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.04148, allocations: 0 / 414 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000371/0.04185, allocations: 419.4 kB / 414.4 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.04233, allocations: 165.8 kB / 414.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.04479, allocations: 1.822 MB / 416.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.04499, allocations: 263.5 kB / 416.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002598/0.04525, allocations: 90.03 kB / 416.8 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.04557, allocations: 222.1 kB / 417 MB, free: 10.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.814e-06/0.04557, allocations: 0 / 417 MB, free: 10.15 MB / 394.7 MB Notification: Performance of Templates: time 0.01484/0.06041, allocations: 10.73 MB / 427.7 MB, free: 15.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.766443178988993]