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.001351/0.001351, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001283/0.001283, 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 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.625 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.2376/0.2376, allocations: 29.42 MB / 290.9 MB, free: 2.531 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.004e-06/2.004e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.448e-05/3.648e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008351/0.008387, allocations: 5.225 MB / 374.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.01308, allocations: 1.539 MB / 376.4 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.01372, allocations: 35.75 kB / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007035/0.01442, allocations: 130.9 kB / 376.6 MB, free: 4.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.01544, allocations: 369.8 kB / 376.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.01612, allocations: 327.4 kB / 377.2 MB, free: 3.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.01723, allocations: 1.344 MB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.01759, allocations: 225.2 kB / 378.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.01859, allocations: 0.7132 MB / 379.5 MB, free: 1.086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.01924, allocations: 0.534 MB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.01936, allocations: 92 kB / 380.1 MB, free: 472 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.01948, allocations: 92 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003107/0.01979, allocations: 371.1 kB / 380.6 MB, free: 8 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.0201, allocations: 307.3 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008595/0.02096, allocations: 0.7206 MB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02097, allocations: 0 / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.02097, allocations: 3.938 kB / 381.6 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.02099, allocations: 0 / 381.6 MB, free: 14.98 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.001977/0.02296, allocations: 1.212 MB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.02301, allocations: 15.92 kB / 382.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.02323, allocations: 148.4 kB / 383 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.02424, allocations: 0.6113 MB / 383.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004617/0.02471, allocations: 0.7214 MB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.02481, allocations: 60.38 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.02586, allocations: 0.6546 MB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.02587, allocations: 3.938 kB / 385 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/0.02593, allocations: 20 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.02595, allocations: 16 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008805/0.02683, allocations: 393.6 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.03011, allocations: 2.839 MB / 388.3 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.03077, allocations: 333.1 kB / 388.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.03121, allocations: 223.7 kB / 388.8 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.03126, allocations: 8.5 kB / 388.8 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006426/0.0319, allocations: 358.9 kB / 389.2 MB, free: 6.969 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.265e-06/0.0319, allocations: 0 / 389.2 MB, free: 6.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001342/0.03324, allocations: 0.5981 MB / 389.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.03331, allocations: 148.8 kB / 389.9 MB, free: 6.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.03363, allocations: 398.6 kB / 390.3 MB, free: 5.785 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.03368, allocations: 41.7 kB / 390.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.03388, allocations: 343.6 kB / 390.7 MB, free: 5.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.03401, allocations: 178.5 kB / 390.9 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.03419, allocations: 120 kB / 391 MB, free: 5.094 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.03435, allocations: 0.5274 MB / 391.5 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.03469, allocations: 214.9 kB / 391.7 MB, free: 4.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004015/0.03509, allocations: 364.6 kB / 392.1 MB, free: 3.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.03571, allocations: 463.4 kB / 392.5 MB, free: 3.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.03572, allocations: 0 / 392.5 MB, free: 3.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000992/0.03671, allocations: 0.6718 MB / 393.2 MB, free: 2.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.03676, allocations: 49.67 kB / 393.3 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.03677, allocations: 4 kB / 393.3 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.03692, allocations: 28 kB / 393.3 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/0.03945, allocations: 0.7256 MB / 394 MB, free: 1.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.04328, allocations: 5.663 MB / 399.7 MB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.04372, allocations: 91.66 kB / 399.8 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.04379, allocations: 35.98 kB / 399.8 MB, free: 11.74 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.00027/0.04406, allocations: 198.4 kB / 400 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.04417, allocations: 63.72 kB / 400.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008508/0.04502, allocations: 490.1 kB / 400.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.04502, allocations: 8 kB / 400.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.04503, allocations: 0 / 400.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.04503, allocations: 0 / 400.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.04674, allocations: 1.36 MB / 401.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.04674, allocations: 4 kB / 401.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003047/0.04979, allocations: 0.8505 MB / 402.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.791e-05/0.04988, allocations: 23.67 kB / 402.8 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.04993, allocations: 15.98 kB / 402.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009396/0.05087, allocations: 1.728 MB / 404.5 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.05087, allocations: 4 kB / 404.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.05208, allocations: 0.8311 MB / 405.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.05231, allocations: 123.5 kB / 405.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.05239, allocations: 27.98 kB / 405.5 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.05271, allocations: 56 kB / 405.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.05291, allocations: 111.7 kB / 405.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.05295, allocations: 23.92 kB / 405.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001891/0.05314, allocations: 247.1 kB / 405.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05314, allocations: 0 / 405.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006106/0.05375, allocations: 191.7 kB / 406.1 MB, free: 5.152 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.0001625/0.05391, allocations: 138 kB / 406.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003065/0.05698, allocations: 1.29 MB / 407.6 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.05698, allocations: 7.938 kB / 407.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.05841, allocations: 0.6123 MB / 408.2 MB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006135/0.05902, allocations: 129.3 kB / 408.3 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.06187, allocations: 1.348 MB / 409.6 MB, free: 1.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.06201, allocations: 173.9 kB / 409.8 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003645/0.06238, allocations: 116.4 kB / 409.9 MB, free: 1.199 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.06254, allocations: 40.5 kB / 410 MB, free: 1.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.06255, allocations: 0 / 410 MB, free: 1.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01525/0.07779, allocations: 8.546 MB / 418.5 MB, free: 8.715 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.287497043143958]