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.00112/0.00112, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001148/0.001148, allocations: 162.2 kB / 25.6 MB, free: 8.59 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.9912/0.9912, allocations: 177.1 MB / 206 MB, free: 4.508 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.1292/0.1292, allocations: 29.42 MB / 292 MB, free: 2.625 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.755e-06/2.755e-06, allocations: 0 / 370.8 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.082e-05, allocations: 2.312 kB / 370.8 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.006409/0.00644, allocations: 5.054 MB / 375.9 MB, free: 27.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.009898, allocations: 1.951 MB / 377.9 MB, free: 25.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000487/0.01038, allocations: 27.75 kB / 377.9 MB, free: 25.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.0112, allocations: 198.8 kB / 378.1 MB, free: 25.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009307/0.01213, allocations: 385.8 kB / 378.5 MB, free: 24.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.01336, allocations: 418.7 kB / 378.9 MB, free: 24.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.01447, allocations: 0.9524 MB / 379.8 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.01509, allocations: 396.3 kB / 380.2 MB, free: 22.95 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009593/0.01605, allocations: 0.604 MB / 380.8 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007551/0.01681, allocations: 494.7 kB / 381.3 MB, free: 21.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.01694, allocations: 56 kB / 381.3 MB, free: 21.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005939/0.01754, allocations: 251.5 kB / 381.6 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.01793, allocations: 446.9 kB / 382 MB, free: 21.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.01835, allocations: 299.3 kB / 382.3 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.0194, allocations: 0.767 MB / 383.1 MB, free: 20.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.0194, allocations: 3.938 kB / 383.1 MB, free: 20.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01941, allocations: 4 kB / 383.1 MB, free: 20.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.908e-05/0.01943, allocations: 0 / 383.1 MB, free: 20.05 MB / 314.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.001563/0.021, allocations: 1.087 MB / 384.2 MB, free: 18.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.02104, allocations: 12.02 kB / 384.2 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.022, allocations: 244.2 kB / 384.4 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.02268, allocations: 466.2 kB / 384.9 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.02273, allocations: 58.38 kB / 384.9 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.02283, allocations: 76.36 kB / 385 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008986/0.02373, allocations: 0.8242 MB / 385.8 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.02377, allocations: 11.88 kB / 385.8 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.02383, allocations: 35.98 kB / 385.9 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.426e-05/0.0239, allocations: 57.98 kB / 385.9 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.02449, allocations: 349.2 kB / 386.3 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00359/0.02808, allocations: 5.791 MB / 392.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000457/0.02854, allocations: 230.5 kB / 392.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.02868, allocations: 91.38 kB / 392.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.02873, allocations: 8.688 kB / 392.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.02876, allocations: 49.33 kB / 392.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 5.43e-06/0.02877, allocations: 0 / 392.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009455/0.02971, allocations: 0.5239 MB / 393 MB, free: 9.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.02975, allocations: 81.11 kB / 393 MB, free: 9.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002477/0.03, allocations: 0.506 MB / 393.6 MB, free: 9.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.03001, allocations: 33.7 kB / 393.6 MB, free: 9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.03018, allocations: 0.5174 MB / 394.1 MB, free: 8.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.03025, allocations: 166.6 kB / 394.3 MB, free: 8.312 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.03037, allocations: 160.2 kB / 394.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.03045, allocations: 0.5468 MB / 395 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.03054, allocations: 77.92 kB / 395 MB, free: 7.512 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.03078, allocations: 0.6418 MB / 395.7 MB, free: 6.621 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.03123, allocations: 0.8069 MB / 396.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.03123, allocations: 4 kB / 396.5 MB, free: 5.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005357/0.03177, allocations: 0.6152 MB / 397.1 MB, free: 4.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.03179, allocations: 15.94 kB / 397.1 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.0318, allocations: 20.09 kB / 397.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.03182, allocations: 20 kB / 397.2 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.03216, allocations: 195.7 kB / 397.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.03218, allocations: 27.86 kB / 397.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.03238, allocations: 31.95 kB / 397.4 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.03241, allocations: 40 kB / 397.5 MB, free: 4.594 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.0001332/0.03254, allocations: 212.2 kB / 397.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.03261, allocations: 79.61 kB / 397.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.03296, allocations: 343 kB / 398.1 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.03297, allocations: 4 kB / 398.1 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.03297, allocations: 0 / 398.1 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.03297, allocations: 3.984 kB / 398.1 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007978/0.03377, allocations: 1.007 MB / 399.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.03378, allocations: 0 / 399.1 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.03397, allocations: 99.89 kB / 399.2 MB, free: 2.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.03397, allocations: 4 kB / 399.2 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.03399, allocations: 16 kB / 399.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.03399, allocations: 4 kB / 399.2 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.034, allocations: 7.938 kB / 399.2 MB, free: 2.734 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.0343, allocations: 0.5493 MB / 399.8 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.03434, allocations: 55.59 kB / 399.8 MB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.03438, allocations: 12.06 kB / 399.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.03449, allocations: 12 kB / 399.8 MB, free: 2.047 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/0.03453, allocations: 39.88 kB / 399.9 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.03454, allocations: 12 kB / 399.9 MB, free: 1.996 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.03464, allocations: 279 kB / 400.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03464, allocations: 0 / 400.2 MB, free: 1.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004016/0.03504, allocations: 164 kB / 400.3 MB, free: 1.566 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 0.0001037/0.03515, allocations: 107.1 kB / 400.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.03549, allocations: 384.2 kB / 400.8 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.03549, allocations: 4.125 kB / 400.8 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.0356, allocations: 156.1 kB / 401 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.03604, allocations: 100.6 kB / 401.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.03761, allocations: 1.223 MB / 402.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.03776, allocations: 210 kB / 402.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.03796, allocations: 89.06 kB / 402.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.03817, allocations: 182.1 kB / 402.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03818, allocations: 0 / 402.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of Templates: time 0.0089/0.04708, allocations: 5.943 MB / 408.7 MB, free: 9.211 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.166665285360068]