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.000821/0.000821, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009511/0.0009511, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.633 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.2405/0.2405, allocations: 29.42 MB / 290.9 MB, free: 2.438 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.695e-06/2.695e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.369e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005437/0.00547, allocations: 5.086 MB / 374.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.008843, allocations: 1.948 MB / 376.7 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003429/0.009186, allocations: 31.75 kB / 376.7 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006606/0.009847, allocations: 198.8 kB / 376.9 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005803/0.01043, allocations: 389.8 kB / 377.3 MB, free: 3.301 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008488/0.01128, allocations: 418.6 kB / 377.7 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000748/0.01202, allocations: 0.9586 MB / 378.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/0.01252, allocations: 388.3 kB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.01321, allocations: 0.5571 MB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008039/0.01402, allocations: 0.5143 MB / 380.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.424e-05/0.01409, allocations: 60 kB / 380.1 MB, free: 428 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.01455, allocations: 247.5 kB / 380.4 MB, free: 180 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003195/0.01487, allocations: 446.9 kB / 380.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.01512, allocations: 295.4 kB / 381.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.01587, allocations: 0.7825 MB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01587, allocations: 4 kB / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01588, allocations: 0 / 381.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.01589, allocations: 0 / 381.9 MB, free: 14.66 MB / 362.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.001286/0.01717, allocations: 1.122 MB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.01722, allocations: 11.98 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007783/0.018, allocations: 296.1 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006415/0.01864, allocations: 0.4963 MB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.01868, allocations: 54.38 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.51e-05/0.01877, allocations: 84.3 kB / 383.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.01965, allocations: 0.8712 MB / 384.8 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/0.01968, allocations: 11.88 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.01973, allocations: 35.98 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-05/0.01979, allocations: 45.98 kB / 384.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.02039, allocations: 427.2 kB / 385.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.02433, allocations: 5.873 MB / 391.2 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.02473, allocations: 250.5 kB / 391.4 MB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.02487, allocations: 111.4 kB / 391.6 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.02492, allocations: 8.688 kB / 391.6 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.02495, allocations: 41.39 kB / 391.6 MB, free: 4.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.056e-06/0.02495, allocations: 0 / 391.6 MB, free: 4.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001115/0.02607, allocations: 0.7645 MB / 392.4 MB, free: 3.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.02611, allocations: 89.22 kB / 392.5 MB, free: 3.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.02647, allocations: 0.51 MB / 393 MB, free: 3.035 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.02649, allocations: 29.7 kB / 393 MB, free: 3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.02673, allocations: 0.5097 MB / 393.5 MB, free: 2.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.882e-05/0.02681, allocations: 170.6 kB / 393.7 MB, free: 2.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.02696, allocations: 156.2 kB / 393.8 MB, free: 2.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.02735, allocations: 0.543 MB / 394.4 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.0275, allocations: 105.9 kB / 394.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.02791, allocations: 0.6575 MB / 395.1 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.02855, allocations: 0.8499 MB / 396 MB, free: 15.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02856, allocations: 4 kB / 396 MB, free: 15.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007405/0.0293, allocations: 0.6737 MB / 396.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.02933, allocations: 22.53 kB / 396.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.02934, allocations: 12 kB / 396.7 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.02937, allocations: 20 kB / 396.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.02979, allocations: 219.6 kB / 396.9 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.02981, allocations: 23.92 kB / 396.9 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.03005, allocations: 55.91 kB / 397 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.03009, allocations: 43.94 kB / 397 MB, free: 14.42 MB / 378.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.0001618/0.03025, allocations: 216.2 kB / 397.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.964e-05/0.03032, allocations: 75.59 kB / 397.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005072/0.03083, allocations: 379.1 kB / 397.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.03084, allocations: 11.98 kB / 397.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.03084, allocations: 0 / 397.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.03085, allocations: 3.984 kB / 397.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.03203, allocations: 1.05 MB / 398.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.03204, allocations: 0 / 398.8 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.03228, allocations: 115.9 kB / 398.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.03229, allocations: 4 kB / 398.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.03231, allocations: 8 kB / 398.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.03231, allocations: 4 kB / 398.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.03232, allocations: 7.938 kB / 398.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.03281, allocations: 0.5794 MB / 399.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.03286, allocations: 51.67 kB / 399.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.0329, allocations: 11.94 kB / 399.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.03303, allocations: 23.97 kB / 399.6 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.03308, allocations: 39.88 kB / 399.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.0331, allocations: 16 kB / 399.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.03329, allocations: 291 kB / 399.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03329, allocations: 0 / 399.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004687/0.03376, allocations: 164 kB / 400.1 MB, free: 11.25 MB / 378.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 0.0001487/0.0339, allocations: 103.1 kB / 400.2 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007761/0.03468, allocations: 429.5 kB / 400.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.03468, allocations: 0 / 400.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.03486, allocations: 160.4 kB / 400.7 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.03532, allocations: 116.1 kB / 400.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.03711, allocations: 1.243 MB / 402.1 MB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.03725, allocations: 218 kB / 402.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002985/0.03754, allocations: 184.9 kB / 402.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.03765, allocations: 52.48 kB / 402.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.03765, allocations: 0 / 402.5 MB, free: 8.664 MB / 378.7 MB Notification: Performance of Templates: time 0.008221/0.04587, allocations: 5.447 MB / 408 MB, free: 3.332 MB / 378.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.176492840051651]