Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001033/0.001033, allocations: 87.56 kB / 21.19 MB, free: 3.402 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.0009859/0.0009859, allocations: 161 kB / 24.56 MB, free: 40 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.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.637 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.3369/0.3369, allocations: 29.42 MB / 290.9 MB, free: 2.52 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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.206e-05, allocations: 6.25 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.005312/0.005334, allocations: 5.521 MB / 375.2 MB, free: 5.449 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.007726, allocations: 1.321 MB / 376.5 MB, free: 4.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.008211, allocations: 35.69 kB / 376.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.008585, allocations: 123 kB / 376.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.009587, allocations: 433.5 kB / 377.1 MB, free: 3.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.01015, allocations: 255.5 kB / 377.3 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001209/0.01136, allocations: 1.125 MB / 378.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.0117, allocations: 250.2 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009882/0.01269, allocations: 0.7169 MB / 379.4 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006818/0.01337, allocations: 486.7 kB / 379.9 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.0135, allocations: 64 kB / 379.9 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.01363, allocations: 64 kB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.0139, allocations: 351.1 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002579/0.01416, allocations: 275.4 kB / 380.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.01483, allocations: 0.6149 MB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01483, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01483, allocations: 0 / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.01485, allocations: 0 / 381.2 MB, free: 15.37 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001495/0.01635, allocations: 1.18 MB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.01639, allocations: 15.98 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.01657, allocations: 136.4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007113/0.01728, allocations: 0.5369 MB / 383.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.01743, allocations: 216.1 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.01752, allocations: 68.36 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.01831, allocations: 0.6074 MB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01833, allocations: 0 / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.01837, allocations: 24 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.96e-05/0.01846, allocations: 45.28 kB / 384.1 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.01888, allocations: 255.4 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.02126, allocations: 2.716 MB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.0219, allocations: 399.1 kB / 387.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/0.02216, allocations: 163.9 kB / 387.6 MB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.02218, allocations: 4.328 kB / 387.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002918/0.02247, allocations: 233 kB / 387.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.084e-06/0.02248, allocations: 0 / 387.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.001758/0.02423, allocations: 1.136 MB / 388.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.02429, allocations: 114.8 kB / 389 MB, free: 7.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.02463, allocations: 470.5 kB / 389.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.02466, allocations: 41.64 kB / 389.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.02487, allocations: 419.1 kB / 390 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.02496, allocations: 150.8 kB / 390.1 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.02508, allocations: 123.9 kB / 390.2 MB, free: 5.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.02524, allocations: 0.5508 MB / 390.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.02542, allocations: 146.9 kB / 390.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.02568, allocations: 377.5 kB / 391.3 MB, free: 4.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.02609, allocations: 490.2 kB / 391.8 MB, free: 4.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.0261, allocations: 4 kB / 391.8 MB, free: 4.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006734/0.02677, allocations: 0.6363 MB / 392.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.02681, allocations: 53.69 kB / 392.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.02682, allocations: 4 kB / 392.5 MB, free: 3.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.02702, allocations: 63.69 kB / 392.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.02724, allocations: 107.8 kB / 392.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.02906, allocations: 3.81 MB / 396.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.02923, allocations: 23.98 kB / 396.5 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.02929, allocations: 43.97 kB / 396.5 MB, free: 15.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$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): 63 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001657/0.02945, allocations: 204.5 kB / 396.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.02952, allocations: 79.59 kB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.02999, allocations: 381.4 kB / 397.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.03, allocations: 8 kB / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.03001, allocations: 4 kB / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.03001, allocations: 0 / 397.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.03108, allocations: 1.104 MB / 398.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.03109, allocations: 4.062 kB / 398.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.03125, allocations: 63.91 kB / 398.3 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.03142, allocations: 67.3 kB / 398.4 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.03146, allocations: 23.92 kB / 398.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.03301, allocations: 3.798 MB / 402.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03302, allocations: 0 / 402.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.03367, allocations: 0.6483 MB / 402.9 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.03377, allocations: 91.62 kB / 403 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.03383, allocations: 23.98 kB / 403 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.03398, allocations: 32 kB / 403 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.03405, allocations: 35.88 kB / 403.1 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.03407, allocations: 15.98 kB / 403.1 MB, free: 8.199 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000201/0.03428, allocations: 291 kB / 403.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03428, allocations: 0 / 403.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004406/0.03472, allocations: 148 kB / 403.5 MB, free: 7.773 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%), (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.0001407/0.03486, allocations: 130.5 kB / 403.6 MB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007732/0.03563, allocations: 0.7939 MB / 404.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.03563, allocations: 448 / 404.4 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.036, allocations: 495.2 kB / 404.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.03647, allocations: 134 kB / 405 MB, free: 6.133 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.03832, allocations: 1.254 MB / 406.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.03846, allocations: 189.8 kB / 406.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.03863, allocations: 84.62 kB / 406.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.114e-05/0.03871, allocations: 40.48 kB / 406.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.03871, allocations: 0 / 406.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of Templates: time 0.009853/0.04857, allocations: 7.133 MB / 413.7 MB, free: 13.48 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2271285066381097]