Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 113 kB / 19.04 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 201.9 kB / 22.22 MB, free: 52 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 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.1781/0.1781, allocations: 38.51 MB / 344.4 MB, free: 2.543 MB / 270.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.89 kB / 482 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3414, allocations: 61.25 MB / 0.5306 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005339/0.3468, allocations: 4.629 MB / 0.5351 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.3488, allocations: 1.426 MB / 0.5365 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.349, allocations: 13.56 kB / 0.5365 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000823/0.3499, allocations: 305.8 kB / 0.5368 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004842/0.3503, allocations: 284.4 kB / 0.537 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000566/0.3509, allocations: 260.2 kB / 0.5373 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.3515, allocations: 0.647 MB / 0.5379 GB, free: 264 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002866/0.3518, allocations: 186 kB / 0.5381 GB, free: 136 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.3521, allocations: 300.9 kB / 0.5384 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.3527, allocations: 444.8 kB / 0.5388 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.3528, allocations: 44.28 kB / 0.5389 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.3533, allocations: 237.2 kB / 0.5391 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.3536, allocations: 250.1 kB / 0.5393 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.3539, allocations: 289.4 kB / 0.5396 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009133/0.3548, allocations: 0.7526 MB / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3548, allocations: 1.281 kB / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3548, allocations: 0 / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3548, allocations: 0 / 0.5403 GB, free: 14.77 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.001629/0.3564, allocations: 0.9051 MB / 0.5412 GB, free: 14.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3565, allocations: 14.23 kB / 0.5412 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.357, allocations: 95.31 kB / 0.5413 GB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007076/0.3577, allocations: 443.1 kB / 0.5417 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3578, allocations: 28.94 kB / 0.5418 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.3579, allocations: 47.95 kB / 0.5418 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.3592, allocations: 0.8587 MB / 0.5427 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.3592, allocations: 0 / 0.5427 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.3592, allocations: 19.56 kB / 0.5427 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.3594, allocations: 61.27 kB / 0.5427 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.3606, allocations: 0.8044 MB / 0.5435 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003832/0.3644, allocations: 2.709 MB / 0.5462 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.3653, allocations: 494.7 kB / 0.5466 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.3658, allocations: 363.8 kB / 0.547 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.427e-05/0.3659, allocations: 8.391 kB / 0.547 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3659, allocations: 40.62 kB / 0.547 GB, free: 9.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.284e-06/0.3659, allocations: 0 / 0.547 GB, free: 9.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=57): time 0.00337/0.3693, allocations: 1.892 MB / 0.5489 GB, free: 8.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.3694, allocations: 141.9 kB / 0.549 GB, free: 8.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.3697, allocations: 297.4 kB / 0.5493 GB, free: 8.652 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.3698, allocations: 33.36 kB / 0.5493 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.37, allocations: 261.9 kB / 0.5496 GB, free: 8.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.3702, allocations: 202.2 kB / 0.5498 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.3704, allocations: 99.53 kB / 0.5499 GB, free: 8.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.3706, allocations: 358.1 kB / 0.5502 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.371, allocations: 337.1 kB / 0.5505 GB, free: 7.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.3716, allocations: 487.8 kB / 0.551 GB, free: 7.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.3729, allocations: 0.9799 MB / 0.5519 GB, free: 6.168 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3729, allocations: 4 kB / 0.552 GB, free: 6.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001562/0.3744, allocations: 0.9845 MB / 0.5529 GB, free: 5.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.072e-05/0.3745, allocations: 78.16 kB / 0.553 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3745, allocations: 8 kB / 0.553 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002108/0.3747, allocations: 52.69 kB / 0.553 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.3751, allocations: 87.83 kB / 0.5531 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.3767, allocations: 1.543 MB / 0.5546 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.3771, allocations: 35.97 kB / 0.5547 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-05/0.3772, allocations: 27.98 kB / 0.5547 GB, free: 3.188 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004862/0.3777, allocations: 303.2 kB / 0.555 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3778, allocations: 55.78 kB / 0.555 GB, free: 2.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3795, allocations: 1.076 MB / 0.5561 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/0.3796, allocations: 11.98 kB / 0.5561 GB, free: 1.711 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3796, allocations: 4 kB / 0.5561 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3796, allocations: 0 / 0.5561 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.3823, allocations: 1.792 MB / 0.5579 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3823, allocations: 0 / 0.5579 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.3826, allocations: 63.89 kB / 0.5579 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.3827, allocations: 32.83 kB / 0.558 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/0.3828, allocations: 12.14 kB / 0.558 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.3842, allocations: 1.559 MB / 0.5595 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3842, allocations: 0 / 0.5595 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.3859, allocations: 1.175 MB / 0.5606 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.3861, allocations: 176.8 kB / 0.5608 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.3862, allocations: 16 kB / 0.5608 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3865, allocations: 23.97 kB / 0.5608 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3866, allocations: 55.75 kB / 0.5609 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.3867, allocations: 20 kB / 0.5609 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.3869, allocations: 203.1 kB / 0.5611 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3869, allocations: 0 / 0.5611 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006544/0.3876, allocations: 143.9 kB / 0.5612 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000303/0.3879, allocations: 147.2 kB / 0.5614 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.3898, allocations: 1.143 MB / 0.5625 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3898, allocations: 0 / 0.5625 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.3908, allocations: 0.6986 MB / 0.5632 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.3914, allocations: 84.72 kB / 0.5633 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.3936, allocations: 1.408 MB / 0.5646 GB, free: 8.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005975/0.3942, allocations: 0.8976 MB / 0.5655 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002785/0.3945, allocations: 103.2 kB / 0.5656 GB, free: 7.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.3946, allocations: 35.42 kB / 0.5656 GB, free: 7.547 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3946, allocations: 0 / 0.5656 GB, free: 7.547 MB / 414.1 MB Notification: Performance of Templates: time 0.01278/0.4074, allocations: 6.377 MB / 0.5719 GB, free: 1.203 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.826958856545389]