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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 110.9 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1828/0.1828, allocations: 37.99 MB / 309.8 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 71.89 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2375, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005726/0.2433, allocations: 5.442 MB / 437.5 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.2452, allocations: 1.143 MB / 438.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.2454, allocations: 15.88 kB / 438.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.2457, allocations: 83.2 kB / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006024/0.2463, allocations: 302.3 kB / 439 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.2466, allocations: 147.7 kB / 439.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.2471, allocations: 0.6928 MB / 439.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.2473, allocations: 184.7 kB / 440 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.2476, allocations: 302.6 kB / 440.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.248, allocations: 330.7 kB / 440.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2481, allocations: 36 kB / 440.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.303e-05/0.2482, allocations: 32 kB / 440.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.2483, allocations: 155.5 kB / 440.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.2485, allocations: 238.8 kB / 441.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2489, allocations: 0.4903 MB / 441.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2489, allocations: 0 / 441.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2489, allocations: 4 kB / 441.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2489, allocations: 0 / 441.6 MB, free: 9.891 MB / 318.1 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.001125/0.2501, allocations: 0.7851 MB / 442.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2501, allocations: 19.84 kB / 442.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.2502, allocations: 60.2 kB / 442.4 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000591/0.2508, allocations: 468.1 kB / 442.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2508, allocations: 25 kB / 442.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.2509, allocations: 36 kB / 443 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.2513, allocations: 451.6 kB / 443.4 MB, free: 7.949 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.2514, allocations: 4 kB / 443.4 MB, free: 7.945 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.281e-05/0.2514, allocations: 19.98 kB / 443.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2514, allocations: 11.94 kB / 443.4 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.2518, allocations: 316.5 kB / 443.7 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2532, allocations: 1.763 MB / 445.5 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.2534, allocations: 139.6 kB / 445.6 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.797e-05/0.2535, allocations: 58.67 kB / 445.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.2535, allocations: 8 kB / 445.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2536, allocations: 30.56 kB / 445.7 MB, free: 5.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.2536, allocations: 3.938 kB / 445.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008132/0.2544, allocations: 0.6003 MB / 446.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.2544, allocations: 114.9 kB / 446.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.2547, allocations: 373.6 kB / 446.8 MB, free: 4.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2548, allocations: 25.7 kB / 446.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2549, allocations: 275.3 kB / 447.1 MB, free: 3.977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.2549, allocations: 59.19 kB / 447.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-05/0.255, allocations: 53.7 kB / 447.2 MB, free: 3.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.255, allocations: 350.8 kB / 447.6 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.263e-05/0.2551, allocations: 47.97 kB / 447.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2552, allocations: 206.5 kB / 447.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.2555, allocations: 262.6 kB / 448.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2555, allocations: 0 / 448.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003307/0.2558, allocations: 301 kB / 448.4 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2558, allocations: 4.625 kB / 448.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.2558, allocations: 8 kB / 448.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.2559, allocations: 11.94 kB / 448.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.2561, allocations: 67.91 kB / 448.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.2561, allocations: 7.938 kB / 448.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.2563, allocations: 23.84 kB / 448.5 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.2563, allocations: 15.98 kB / 448.5 MB, free: 2.43 MB / 318.1 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.0001382/0.2565, allocations: 181.7 kB / 448.7 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.2565, allocations: 35.53 kB / 448.7 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.2568, allocations: 176.7 kB / 448.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.2568, allocations: 0 / 448.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2568, allocations: 4 kB / 448.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2568, allocations: 0 / 448.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.2573, allocations: 0.5264 MB / 449.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2573, allocations: 0 / 449.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.2575, allocations: 31.98 kB / 449.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2575, allocations: 4 kB / 449.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.2575, allocations: 4.094 kB / 449.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.2575, allocations: 15.95 kB / 449.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2575, allocations: 3.938 kB / 449.5 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.2578, allocations: 391.9 kB / 449.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.2579, allocations: 108.7 kB / 450 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.258, allocations: 8 kB / 450 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.2581, allocations: 7.938 kB / 450 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.2581, allocations: 15.98 kB / 450 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.2582, allocations: 4 kB / 450 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001942/0.2584, allocations: 251.2 kB / 450.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2584, allocations: 0 / 450.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000385/0.2588, allocations: 72 kB / 450.3 MB, free: 0.5039 MB / 318.1 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 0.0001037/0.2589, allocations: 103.2 kB / 450.4 MB, free: 404 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.2591, allocations: 163.6 kB / 450.6 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2591, allocations: 4 kB / 450.6 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.2592, allocations: 57.17 kB / 450.6 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.2599, allocations: 94.3 kB / 450.7 MB, free: 84 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.2614, allocations: 0.8642 MB / 451.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2618, allocations: 0.8425 MB / 452.4 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.2619, allocations: 51.23 kB / 452.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.857e-05/0.262, allocations: 35.44 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.262, allocations: 3.938 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Templates: time 0.007209/0.2692, allocations: 3.236 MB / 455.8 MB, free: 11.01 MB / 334.1 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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)