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.001034/0.001034, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001183/0.001183, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.042/1.042, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2634/0.2634, allocations: 29.41 MB / 291.2 MB, free: 2.484 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.916e-06/2.916e-06, allocations: 0 / 316.8 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.557e-05, allocations: 3.188 kB / 316.8 MB, free: 52 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.004878/0.004914, allocations: 4.839 MB / 321.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.006758, allocations: 1.126 MB / 322.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002712/0.007029, allocations: 23.75 kB / 322.8 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.007247, allocations: 79.27 kB / 322.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.00791, allocations: 314.1 kB / 323.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.008188, allocations: 139.7 kB / 323.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006386/0.008827, allocations: 0.7237 MB / 324 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.009034, allocations: 133.7 kB / 324.2 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006502/0.009684, allocations: 0.4909 MB / 324.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.01001, allocations: 243.2 kB / 324.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.01006, allocations: 32 kB / 324.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.468e-05/0.01012, allocations: 32 kB / 325 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01025, allocations: 167.5 kB / 325.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.0104, allocations: 163.6 kB / 325.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.01075, allocations: 342.6 kB / 325.6 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.01075, allocations: 4 kB / 325.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01075, allocations: 0 / 325.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.01076, allocations: 3.938 kB / 325.6 MB, free: 7.184 MB / 298.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.0007529/0.01151, allocations: 0.6647 MB / 326.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.01155, allocations: 12.03 kB / 326.3 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.01163, allocations: 68.88 kB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004131/0.01204, allocations: 365.3 kB / 326.7 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.01206, allocations: 25.38 kB / 326.8 MB, free: 6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.01211, allocations: 40.12 kB / 326.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.0124, allocations: 319.6 kB / 327.1 MB, free: 5.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.01242, allocations: 3.938 kB / 327.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.01244, allocations: 12 kB / 327.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.01245, allocations: 8 kB / 327.1 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01258, allocations: 116.7 kB / 327.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01374, allocations: 1.47 MB / 328.7 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.01388, allocations: 103.8 kB / 328.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.01392, allocations: 38.62 kB / 328.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01393, allocations: 4 kB / 328.9 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.01396, allocations: 34.56 kB / 328.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.01396, allocations: 0 / 328.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002685/0.01423, allocations: 133.5 kB / 329 MB, free: 3.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.01428, allocations: 114.8 kB / 329.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01447, allocations: 335.1 kB / 329.5 MB, free: 3.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.01448, allocations: 29.7 kB / 329.5 MB, free: 3.055 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.01459, allocations: 256.8 kB / 329.7 MB, free: 2.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.01463, allocations: 51.58 kB / 329.8 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.01468, allocations: 61.58 kB / 329.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01478, allocations: 350.7 kB / 330.2 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.01481, allocations: 23.98 kB / 330.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.741e-05/0.01491, allocations: 166.4 kB / 330.4 MB, free: 2.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.01507, allocations: 218 kB / 330.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01507, allocations: 0 / 330.6 MB, free: 1.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001827/0.01525, allocations: 201.2 kB / 330.8 MB, free: 1.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01527, allocations: 11.94 kB / 330.8 MB, free: 1.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01527, allocations: 4 kB / 330.8 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.01529, allocations: 8 kB / 330.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.01542, allocations: 71.84 kB / 330.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01543, allocations: 4 kB / 330.9 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.999e-05/0.01552, allocations: 36.2 kB / 330.9 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.01553, allocations: 16 kB / 330.9 MB, free: 1.449 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (36): * Single equations (assignments): 36 * 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 9.137e-05/0.01562, allocations: 140.5 kB / 331.1 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.01566, allocations: 27.86 kB / 331.1 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.0158, allocations: 112.8 kB / 331.2 MB, free: 1.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.0158, allocations: 4.25 kB / 331.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.0158, allocations: 0 / 331.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.01581, allocations: 11.98 kB / 331.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.016, allocations: 165.7 kB / 331.4 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.016, allocations: 4 kB / 331.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.01609, allocations: 31.98 kB / 331.4 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01609, allocations: 8 kB / 331.4 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.01611, allocations: 7.969 kB / 331.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.01611, allocations: 3.938 kB / 331.4 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01611, allocations: 7.938 kB / 331.5 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.01631, allocations: 301.9 kB / 331.7 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.01634, allocations: 31.75 kB / 331.8 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01637, allocations: 4 kB / 331.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.01644, allocations: 7.938 kB / 331.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.01646, allocations: 7.984 kB / 331.8 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.01647, allocations: 4 kB / 331.8 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.222e-05/0.01655, allocations: 140.6 kB / 331.9 MB, free: 400 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01655, allocations: 0 / 331.9 MB, free: 400 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.0168, allocations: 91.78 kB / 332 MB, free: 308 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltage2.theta,ind2.i,ind1.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 (17): * Single equations (assignments): 16 * 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 8.159e-05/0.01688, allocations: 84.28 kB / 332.1 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.01702, allocations: 117.4 kB / 332.2 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.01703, allocations: 4.375 kB / 332.2 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.01707, allocations: 48.77 kB / 332.3 MB, free: 40 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.01743, allocations: 89.69 kB / 332.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.01851, allocations: 0.7579 MB / 333.1 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.667e-05/0.01858, allocations: 120.6 kB / 333.2 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.01869, allocations: 47.3 kB / 333.3 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.01882, allocations: 123.3 kB / 333.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01882, allocations: 0 / 333.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Templates: time 0.005708/0.02453, allocations: 3.514 MB / 336.9 MB, free: 11.43 MB / 314.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.954948249273002]