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.001014/0.001014, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.00123/0.00123, allocations: 172.2 kB / 24.82 MB, free: 9.312 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2364/0.2364, allocations: 29.41 MB / 291.2 MB, free: 2.477 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.444e-06/2.444e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.98e-05, allocations: 2.312 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.007292/0.007322, allocations: 5.054 MB / 375.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003613/0.01094, allocations: 1.936 MB / 377.1 MB, free: 3.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004776/0.01141, allocations: 31.75 kB / 377.1 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007272/0.01214, allocations: 198.8 kB / 377.3 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008363/0.01298, allocations: 393.8 kB / 377.7 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.01407, allocations: 414.7 kB / 378.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.01527, allocations: 0.9586 MB / 379 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005982/0.01587, allocations: 388.3 kB / 379.4 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009517/0.01682, allocations: 0.6078 MB / 380 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.01757, allocations: 482.8 kB / 380.5 MB, free: 288 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.01771, allocations: 56 kB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.01826, allocations: 255.5 kB / 380.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.01867, allocations: 446.9 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/0.01902, allocations: 295.3 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.02004, allocations: 0.767 MB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.02005, allocations: 4 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.02005, allocations: 0 / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.02007, allocations: 4 kB / 382.3 MB, free: 14.47 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.001571/0.02164, allocations: 1.091 MB / 383.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.02169, allocations: 11.98 kB / 383.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009479/0.02264, allocations: 244.2 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.02333, allocations: 470.2 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.377e-05/0.02339, allocations: 58.38 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.0235, allocations: 76.36 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.0246, allocations: 0.8242 MB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.02463, allocations: 7.922 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.776e-05/0.0247, allocations: 39.98 kB / 385.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.02477, allocations: 53.92 kB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006464/0.02542, allocations: 349.3 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/0.03062, allocations: 5.795 MB / 391.3 MB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.03107, allocations: 233.3 kB / 391.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.03123, allocations: 95.38 kB / 391.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.03127, allocations: 12.69 kB / 391.6 MB, free: 4.656 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.03131, allocations: 37.39 kB / 391.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 4.448e-06/0.03132, allocations: 0 / 391.7 MB, free: 4.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.00129/0.03261, allocations: 0.5278 MB / 392.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/0.03266, allocations: 85.11 kB / 392.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.03314, allocations: 0.5058 MB / 392.8 MB, free: 3.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.03317, allocations: 29.7 kB / 392.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.0335, allocations: 0.5174 MB / 393.3 MB, free: 2.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.03365, allocations: 162.6 kB / 393.5 MB, free: 2.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.03385, allocations: 160.2 kB / 393.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/0.03408, allocations: 0.5546 MB / 394.2 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.03424, allocations: 73.94 kB / 394.3 MB, free: 1.926 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.03477, allocations: 0.6418 MB / 394.9 MB, free: 1.039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008184/0.03559, allocations: 0.807 MB / 395.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.0356, allocations: 11.88 kB / 395.7 MB, free: 15.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0009211/0.03652, allocations: 0.623 MB / 396.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.03655, allocations: 18.59 kB / 396.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.03657, allocations: 16 kB / 396.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.0366, allocations: 20 kB / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.03715, allocations: 199.7 kB / 396.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/0.03717, allocations: 23.92 kB / 396.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.03753, allocations: 28.22 kB / 396.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.03759, allocations: 40 kB / 396.7 MB, free: 15 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.0002009/0.03779, allocations: 216.2 kB / 396.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.03789, allocations: 71.61 kB / 397 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.03846, allocations: 347.1 kB / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.03846, allocations: 4 kB / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.03847, allocations: 0 / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.03847, allocations: 3.984 kB / 397.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.04015, allocations: 0.9947 MB / 398.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.04015, allocations: 0 / 398.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.04049, allocations: 99.83 kB / 398.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.04049, allocations: 4 kB / 398.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.04052, allocations: 15.98 kB / 398.4 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.04053, allocations: 4 kB / 398.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.04053, allocations: 8.188 kB / 398.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.04106, allocations: 0.5597 MB / 399 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.391e-05/0.04113, allocations: 43.67 kB / 399 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.04118, allocations: 12 kB / 399.1 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.04138, allocations: 8 kB / 399.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.04143, allocations: 43.81 kB / 399.1 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.04146, allocations: 15.98 kB / 399.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.04167, allocations: 282.9 kB / 399.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.04167, allocations: 0 / 399.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000696/0.04237, allocations: 160 kB / 399.6 MB, free: 11.98 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.0001231/0.04249, allocations: 115.1 kB / 399.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005183/0.04301, allocations: 376.5 kB / 400 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.04301, allocations: 0 / 400 MB, free: 11.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.04322, allocations: 154 kB / 400.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006379/0.04385, allocations: 113 kB / 400.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.04604, allocations: 1.215 MB / 401.5 MB, free: 9.938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.04624, allocations: 214 kB / 401.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.04652, allocations: 77.06 kB / 401.8 MB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.04681, allocations: 186.1 kB / 402 MB, free: 9.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.123e-06/0.04681, allocations: 4 kB / 402 MB, free: 9.441 MB / 378.7 MB Notification: Performance of Templates: time 0.01107/0.05788, allocations: 5.812 MB / 407.8 MB, free: 3.723 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: 2.8896966706961393]