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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001171/0.001171, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.151/1.151, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001555/0.001555, allocations: 132.6 kB / 256.6 MB, free: 4.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1714/0.1714, allocations: 37.95 MB / 338.8 MB, free: 2.223 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 67.84 kB / 401.8 MB, free: 68.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06753/0.06867, allocations: 52.19 MB / 454 MB, free: 16.58 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005072/0.07378, allocations: 6.901 MB / 460.9 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.07556, allocations: 1.594 MB / 462.5 MB, free: 8.039 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002843/0.07586, allocations: 47.69 kB / 462.5 MB, free: 7.992 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.07606, allocations: 67.47 kB / 462.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.07654, allocations: 258.7 kB / 462.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.07674, allocations: 131.8 kB / 463 MB, free: 7.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.07727, allocations: 0.962 MB / 463.9 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.07746, allocations: 144.2 kB / 464.1 MB, free: 6.426 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.07772, allocations: 270.6 kB / 464.3 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.07807, allocations: 338.7 kB / 464.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.65e-05/0.07812, allocations: 24 kB / 464.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.368e-05/0.0782, allocations: 27.94 kB / 464.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.07831, allocations: 151.6 kB / 464.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.07846, allocations: 230.8 kB / 465.1 MB, free: 5.402 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.07873, allocations: 474.2 kB / 465.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.07874, allocations: 0 / 465.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.07875, allocations: 0 / 465.6 MB, free: 4.938 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.07876, allocations: 3.938 kB / 465.6 MB, free: 4.934 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009553/0.07972, allocations: 0.7969 MB / 466.4 MB, free: 4.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.07976, allocations: 8.031 kB / 466.4 MB, free: 4.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.564e-05/0.07983, allocations: 52.28 kB / 466.4 MB, free: 4.031 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.08032, allocations: 431.9 kB / 466.8 MB, free: 3.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.08034, allocations: 29 kB / 466.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.0804, allocations: 39.91 kB / 466.9 MB, free: 3.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.08086, allocations: 459.6 kB / 467.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.08088, allocations: 0 / 467.4 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.08091, allocations: 16 kB / 467.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.08092, allocations: 12 kB / 467.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.08129, allocations: 312.5 kB / 467.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001377/0.08267, allocations: 1.763 MB / 469.5 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.08284, allocations: 155.6 kB / 469.6 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.359e-05/0.08292, allocations: 50.62 kB / 469.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.08294, allocations: 4 kB / 469.7 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.08296, allocations: 34.56 kB / 469.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.08297, allocations: 0 / 469.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.000747/0.08372, allocations: 0.6081 MB / 470.3 MB, free: 15.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.0838, allocations: 106.8 kB / 470.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.08416, allocations: 377.5 kB / 470.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.08418, allocations: 25.7 kB / 470.8 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.08435, allocations: 279.4 kB / 471.1 MB, free: 15.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.0844, allocations: 59.31 kB / 471.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.08449, allocations: 77.53 kB / 471.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.08461, allocations: 350.7 kB / 471.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.0847, allocations: 39.98 kB / 471.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.08487, allocations: 190.8 kB / 471.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.08515, allocations: 270.6 kB / 472 MB, free: 13.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.08516, allocations: 4 kB / 472 MB, free: 13.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003688/0.08554, allocations: 289.1 kB / 472.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.08556, allocations: 4 kB / 472.3 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.08558, allocations: 11.94 kB / 472.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.0856, allocations: 7.984 kB / 472.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.08584, allocations: 67.92 kB / 472.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.08586, allocations: 11.92 kB / 472.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.08602, allocations: 15.91 kB / 472.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.08604, allocations: 12 kB / 472.5 MB, free: 13.5 MB / 330.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 0.0001697/0.08622, allocations: 193.9 kB / 472.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.08629, allocations: 31.62 kB / 472.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.08655, allocations: 164.8 kB / 472.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.08656, allocations: 4 kB / 472.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.08657, allocations: 0 / 472.8 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.08658, allocations: 3.984 kB / 472.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000583/0.08717, allocations: 0.5345 MB / 473.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.08718, allocations: 0 / 473.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.08736, allocations: 40.36 kB / 473.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.08738, allocations: 4 kB / 473.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.08739, allocations: 0 / 473.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.0874, allocations: 8 kB / 473.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.08741, allocations: 3.938 kB / 473.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.08939, allocations: 1.89 MB / 475.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.08949, allocations: 112.6 kB / 475.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.08953, allocations: 4 kB / 475.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.08969, allocations: 4 kB / 475.4 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.08972, allocations: 12.03 kB / 475.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.08974, allocations: 8 kB / 475.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002154/0.08996, allocations: 251.2 kB / 475.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08997, allocations: 4 kB / 475.7 MB, free: 10 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.09045, allocations: 112 kB / 475.8 MB, free: 9.895 MB / 330.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 9.549e-05/0.09055, allocations: 103.1 kB / 475.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.09079, allocations: 152.5 kB / 476.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0908, allocations: 384 / 476.1 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.09089, allocations: 59.92 kB / 476.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006138/0.09151, allocations: 85.44 kB / 476.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.09292, allocations: 1.193 MB / 477.4 MB, free: 8.254 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.09329, allocations: 0.8506 MB / 478.3 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.09346, allocations: 47.25 kB / 478.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.09353, allocations: 27.44 kB / 478.3 MB, free: 7.301 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.09354, allocations: 0 / 478.3 MB, free: 7.301 MB / 330.7 MB Notification: Performance of Templates: time 0.006331/0.09988, allocations: 3.389 MB / 481.7 MB, free: 3.914 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)