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.001845/0.001845, allocations: 178.9 kB / 17.4 MB, free: 4.293 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.552/1.552, allocations: 194.5 MB / 212.6 MB, free: 2.934 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.001577/0.001577, allocations: 116.3 kB / 257.9 MB, free: 4.262 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1864/0.1864, allocations: 38.01 MB / 341.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09391, allocations: 53.23 MB / 458.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4565, allocations: 90.17 MB / 0.5356 GB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.4569, allocations: 92.62 kB / 0.5357 GB, free: 4.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04055/0.4975, allocations: 10.17 MB / 0.5456 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4975, allocations: 0 / 0.5456 GB, free: 11.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.711e-05/0.4976, allocations: 12 kB / 0.5456 GB, free: 11.87 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002505/0.5001, allocations: 0.742 MB / 0.5463 GB, free: 11.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.5002, allocations: 8.031 kB / 0.5463 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.5005, allocations: 48.38 kB / 0.5464 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.503, allocations: 0.6872 MB / 0.547 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.5031, allocations: 24.31 kB / 0.5471 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5032, allocations: 45.61 kB / 0.5471 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.5044, allocations: 460 kB / 0.5476 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.5044, allocations: 0 / 0.5476 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.361e-05/0.5045, allocations: 15.5 kB / 0.5476 GB, free: 10 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.5045, allocations: 8 kB / 0.5476 GB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.5054, allocations: 314 kB / 0.5479 GB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003416/0.5088, allocations: 1.762 MB / 0.5496 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.5092, allocations: 146.4 kB / 0.5497 GB, free: 7.977 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.5094, allocations: 56.56 kB / 0.5498 GB, free: 7.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.5095, allocations: 8.141 kB / 0.5498 GB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5095, allocations: 37.88 kB / 0.5498 GB, free: 7.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.845e-06/0.5095, allocations: 0 / 0.5498 GB, free: 7.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001635/0.5112, allocations: 0.6033 MB / 0.5504 GB, free: 7.266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.5113, allocations: 106.8 kB / 0.5505 GB, free: 7.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.5119, allocations: 370.3 kB / 0.5509 GB, free: 6.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.512, allocations: 25.7 kB / 0.5509 GB, free: 6.809 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.5123, allocations: 280 kB / 0.5512 GB, free: 6.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.458e-05/0.5124, allocations: 54.45 kB / 0.5512 GB, free: 6.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.5124, allocations: 7 kB / 0.5512 GB, free: 6.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.5126, allocations: 349.1 kB / 0.5516 GB, free: 6.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.5128, allocations: 50.12 kB / 0.5516 GB, free: 6.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.5131, allocations: 191.2 kB / 0.5518 GB, free: 5.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.5136, allocations: 255.5 kB / 0.552 GB, free: 5.684 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.5136, allocations: 8 kB / 0.552 GB, free: 5.676 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007383/0.5144, allocations: 292.2 kB / 0.5523 GB, free: 5.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5144, allocations: 8.062 kB / 0.5523 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.5144, allocations: 8 kB / 0.5523 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.5145, allocations: 8 kB / 0.5523 GB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004332/0.5149, allocations: 67.53 kB / 0.5524 GB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-05/0.515, allocations: 19.86 kB / 0.5524 GB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.5153, allocations: 17.69 kB / 0.5524 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/0.5154, allocations: 12 kB / 0.5525 GB, free: 5.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000339/0.5157, allocations: 173.8 kB / 0.5526 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.5159, allocations: 39.47 kB / 0.5527 GB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.5164, allocations: 179.9 kB / 0.5528 GB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.5164, allocations: 4.094 kB / 0.5528 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5164, allocations: 3.938 kB / 0.5528 GB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.5164, allocations: 3.984 kB / 0.5528 GB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.5175, allocations: 0.5293 MB / 0.5534 GB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5176, allocations: 448 / 0.5534 GB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.5179, allocations: 31.98 kB / 0.5534 GB, free: 4.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.5179, allocations: 8.031 kB / 0.5534 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.518, allocations: 7.562 kB / 0.5534 GB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/0.518, allocations: 4 kB / 0.5534 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.518, allocations: 0 / 0.5534 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.5186, allocations: 400.3 kB / 0.5538 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5188, allocations: 116.1 kB / 0.5539 GB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/0.5189, allocations: 7.188 kB / 0.5539 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002692/0.5192, allocations: 0 / 0.5539 GB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.5192, allocations: 15.42 kB / 0.5539 GB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.5192, allocations: 7.938 kB / 0.5539 GB, free: 3.898 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000436/0.5197, allocations: 252 kB / 0.5542 GB, free: 3.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5197, allocations: 0 / 0.5542 GB, free: 3.695 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007863/0.5205, allocations: 83.19 kB / 0.5543 GB, free: 3.621 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001626/0.5207, allocations: 102.6 kB / 0.5543 GB, free: 3.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003964/0.5211, allocations: 150.9 kB / 0.5545 GB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5211, allocations: 1.25 kB / 0.5545 GB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.5213, allocations: 58.48 kB / 0.5545 GB, free: 3.348 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.5224, allocations: 90.62 kB / 0.5546 GB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.5248, allocations: 1.082 MB / 0.5557 GB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.5255, allocations: 0.8445 MB / 0.5565 GB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003377/0.5258, allocations: 47.25 kB / 0.5566 GB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.456e-05/0.5259, allocations: 31.42 kB / 0.5566 GB, free: 1.273 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5259, allocations: 0 / 0.5566 GB, free: 1.273 MB / 362.7 MB Notification: Performance of Templates: time 0.01251/0.5385, allocations: 3.023 MB / 0.5595 GB, free: 14.27 MB / 378.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)