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.0009505/0.0009505, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001233/0.001233, allocations: 173.3 kB / 24.92 MB, free: 9.188 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2682/0.2682, allocations: 29.42 MB / 291.2 MB, free: 2.414 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.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: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.824e-05, allocations: 5.641 kB / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007252/0.00728, allocations: 5.064 MB / 321.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.01005, allocations: 1.979 MB / 323.9 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002346/0.01029, allocations: 27.75 kB / 323.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.01084, allocations: 202.7 kB / 324.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004908/0.01133, allocations: 389.8 kB / 324.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.01198, allocations: 418.6 kB / 324.9 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006785/0.01266, allocations: 0.9548 MB / 325.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003977/0.01305, allocations: 442.2 kB / 326.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.0136, allocations: 0.6 MB / 326.9 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004071/0.014, allocations: 466.8 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.01406, allocations: 56 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.01437, allocations: 243.5 kB / 327.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002737/0.01465, allocations: 443 kB / 328 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002227/0.01487, allocations: 295.3 kB / 328.3 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006222/0.01549, allocations: 0.7786 MB / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.01549, allocations: 0 / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01549, allocations: 0 / 329.1 MB, free: 3.656 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.0155, allocations: 0 / 329.1 MB, free: 3.656 MB / 298.7 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.0009384/0.01644, allocations: 0.9426 MB / 330.1 MB, free: 2.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.01648, allocations: 11.98 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005767/0.01705, allocations: 224.6 kB / 330.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.01751, allocations: 448.8 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.01755, allocations: 58.38 kB / 330.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.01762, allocations: 80.31 kB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006295/0.01825, allocations: 0.7542 MB / 331.6 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.01828, allocations: 15.88 kB / 331.6 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.01832, allocations: 32 kB / 331.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.238e-05/0.01837, allocations: 57.98 kB / 331.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.01872, allocations: 317.3 kB / 332 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.02128, allocations: 4.19 MB / 336.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.02154, allocations: 198.7 kB / 336.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.02162, allocations: 78.44 kB / 336.5 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.02165, allocations: 8 kB / 336.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.02167, allocations: 50.27 kB / 336.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.02168, allocations: 0 / 336.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006271/0.0223, allocations: 437.9 kB / 337 MB, free: 11.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.02235, allocations: 93.09 kB / 337.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.02258, allocations: 422.7 kB / 337.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.0226, allocations: 33.7 kB / 337.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.02277, allocations: 435.8 kB / 337.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.02285, allocations: 170.6 kB / 338.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.02296, allocations: 142.5 kB / 338.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.02306, allocations: 366.7 kB / 338.6 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.02314, allocations: 65.97 kB / 338.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.02339, allocations: 471.6 kB / 339.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004241/0.02382, allocations: 0.6396 MB / 339.8 MB, free: 8.172 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.02382, allocations: 4 kB / 339.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004516/0.02427, allocations: 0.5063 MB / 340.3 MB, free: 7.656 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.02429, allocations: 11.94 kB / 340.3 MB, free: 7.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.0243, allocations: 16 kB / 340.3 MB, free: 7.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.02432, allocations: 19.98 kB / 340.3 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.02466, allocations: 199.6 kB / 340.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.02468, allocations: 27.86 kB / 340.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.02485, allocations: 35.95 kB / 340.6 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.02489, allocations: 36 kB / 340.6 MB, free: 7.316 MB / 314.7 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.0001412/0.02503, allocations: 172.4 kB / 340.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.02507, allocations: 39.97 kB / 340.8 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.02538, allocations: 292 kB / 341.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.02539, allocations: 8 kB / 341.1 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.02539, allocations: 0 / 341.1 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.0254, allocations: 3.984 kB / 341.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007745/0.02617, allocations: 0.8083 MB / 341.9 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02618, allocations: 0 / 341.9 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.02637, allocations: 99.89 kB / 342 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.02637, allocations: 4 kB / 342 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.02639, allocations: 8 kB / 342 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.02639, allocations: 7.984 kB / 342 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.0264, allocations: 11.94 kB / 342 MB, free: 5.797 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.02667, allocations: 399.6 kB / 342.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.02671, allocations: 55.61 kB / 342.5 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.02674, allocations: 8 kB / 342.5 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.02684, allocations: 12 kB / 342.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.02689, allocations: 35.88 kB / 342.5 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.0269, allocations: 12 kB / 342.6 MB, free: 5.238 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.872e-05/0.027, allocations: 160.7 kB / 342.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.027, allocations: 0 / 342.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.02735, allocations: 164 kB / 342.9 MB, free: 4.922 MB / 314.7 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 9.038e-05/0.02744, allocations: 92.23 kB / 343 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.02774, allocations: 354.2 kB / 343.3 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.02776, allocations: 8.5 kB / 343.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.02787, allocations: 137.5 kB / 343.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.02823, allocations: 124.3 kB / 343.6 MB, free: 4.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.02964, allocations: 1.196 MB / 344.8 MB, free: 2.953 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.02978, allocations: 210 kB / 345 MB, free: 2.727 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.02995, allocations: 85.06 kB / 345.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.03014, allocations: 151.3 kB / 345.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.03014, allocations: 0 / 345.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of Templates: time 0.008303/0.03844, allocations: 5.825 MB / 351 MB, free: 12.78 MB / 330.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.002109920140356]