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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.002178/0.002178, allocations: 110.9 kB / 17.29 MB, free: 6.059 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.002334/0.002335, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.095/3.095, allocations: 222.9 MB / 241.9 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.476/0.476, allocations: 38.01 MB / 330 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002764/0.002764, allocations: 61.02 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.207, allocations: 58.06 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.01578/0.2228, allocations: 6.899 MB / 463.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006151/0.229, allocations: 1.543 MB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.2308, allocations: 51.69 kB / 465.5 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.2315, allocations: 59.53 kB / 465.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.2334, allocations: 270.7 kB / 465.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000821/0.2343, allocations: 119.9 kB / 465.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001857/0.2362, allocations: 0.7006 MB / 466.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006197/0.2368, allocations: 180.7 kB / 466.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.238, allocations: 310.6 kB / 467.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009993/0.239, allocations: 338.8 kB / 467.4 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.2392, allocations: 32 kB / 467.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.2394, allocations: 32 kB / 467.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.2398, allocations: 167.5 kB / 467.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.2404, allocations: 250.7 kB / 467.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007136/0.2411, allocations: 363.2 kB / 468.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.2411, allocations: 0 / 468.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.2412, allocations: 0 / 468.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.208e-05/0.2412, allocations: 0 / 468.3 MB, free: 13.07 MB / 350.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.002463/0.2437, allocations: 0.7968 MB / 469.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.2438, allocations: 11.89 kB / 469.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.244, allocations: 52.38 kB / 469.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.2451, allocations: 436.1 kB / 469.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.856e-05/0.2452, allocations: 25 kB / 469.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.2453, allocations: 40 kB / 469.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.2466, allocations: 451.6 kB / 470.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.2467, allocations: 7.938 kB / 470.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-05/0.2467, allocations: 16 kB / 470.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.2468, allocations: 12 kB / 470.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.2477, allocations: 308.7 kB / 470.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.2514, allocations: 1.767 MB / 472.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.2519, allocations: 151.6 kB / 472.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.2521, allocations: 58.67 kB / 472.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.2521, allocations: 0 / 472.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.857e-05/0.2522, allocations: 42.44 kB / 472.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 7.293e-06/0.2522, allocations: 7.984 kB / 472.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.002263/0.2545, allocations: 0.5999 MB / 473 MB, free: 7.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.2546, allocations: 102.8 kB / 473.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/0.2554, allocations: 373.5 kB / 473.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.2555, allocations: 25.7 kB / 473.5 MB, free: 7.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.2558, allocations: 287.3 kB / 473.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.256, allocations: 59.31 kB / 473.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.2562, allocations: 57.7 kB / 473.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.2564, allocations: 346.8 kB / 474.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.2566, allocations: 51.97 kB / 474.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.257, allocations: 194.5 kB / 474.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/0.2576, allocations: 274.9 kB / 474.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.2576, allocations: 0 / 474.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001207/0.2588, allocations: 289 kB / 475 MB, free: 5.762 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.2589, allocations: 8 kB / 475 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.2589, allocations: 4 kB / 475 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.91e-05/0.259, allocations: 8 kB / 475 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.2595, allocations: 63.91 kB / 475.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/0.2595, allocations: 11.94 kB / 475.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.26, allocations: 19.84 kB / 475.1 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.26, allocations: 16.34 kB / 475.2 MB, free: 5.633 MB / 350.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.0003697/0.2604, allocations: 185.6 kB / 475.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.2606, allocations: 35.53 kB / 475.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.2611, allocations: 176.7 kB / 475.5 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.2611, allocations: 4 kB / 475.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2611, allocations: 0 / 475.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.2611, allocations: 0 / 475.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.2625, allocations: 0.5265 MB / 476.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.2625, allocations: 0 / 476.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/0.2628, allocations: 31.98 kB / 476.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.2628, allocations: 4 kB / 476.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.2629, allocations: 4.438 kB / 476.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.2629, allocations: 7.938 kB / 476.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/0.2629, allocations: 3.938 kB / 476.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007292/0.2637, allocations: 407.3 kB / 476.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/0.2639, allocations: 120.5 kB / 476.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/0.264, allocations: 4 kB / 476.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.2643, allocations: 7.938 kB / 476.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.2644, allocations: 15.92 kB / 476.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.2644, allocations: 4 kB / 476.7 MB, free: 4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.2649, allocations: 259.2 kB / 476.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.265, allocations: 0 / 476.9 MB, free: 3.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00092/0.2659, allocations: 72 kB / 477 MB, free: 3.68 MB / 350.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.0002045/0.2661, allocations: 99.19 kB / 477.1 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.2667, allocations: 164.7 kB / 477.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2667, allocations: 4.125 kB / 477.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2669, allocations: 55.92 kB / 477.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.2681, allocations: 100.5 kB / 477.4 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.2711, allocations: 1.073 MB / 478.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/0.272, allocations: 0.8465 MB / 479.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.2722, allocations: 31.42 kB / 479.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.2722, allocations: 0 / 479.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of Templates: time 0.01494/0.2872, allocations: 4.599 MB / 484 MB, free: 12.66 MB / 366.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)