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.001325/0.001325, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001625/0.001625, allocations: 168.5 kB / 25.61 MB, free: 8.582 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 0.9191/0.9191, allocations: 177.1 MB / 206 MB, free: 4.473 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.1199/0.1199, allocations: 29.42 MB / 292 MB, free: 2.629 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.172e-06/1.172e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.26e-05, allocations: 5.266 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.003926/0.003939, allocations: 5.479 MB / 376.4 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.005462, allocations: 1.305 MB / 377.7 MB, free: 25.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.005706, allocations: 35.69 kB / 377.7 MB, free: 25.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.005954, allocations: 127 kB / 377.8 MB, free: 25.35 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.00657, allocations: 429.5 kB / 378.2 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.006922, allocations: 247.4 kB / 378.5 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006711/0.007593, allocations: 1.141 MB / 379.6 MB, free: 23.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.00784, allocations: 254.1 kB / 379.9 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005658/0.008406, allocations: 0.7209 MB / 380.6 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.008813, allocations: 482.7 kB / 381.1 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.035e-05/0.008874, allocations: 64 kB / 381.1 MB, free: 22.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.288e-05/0.008946, allocations: 60 kB / 381.2 MB, free: 21.97 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.009114, allocations: 355.1 kB / 381.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.00928, allocations: 279.3 kB / 381.8 MB, free: 21.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.009667, allocations: 0.6073 MB / 382.4 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.00967, allocations: 0 / 382.4 MB, free: 20.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.00967, allocations: 4 kB / 382.4 MB, free: 20.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.009678, allocations: 0 / 382.4 MB, free: 20.73 MB / 314.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.0009217/0.0106, allocations: 1.152 MB / 383.6 MB, free: 19.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01064, allocations: 8.031 kB / 383.6 MB, free: 19.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.01076, allocations: 140.4 kB / 383.7 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.01119, allocations: 0.5252 MB / 384.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.01126, allocations: 216.1 kB / 384.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.01132, allocations: 64.31 kB / 384.5 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004598/0.01178, allocations: 0.5683 MB / 385.1 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.01179, allocations: 4 kB / 385.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.01183, allocations: 27.98 kB / 385.1 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.01188, allocations: 25.31 kB / 385.1 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.01211, allocations: 200.8 kB / 385.3 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.01358, allocations: 2.684 MB / 388 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.01399, allocations: 345.2 kB / 388.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.01414, allocations: 136.5 kB / 388.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.01416, allocations: 8.328 kB / 388.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.01434, allocations: 225 kB / 388.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.733e-06/0.01434, allocations: 4 kB / 388.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.00108/0.01542, allocations: 0.7908 MB / 389.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.01545, allocations: 110.8 kB / 389.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01565, allocations: 470.3 kB / 390.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.01567, allocations: 41.77 kB / 390.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.01579, allocations: 427 kB / 390.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.01585, allocations: 150.8 kB / 390.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.485e-05/0.01595, allocations: 127.9 kB / 390.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.01601, allocations: 0.5506 MB / 391.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.0161, allocations: 114.9 kB / 391.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.01624, allocations: 353.4 kB / 391.8 MB, free: 10.78 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.01647, allocations: 450.1 kB / 392.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01647, allocations: 4 kB / 392.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004467/0.01691, allocations: 0.5775 MB / 392.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.01694, allocations: 50.28 kB / 392.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01695, allocations: 4 kB / 392.9 MB, free: 9.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.01709, allocations: 59.34 kB / 392.9 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.01728, allocations: 107.8 kB / 393 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009186/0.0182, allocations: 3.733 MB / 396.8 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01834, allocations: 24.16 kB / 396.8 MB, free: 5.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/0.01838, allocations: 43.97 kB / 396.8 MB, free: 5.371 MB / 314.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.0001163/0.0185, allocations: 204.5 kB / 397 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.01855, allocations: 67.61 kB / 397.1 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000356/0.0189, allocations: 365.4 kB / 397.5 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01891, allocations: 4 kB / 397.5 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01891, allocations: 11.88 kB / 397.5 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01892, allocations: 0 / 397.5 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.0196, allocations: 0.9681 MB / 398.5 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.0196, allocations: 0 / 398.5 MB, free: 3.684 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.01973, allocations: 55.91 kB / 398.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001312/0.01986, allocations: 67.33 kB / 398.6 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.01989, allocations: 15.98 kB / 398.6 MB, free: 3.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008859/0.02077, allocations: 3.721 MB / 402.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.02077, allocations: 7.984 kB / 402.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005449/0.02132, allocations: 0.6054 MB / 402.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.02146, allocations: 83.61 kB / 403 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.703e-05/0.02152, allocations: 27.98 kB / 403 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.02166, allocations: 23.97 kB / 403.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.02171, allocations: 27.95 kB / 403.1 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.02173, allocations: 15.98 kB / 403.1 MB, free: 14.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.02187, allocations: 274.9 kB / 403.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02187, allocations: 0 / 403.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003738/0.02224, allocations: 148 kB / 403.5 MB, free: 14.35 MB / 330.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.0001152/0.02236, allocations: 129.4 kB / 403.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006324/0.02299, allocations: 0.7506 MB / 404.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.02299, allocations: 0 / 404.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.02331, allocations: 475.2 kB / 404.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.02372, allocations: 149.1 kB / 405 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.02528, allocations: 1.245 MB / 406.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.02541, allocations: 185.8 kB / 406.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.02556, allocations: 72.66 kB / 406.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.02583, allocations: 186.1 kB / 406.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02584, allocations: 0 / 406.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of Templates: time 0.009029/0.03486, allocations: 7.399 MB / 414.1 MB, free: 3.754 MB / 330.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.1206419188529253]