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.001167/0.001167, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001261/0.001261, allocations: 162.9 kB / 24.99 MB, free: 9.273 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 0.9961/0.9961, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2577/0.2577, allocations: 29.42 MB / 291.2 MB, free: 2.508 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 1.503e-06/1.503e-06, allocations: 0 / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.479e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.005513/0.005538, allocations: 6.157 MB / 375.8 MB, free: 5.137 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004393/0.009932, allocations: 1.955 MB / 377.7 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005244/0.01046, allocations: 31.75 kB / 377.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.01168, allocations: 0.7041 MB / 378.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007032/0.01238, allocations: 389.7 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009451/0.01333, allocations: 422.7 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.01426, allocations: 0.9547 MB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005106/0.01477, allocations: 392.3 kB / 380.6 MB, free: 308 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008279/0.0156, allocations: 0.5726 MB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005691/0.01617, allocations: 0.5104 MB / 381.7 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.957e-05/0.01623, allocations: 60 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.01666, allocations: 251.5 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.01697, allocations: 447 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.01721, allocations: 295.3 kB / 382.7 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007514/0.01796, allocations: 0.7786 MB / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.01796, allocations: 0 / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01797, allocations: 0 / 383.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.01798, allocations: 0 / 383.5 MB, free: 13.4 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.00147/0.01945, allocations: 1.126 MB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.0195, allocations: 19.97 kB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007613/0.02026, allocations: 288.1 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.02089, allocations: 0.504 MB / 385.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/0.02093, allocations: 58.38 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.02101, allocations: 72.38 kB / 385.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008846/0.02189, allocations: 0.879 MB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.02192, allocations: 7.875 kB / 386.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.02197, allocations: 36 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.02203, allocations: 49.98 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.02263, allocations: 423.2 kB / 386.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003583/0.02621, allocations: 5.877 MB / 392.8 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/0.02661, allocations: 250.2 kB / 393 MB, free: 3.352 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.02675, allocations: 115.4 kB / 393.1 MB, free: 3.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.02679, allocations: 20.61 kB / 393.2 MB, free: 3.211 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.02682, allocations: 45.39 kB / 393.2 MB, free: 3.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.455e-06/0.02682, allocations: 0 / 393.2 MB, free: 3.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001138/0.02796, allocations: 0.7567 MB / 394 MB, free: 2.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.028, allocations: 81.11 kB / 394 MB, free: 2.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.02837, allocations: 0.5099 MB / 394.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.0284, allocations: 37.7 kB / 394.6 MB, free: 1.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.02862, allocations: 0.5058 MB / 395.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.02872, allocations: 166.6 kB / 395.3 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.02885, allocations: 156.2 kB / 395.4 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.02901, allocations: 0.543 MB / 396 MB, free: 336 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.02916, allocations: 106 kB / 396.1 MB, free: 232 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003924/0.02955, allocations: 0.6693 MB / 396.7 MB, free: 15.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.03018, allocations: 0.8382 MB / 397.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.03018, allocations: 4 kB / 397.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007366/0.03092, allocations: 0.6774 MB / 398.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.03094, allocations: 15.94 kB / 398.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.03096, allocations: 12 kB / 398.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.84e-05/0.03103, allocations: 23.98 kB / 398.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.03144, allocations: 215.6 kB / 398.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.03147, allocations: 32.33 kB / 398.5 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.03172, allocations: 59.84 kB / 398.6 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.03175, allocations: 44 kB / 398.6 MB, free: 13.14 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.0001611/0.03192, allocations: 212.2 kB / 398.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.03198, allocations: 71.61 kB / 398.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000493/0.03248, allocations: 379.2 kB / 399.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.03248, allocations: 8 kB / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.03249, allocations: 0 / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.03249, allocations: 7.984 kB / 399.3 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.03361, allocations: 1.042 MB / 400.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.03361, allocations: 0 / 400.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.03384, allocations: 107.9 kB / 400.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.03384, allocations: 4 kB / 400.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.03386, allocations: 16.25 kB / 400.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.03387, allocations: 15.92 kB / 400.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.03387, allocations: 0 / 400.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.03433, allocations: 0.5792 MB / 401.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.03438, allocations: 51.59 kB / 401.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.03442, allocations: 16 kB / 401.1 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.03455, allocations: 15.98 kB / 401.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.0346, allocations: 39.88 kB / 401.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.03462, allocations: 19.98 kB / 401.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.0348, allocations: 291 kB / 401.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0348, allocations: 4 kB / 401.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004506/0.03525, allocations: 160 kB / 401.7 MB, free: 9.977 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.0001104/0.03536, allocations: 111.1 kB / 401.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004926/0.03585, allocations: 415.8 kB / 402.2 MB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.03586, allocations: 5.875 kB / 402.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.03602, allocations: 164.4 kB / 402.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.03649, allocations: 112.8 kB / 402.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.0383, allocations: 1.243 MB / 403.7 MB, free: 7.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.03844, allocations: 206 kB / 403.9 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.03875, allocations: 192.9 kB / 404.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.03885, allocations: 56.48 kB / 404.1 MB, free: 7.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.03885, allocations: 3.938 kB / 404.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of Templates: time 0.008334/0.04718, allocations: 5.433 MB / 409.6 MB, free: 2.066 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.25904154102318]