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.001655/0.001655, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001437/0.001437, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.2142/0.2142, allocations: 38.52 MB / 353.2 MB, free: 12.53 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.002207/0.002207, allocations: 66.56 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3297, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007975/0.3377, allocations: 6.279 MB / 0.5493 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.3415, allocations: 2.026 MB / 0.5513 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.3419, allocations: 29.56 kB / 0.5513 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.3437, allocations: 0.7156 MB / 0.552 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009836/0.3447, allocations: 379.2 kB / 0.5524 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.3459, allocations: 411.3 kB / 0.5528 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.3473, allocations: 0.9376 MB / 0.5537 GB, free: 8.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006711/0.348, allocations: 401 kB / 0.5541 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.3488, allocations: 451.8 kB / 0.5545 GB, free: 7.836 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008545/0.3496, allocations: 0.5606 MB / 0.5551 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.921e-05/0.3497, allocations: 57.28 kB / 0.5551 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.3503, allocations: 265.4 kB / 0.5554 GB, free: 7.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.3507, allocations: 425.9 kB / 0.5558 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.3512, allocations: 428.9 kB / 0.5562 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.3525, allocations: 1.033 MB / 0.5572 GB, free: 6.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3525, allocations: 4 kB / 0.5572 GB, free: 6.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3525, allocations: 0 / 0.5572 GB, free: 6.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.3525, allocations: 0 / 0.5572 GB, free: 6.07 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.00192/0.3544, allocations: 1.025 MB / 0.5582 GB, free: 5.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3545, allocations: 15.98 kB / 0.5582 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009843/0.3555, allocations: 208.2 kB / 0.5584 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009917/0.3564, allocations: 482.2 kB / 0.5589 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.3565, allocations: 62.38 kB / 0.5589 GB, free: 4.238 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.3566, allocations: 80.12 kB / 0.559 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.3583, allocations: 1.126 MB / 0.5601 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.3583, allocations: 7.938 kB / 0.5601 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.3584, allocations: 35.98 kB / 0.5602 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.9e-05/0.3584, allocations: 49.98 kB / 0.5602 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.3599, allocations: 0.8701 MB / 0.5611 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005746/0.3657, allocations: 4.971 MB / 0.5659 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007243/0.3664, allocations: 396.8 kB / 0.5663 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.3667, allocations: 201.6 kB / 0.5665 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.3667, allocations: 11.98 kB / 0.5665 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.3668, allocations: 42.56 kB / 0.5665 GB, free: 12.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.836e-06/0.3668, allocations: 4 kB / 0.5665 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.002035/0.3688, allocations: 1.085 MB / 0.5676 GB, free: 11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.934e-05/0.3689, allocations: 85.11 kB / 0.5677 GB, free: 10.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.3695, allocations: 0.4901 MB / 0.5682 GB, free: 10.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3695, allocations: 33.7 kB / 0.5682 GB, free: 10.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.3699, allocations: 467.2 kB / 0.5686 GB, free: 9.898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.37, allocations: 170.6 kB / 0.5688 GB, free: 9.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3702, allocations: 146.6 kB / 0.5689 GB, free: 9.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.3704, allocations: 374.8 kB / 0.5693 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/0.3708, allocations: 237.8 kB / 0.5695 GB, free: 8.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.3715, allocations: 0.6207 MB / 0.5701 GB, free: 8.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3726, allocations: 0.9415 MB / 0.5711 GB, free: 7.043 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3726, allocations: 4 kB / 0.5711 GB, free: 7.039 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001355/0.374, allocations: 0.9004 MB / 0.5719 GB, free: 6.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.374, allocations: 8 kB / 0.5719 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/0.3741, allocations: 16 kB / 0.572 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/0.3741, allocations: 16 kB / 0.572 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.3748, allocations: 219.6 kB / 0.5722 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/0.3749, allocations: 27.92 kB / 0.5722 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.3753, allocations: 47.95 kB / 0.5723 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.3754, allocations: 40 kB / 0.5723 GB, free: 5.766 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.0004388/0.3758, allocations: 313.7 kB / 0.5726 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.3759, allocations: 55.62 kB / 0.5726 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000975/0.3769, allocations: 0.5601 MB / 0.5732 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3769, allocations: 8 kB / 0.5732 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3769, allocations: 0 / 0.5732 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3769, allocations: 3.938 kB / 0.5732 GB, free: 4.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.3791, allocations: 1.301 MB / 0.5745 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3791, allocations: 4.25 kB / 0.5745 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.3797, allocations: 111.9 kB / 0.5746 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.3797, allocations: 7.938 kB / 0.5746 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3798, allocations: 15.98 kB / 0.5746 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.3798, allocations: 4 kB / 0.5746 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3798, allocations: 7.938 kB / 0.5746 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.3811, allocations: 0.6421 MB / 0.5752 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3812, allocations: 55.62 kB / 0.5753 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3813, allocations: 19.86 kB / 0.5753 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.3817, allocations: 23.98 kB / 0.5753 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.991e-05/0.3818, allocations: 35.72 kB / 0.5754 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.3819, allocations: 16 kB / 0.5754 GB, free: 2.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004483/0.3823, allocations: 330.8 kB / 0.5757 GB, free: 2.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3823, allocations: 0 / 0.5757 GB, free: 2.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001229/0.3835, allocations: 160 kB / 0.5759 GB, free: 1.98 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.0001983/0.3837, allocations: 119.1 kB / 0.576 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.3852, allocations: 0.5803 MB / 0.5765 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3852, allocations: 0 / 0.5765 GB, free: 1.273 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.3857, allocations: 219.6 kB / 0.5767 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3868, allocations: 125.4 kB / 0.5769 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.3903, allocations: 1.445 MB / 0.5783 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/0.3913, allocations: 1.011 MB / 0.5793 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.3915, allocations: 55.44 kB / 0.5793 GB, free: 14.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3915, allocations: 0 / 0.5793 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Templates: time 0.01883/0.4104, allocations: 8.403 MB / 0.5875 GB, free: 5.941 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: 8.54183571995236] Failed to read output from testmodel.py, exit status != 0: 0.421586771029979 0.44630001900000005 0.08898794900000001 Calling exit ...