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.001122/0.001122, allocations: 110 kB / 17.68 MB, free: 5.332 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.001141/0.001141, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.39/1.39, 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.1775/0.1775, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.001778/0.001778, allocations: 71.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2083, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.005733/0.2141, allocations: 5.431 MB / 437.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.2162, allocations: 1.15 MB / 438.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.2166, allocations: 19.88 kB / 438.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.2169, allocations: 79.28 kB / 438.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.2177, allocations: 302.3 kB / 439 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.218, allocations: 143.7 kB / 439.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006682/0.2187, allocations: 0.6967 MB / 439.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.219, allocations: 180.7 kB / 440 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.2195, allocations: 306.6 kB / 440.3 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005294/0.22, allocations: 326.7 kB / 440.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.2201, allocations: 32 kB / 440.6 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.473e-05/0.2202, allocations: 40 kB / 440.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.2203, allocations: 159.6 kB / 440.8 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.2206, allocations: 238.8 kB / 441.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.221, allocations: 494.1 kB / 441.6 MB, free: 9.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.221, allocations: 4 kB / 441.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.221, allocations: 0 / 441.6 MB, free: 9.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.221, 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.001157/0.2222, allocations: 0.7985 MB / 442.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2222, allocations: 19.84 kB / 442.4 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.2223, allocations: 52.28 kB / 442.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.2229, allocations: 460.1 kB / 442.9 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2229, allocations: 29 kB / 442.9 MB, free: 8.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.223, allocations: 36 kB / 442.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.2235, allocations: 463.5 kB / 443.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2236, allocations: 0 / 443.4 MB, free: 7.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.2236, allocations: 16 kB / 443.4 MB, free: 7.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.2236, allocations: 12 kB / 443.4 MB, free: 7.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.224, allocations: 308.5 kB / 443.7 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.2255, allocations: 1.759 MB / 445.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.2257, allocations: 155.6 kB / 445.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.2258, allocations: 54.62 kB / 445.7 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2258, allocations: 8.078 kB / 445.7 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.2258, allocations: 38.56 kB / 445.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.2258, allocations: 4 kB / 445.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007811/0.2266, allocations: 0.5961 MB / 446.3 MB, free: 4.789 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.2266, allocations: 102.8 kB / 446.4 MB, free: 4.664 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.2269, allocations: 369.6 kB / 446.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.2269, allocations: 29.7 kB / 446.8 MB, free: 4.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2271, allocations: 283.3 kB / 447.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2271, allocations: 59.33 kB / 447.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.2272, allocations: 61.69 kB / 447.2 MB, free: 3.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.2272, allocations: 346.8 kB / 447.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.266e-05/0.2273, allocations: 43.98 kB / 447.6 MB, free: 3.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.2274, allocations: 202.5 kB / 447.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.2276, allocations: 275 kB / 448.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2276, allocations: 0 / 448.1 MB, free: 2.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003091/0.228, allocations: 293 kB / 448.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.228, allocations: 8 kB / 448.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.228, allocations: 4 kB / 448.4 MB, free: 2.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.228, allocations: 8 kB / 448.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2282, allocations: 75.78 kB / 448.5 MB, free: 2.469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.2282, allocations: 8 kB / 448.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.2284, allocations: 19.84 kB / 448.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.2284, allocations: 12.34 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.0001171/0.2286, allocations: 185.6 kB / 448.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.2286, allocations: 39.53 kB / 448.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.2288, allocations: 164.7 kB / 448.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2289, allocations: 4 kB / 448.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2289, allocations: 0 / 448.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2289, allocations: 7.984 kB / 448.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.2293, allocations: 0.5264 MB / 449.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2294, allocations: 4 kB / 449.4 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2295, allocations: 39.92 kB / 449.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2295, allocations: 0 / 449.5 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.2296, allocations: 4.094 kB / 449.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2296, allocations: 3.938 kB / 449.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2296, allocations: 7.938 kB / 449.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.2298, allocations: 396 kB / 449.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.2299, allocations: 104.6 kB / 450 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/0.23, allocations: 8 kB / 450 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2301, allocations: 15.91 kB / 450 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.2302, allocations: 11.98 kB / 450 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.2302, allocations: 4 kB / 450 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.2303, allocations: 255.2 kB / 450.2 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2303, allocations: 4 kB / 450.2 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003695/0.2307, allocations: 68 kB / 450.3 MB, free: 0.4922 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 7.3e-05/0.2308, allocations: 99.25 kB / 450.4 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.231, allocations: 156.7 kB / 450.6 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.231, allocations: 4.062 kB / 450.6 MB, free: 236 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.061e-05/0.2311, allocations: 59.91 kB / 450.6 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.2317, allocations: 97.61 kB / 450.7 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.2329, allocations: 0.8759 MB / 451.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2333, allocations: 0.8425 MB / 452.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.2335, allocations: 47.27 kB / 452.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.646e-05/0.2335, allocations: 27.44 kB / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of SimCode: time 1.603e-06/0.2335, allocations: 0 / 452.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of Templates: time 0.006495/0.24, allocations: 3.238 MB / 455.8 MB, free: 11 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 gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)