Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008016, allocations: 90.53 kB / 16.65 MB, free: 6.348 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.001076/0.001076, allocations: 180.6 kB / 17.56 MB, free: 5.949 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.459/1.459, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1768/0.1768, allocations: 38.05 MB / 310.1 MB, free: 5.906 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.0005959/0.0005957, allocations: 15.12 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2447, allocations: 56.34 MB / 433.5 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001872/0.2466, allocations: 1.099 MB / 434.6 MB, free: 17.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004577/0.2471, allocations: 271.8 kB / 434.9 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.042e-05/0.2472, allocations: 0 / 434.9 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.2474, allocations: 15.92 kB / 434.9 MB, free: 17.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.2475, allocations: 35.84 kB / 434.9 MB, free: 17.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.2477, allocations: 51.94 kB / 435 MB, free: 17.2 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2479, allocations: 55.83 kB / 435 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.2479, allocations: 7.984 kB / 435 MB, free: 17.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2481, allocations: 27.86 kB / 435 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.2481, allocations: 23.86 kB / 435.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.2482, allocations: 0 / 435.1 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2483, allocations: 47.97 kB / 435.1 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.977e-05/0.2483, allocations: 15.98 kB / 435.1 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2484, allocations: 49.45 kB / 435.2 MB, free: 16.97 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.2486, allocations: 83.75 kB / 435.3 MB, free: 16.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2486, allocations: 8 kB / 435.3 MB, free: 16.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2486, allocations: 0 / 435.3 MB, free: 16.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2486, allocations: 0 / 435.3 MB, free: 16.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004229/0.249, allocations: 365.3 kB / 435.6 MB, free: 16.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2491, allocations: 12.03 kB / 435.6 MB, free: 16.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.2491, allocations: 8.844 kB / 435.6 MB, free: 16.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2493, allocations: 187.9 kB / 435.8 MB, free: 16.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2493, allocations: 384 / 435.8 MB, free: 16.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.2493, allocations: 4.375 kB / 435.8 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2494, allocations: 71.47 kB / 435.9 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.2494, allocations: 0 / 435.9 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.2494, allocations: 0 / 435.9 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2495, allocations: 3.938 kB / 435.9 MB, free: 16.15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.2495, allocations: 19.98 kB / 435.9 MB, free: 16.13 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.2498, allocations: 288.7 kB / 436.2 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.2499, allocations: 50.5 kB / 436.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.2499, allocations: 8.922 kB / 436.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.25, allocations: 3.984 kB / 436.3 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.467e-05/0.25, allocations: 30.56 kB / 436.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.25, allocations: 0 / 436.3 MB, free: 15.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000161/0.2501, allocations: 57.62 kB / 436.4 MB, free: 15.62 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.2502, allocations: 85.11 kB / 436.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.2503, allocations: 137.8 kB / 436.6 MB, free: 15.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.879e-06/0.2503, allocations: 25.7 kB / 436.6 MB, free: 15.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.2504, allocations: 100 kB / 436.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.2504, allocations: 3.906 kB / 436.7 MB, free: 15.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.2504, allocations: 9.719 kB / 436.7 MB, free: 15.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.485e-05/0.2505, allocations: 326.8 kB / 437 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.346e-05/0.2505, allocations: 4 kB / 437 MB, free: 14.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.2505, allocations: 21.72 kB / 437.1 MB, free: 14.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.2506, allocations: 21.12 kB / 437.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2506, allocations: 0 / 437.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.23e-05/0.2506, allocations: 61.52 kB / 437.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2507, allocations: 4 kB / 437.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2507, allocations: 0 / 437.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2507, allocations: 0 / 437.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.2508, allocations: 4 kB / 437.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2508, allocations: 0 / 437.1 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.2508, allocations: 4 kB / 437.1 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.2508, allocations: 4.031 kB / 437.2 MB, free: 14.76 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.188e-05/0.2509, allocations: 125.7 kB / 437.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.2509, allocations: 7.906 kB / 437.3 MB, free: 14.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.251, allocations: 65.53 kB / 437.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.251, allocations: 0 / 437.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2511, allocations: 0 / 437.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2511, allocations: 0 / 437.3 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2512, allocations: 177.6 kB / 437.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2512, allocations: 0 / 437.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.476e-05/0.2512, allocations: 11.94 kB / 437.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2512, allocations: 0 / 437.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.2513, allocations: 0 / 437.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2513, allocations: 0 / 437.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2513, allocations: 0 / 437.5 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.868e-05/0.2514, allocations: 155.4 kB / 437.7 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.2514, allocations: 85.09 kB / 437.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2514, allocations: 0 / 437.8 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.2515, allocations: 7.938 kB / 437.8 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.712e-05/0.2515, allocations: 4 kB / 437.8 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.2515, allocations: 3.938 kB / 437.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.005e-05/0.2516, allocations: 115.8 kB / 437.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2516, allocations: 0 / 437.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.2518, allocations: 23.91 kB / 437.9 MB, free: 13.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007859/0.2526, allocations: 387.5 kB / 438.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.2527, allocations: 19.98 kB / 438.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2527, allocations: 3.938 kB / 438.3 MB, free: 13.54 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.447e-05/0.2528, allocations: 12 kB / 438.3 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.2531, allocations: 15.98 kB / 438.3 MB, free: 13.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.2534, allocations: 162.7 kB / 438.5 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2535, allocations: 0.6887 MB / 439.2 MB, free: 12.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.53e-05/0.2536, allocations: 15.98 kB / 439.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.2536, allocations: 15.42 kB / 439.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2536, allocations: 0 / 439.2 MB, free: 12.57 MB / 318.1 MB Notification: Performance of Templates: time 0.003191/0.2568, allocations: 1.138 MB / 440.4 MB, free: 11.44 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) Environment - environmentSimulation: