Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.001914/0.001914, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002383/0.002383, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2043/0.2043, allocations: 38.55 MB / 352.5 MB, free: 12.33 MB / 286.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.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.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00305/0.00305, allocations: 60.19 kB / 492.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.39, allocations: 62.48 MB / 0.5424 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009092/0.3991, allocations: 5.825 MB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.4036, allocations: 1.885 MB / 0.5499 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.4043, allocations: 30.94 kB / 0.55 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002289/0.4066, allocations: 0.6775 MB / 0.5506 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.408, allocations: 380 kB / 0.551 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.4096, allocations: 411.8 kB / 0.5514 GB, free: 9.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001768/0.4114, allocations: 0.9409 MB / 0.5523 GB, free: 8.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008995/0.4123, allocations: 393.6 kB / 0.5527 GB, free: 8.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.4135, allocations: 449.7 kB / 0.5531 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.4149, allocations: 0.553 MB / 0.5536 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.415, allocations: 57.31 kB / 0.5537 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007598/0.4158, allocations: 235.4 kB / 0.5539 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.4163, allocations: 426.7 kB / 0.5543 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005212/0.4168, allocations: 356.7 kB / 0.5547 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.4183, allocations: 1.036 MB / 0.5557 GB, free: 6.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4183, allocations: 4 kB / 0.5557 GB, free: 6.613 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4183, allocations: 0 / 0.5557 GB, free: 6.613 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.4183, allocations: 3.938 kB / 0.5557 GB, free: 6.609 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00211/0.4204, allocations: 1.022 MB / 0.5567 GB, free: 5.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.241e-05/0.4205, allocations: 11.98 kB / 0.5567 GB, free: 5.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.4217, allocations: 204.2 kB / 0.5569 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.4229, allocations: 486.2 kB / 0.5574 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.4229, allocations: 62.36 kB / 0.5574 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.4231, allocations: 80.11 kB / 0.5575 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4249, allocations: 1.126 MB / 0.5586 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.157e-05/0.4249, allocations: 7.938 kB / 0.5586 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.425, allocations: 35.98 kB / 0.5586 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.802e-05/0.4251, allocations: 53.98 kB / 0.5587 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.4266, allocations: 0.8584 MB / 0.5595 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005601/0.4322, allocations: 4.715 MB / 0.5641 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/0.4329, allocations: 392.1 kB / 0.5645 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.4332, allocations: 209.5 kB / 0.5647 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.4333, allocations: 7.984 kB / 0.5647 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4333, allocations: 38.56 kB / 0.5648 GB, free: 12.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 3.407e-06/0.4333, allocations: 0 / 0.5648 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002072/0.4354, allocations: 1.082 MB / 0.5658 GB, free: 11.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4354, allocations: 81.11 kB / 0.5659 GB, free: 11.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006015/0.436, allocations: 497.4 kB / 0.5664 GB, free: 11.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.4361, allocations: 37.64 kB / 0.5664 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.4365, allocations: 471.2 kB / 0.5668 GB, free: 10.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4366, allocations: 166.6 kB / 0.567 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.4368, allocations: 154.5 kB / 0.5672 GB, free: 10.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.437, allocations: 366.8 kB / 0.5675 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.4374, allocations: 237.8 kB / 0.5677 GB, free: 9.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.4381, allocations: 0.6168 MB / 0.5683 GB, free: 9.016 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.4393, allocations: 0.9339 MB / 0.5692 GB, free: 7.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.4393, allocations: 4 kB / 0.5692 GB, free: 7.895 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001392/0.4407, allocations: 0.9003 MB / 0.5701 GB, free: 6.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4407, allocations: 12 kB / 0.5701 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.4408, allocations: 12 kB / 0.5701 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/0.4408, allocations: 20 kB / 0.5702 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.4415, allocations: 219.6 kB / 0.5704 GB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.03e-05/0.4416, allocations: 27.92 kB / 0.5704 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004516/0.442, allocations: 51.92 kB / 0.5705 GB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.4421, allocations: 44.08 kB / 0.5705 GB, free: 6.609 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004116/0.4425, allocations: 305.7 kB / 0.5708 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/0.4426, allocations: 55.66 kB / 0.5708 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.4436, allocations: 0.5562 MB / 0.5714 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4436, allocations: 11.94 kB / 0.5714 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4436, allocations: 0 / 0.5714 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4436, allocations: 3.984 kB / 0.5714 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.4457, allocations: 1.161 MB / 0.5725 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4457, allocations: 4 kB / 0.5725 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004469/0.4462, allocations: 111.9 kB / 0.5726 GB, free: 4.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.4462, allocations: 4 kB / 0.5726 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.4462, allocations: 15.98 kB / 0.5727 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.4462, allocations: 7.938 kB / 0.5727 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.4462, allocations: 3.938 kB / 0.5727 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008598/0.4471, allocations: 0.6462 MB / 0.5733 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.4472, allocations: 55.62 kB / 0.5734 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.4472, allocations: 11.98 kB / 0.5734 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.4475, allocations: 23.92 kB / 0.5734 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.4476, allocations: 39.72 kB / 0.5734 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4476, allocations: 23.94 kB / 0.5735 GB, free: 3.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003639/0.448, allocations: 307.1 kB / 0.5737 GB, free: 3.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.448, allocations: 0 / 0.5737 GB, free: 3.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007073/0.4487, allocations: 160 kB / 0.5739 GB, free: 3 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.4488, allocations: 123 kB / 0.574 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009414/0.4498, allocations: 0.5725 MB / 0.5746 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4498, allocations: 0 / 0.5746 GB, free: 2.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.4501, allocations: 219.6 kB / 0.5748 GB, free: 2.082 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.4508, allocations: 123.8 kB / 0.5749 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.4531, allocations: 1.373 MB / 0.5762 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.4536, allocations: 402.8 kB / 0.5766 GB, free: 120 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005405/0.4541, allocations: 229 kB / 0.5768 GB, free: 15.89 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.4543, allocations: 51.38 kB / 0.5769 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4543, allocations: 3.938 kB / 0.5769 GB, free: 15.84 MB / 430.1 MB Notification: Performance of Templates: time 0.01343/0.4677, allocations: 6.345 MB / 0.5831 GB, free: 9.594 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.332143854349852] Failed to read output from testmodel.py, exit status != 0: 0.4796165470033884 0.49270028000000005 0.07109296500000001 Calling exit ...