Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.0009654/0.0009654, allocations: 83.69 kB / 21.19 MB, free: 3.391 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.0009259/0.0009259, allocations: 165 kB / 24.56 MB, free: 20 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 0.9323/0.9323, allocations: 177.1 MB / 205 MB, free: 5.641 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.235/0.235, allocations: 29.42 MB / 290.9 MB, free: 2.445 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.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.081e-05, allocations: 5.125 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004381/0.004411, allocations: 4.852 MB / 374.5 MB, free: 6.117 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.006016, allocations: 1.099 MB / 375.6 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.00628, allocations: 23.75 kB / 375.6 MB, free: 4.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.006493, allocations: 83.27 kB / 375.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006685/0.007161, allocations: 310.1 kB / 376 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.007445, allocations: 139.7 kB / 376.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006179/0.008063, allocations: 0.716 MB / 376.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.008266, allocations: 129.1 kB / 377 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006498/0.008916, allocations: 0.4909 MB / 377.4 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.009242, allocations: 247.2 kB / 377.7 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.00929, allocations: 32 kB / 377.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.009346, allocations: 32 kB / 377.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.009467, allocations: 167.5 kB / 377.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.009597, allocations: 155.6 kB / 378.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.00997, allocations: 350.6 kB / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.009974, allocations: 0 / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009976, allocations: 0 / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.009985, allocations: 4 kB / 378.4 MB, free: 2.156 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008456/0.01083, allocations: 0.8249 MB / 379.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.01087, allocations: 8.031 kB / 379.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.01098, allocations: 84.61 kB / 379.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.01141, allocations: 402.6 kB / 379.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.01143, allocations: 29.38 kB / 379.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.01147, allocations: 40.12 kB / 379.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.01184, allocations: 359.9 kB / 380.1 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01186, allocations: 0 / 380.1 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.01188, allocations: 16 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.0119, allocations: 8 kB / 380.2 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.0121, allocations: 152.7 kB / 380.3 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.01345, allocations: 1.995 MB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.01362, allocations: 145 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.109e-05/0.01367, allocations: 47.16 kB / 382.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.01368, allocations: 4 kB / 382.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.01371, allocations: 45.38 kB / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.01371, allocations: 0 / 382.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008783/0.01459, allocations: 0.519 MB / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.01464, allocations: 106.8 kB / 383.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.01488, allocations: 394.7 kB / 383.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.01489, allocations: 33.7 kB / 383.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.01503, allocations: 338.5 kB / 383.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.01506, allocations: 55.55 kB / 384 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.01512, allocations: 67.36 kB / 384 MB, free: 12.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01525, allocations: 0.5118 MB / 384.5 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.626e-05/0.01529, allocations: 31.97 kB / 384.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.01542, allocations: 237.3 kB / 384.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.01562, allocations: 296.8 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.01562, allocations: 4 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002534/0.01587, allocations: 277.5 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01589, allocations: 8 kB / 385.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.0159, allocations: 4 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01591, allocations: 8 kB / 385.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.01606, allocations: 67.84 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.01607, allocations: 15.92 kB / 385.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.508e-05/0.01616, allocations: 15.89 kB / 385.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.01617, allocations: 20.38 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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 8.861e-05/0.01626, allocations: 172.5 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.01631, allocations: 51.64 kB / 385.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.01662, allocations: 152.8 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01662, allocations: 4 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.01662, allocations: 0 / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01663, allocations: 3.984 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.01703, allocations: 488.9 kB / 386.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.01703, allocations: 4 kB / 386.4 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.01713, allocations: 31.98 kB / 386.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01713, allocations: 8.016 kB / 386.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01715, allocations: 8 kB / 386.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01715, allocations: 0 / 386.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01715, allocations: 3.938 kB / 386.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/0.01745, allocations: 461.9 kB / 386.9 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.447e-05/0.01748, allocations: 31.77 kB / 386.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.01751, allocations: 4 kB / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.501e-05/0.01759, allocations: 4 kB / 386.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.01761, allocations: 19.91 kB / 386.9 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01762, allocations: 8 kB / 386.9 MB, free: 8.957 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.01776, allocations: 255.1 kB / 387.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01776, allocations: 0 / 387.2 MB, free: 8.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.01801, allocations: 75.94 kB / 387.3 MB, free: 8.641 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * 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 (18): * Single equations (assignments): 17 * 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 7.717e-05/0.01809, allocations: 95.25 kB / 387.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.01827, allocations: 136.5 kB / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01827, allocations: 64 / 387.5 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.01832, allocations: 63.56 kB / 387.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.01873, allocations: 102.5 kB / 387.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.01997, allocations: 0.8146 MB / 388.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.864e-05/0.02005, allocations: 120.6 kB / 388.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.02017, allocations: 47.25 kB / 388.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.02022, allocations: 28.5 kB / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02022, allocations: 0 / 388.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of Templates: time 0.005483/0.0257, allocations: 3.45 MB / 392.1 MB, free: 3.805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9178510061465204]