Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009385/0.0009385, allocations: 174.8 kB / 16.07 MB, free: 5.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.209/1.209, allocations: 205.4 MB / 222.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007516/0.0007516, allocations: 88.73 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1644/0.1644, allocations: 38.08 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2166, allocations: 56.33 MB / 479.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001502/0.2182, allocations: 1.081 MB / 480.7 MB, free: 8.723 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.2186, allocations: 262 kB / 481 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.2186, allocations: 4 kB / 481 MB, free: 8.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.2188, allocations: 16.38 kB / 481 MB, free: 8.578 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.219, allocations: 34.84 kB / 481 MB, free: 8.559 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.2192, allocations: 54.45 kB / 481.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 9.852e-05/0.2193, allocations: 46.34 kB / 481.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.2193, allocations: 3.672 kB / 481.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2195, allocations: 27.2 kB / 481.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.944e-05/0.2195, allocations: 21.91 kB / 481.2 MB, free: 8.492 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.2195, allocations: 2.188 kB / 481.2 MB, free: 8.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.2196, allocations: 49.38 kB / 481.2 MB, free: 8.473 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.486e-05/0.2197, allocations: 19.25 kB / 481.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.2197, allocations: 42.59 kB / 481.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2198, allocations: 63.02 kB / 481.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2199, allocations: 1.062 kB / 481.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2199, allocations: 0 / 481.3 MB, free: 8.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2199, allocations: 0 / 481.3 MB, free: 8.402 MB / 314.7 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.0002787/0.2202, allocations: 372.2 kB / 481.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2202, allocations: 10.33 kB / 481.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.2202, allocations: 12.88 kB / 481.7 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.2204, allocations: 188.6 kB / 481.9 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2204, allocations: 5.719 kB / 481.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.2204, allocations: 9.844 kB / 481.9 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.2205, allocations: 63.91 kB / 482 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2205, allocations: 1.312 kB / 482 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2205, allocations: 0.7031 kB / 482 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2206, allocations: 0.6562 kB / 482 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.2206, allocations: 18.14 kB / 482 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002795/0.2209, allocations: 290.8 kB / 482.3 MB, free: 7.434 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.107e-05/0.221, allocations: 34.78 kB / 482.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.221, allocations: 15.03 kB / 482.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.221, allocations: 1.031 kB / 482.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.2211, allocations: 36.22 kB / 482.4 MB, free: 7.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.2211, allocations: 3.984 kB / 482.4 MB, free: 7.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001391/0.2212, allocations: 58.52 kB / 482.4 MB, free: 7.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.2212, allocations: 79 kB / 482.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.2214, allocations: 140.7 kB / 482.7 MB, free: 7.102 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-06/0.2214, allocations: 26.83 kB / 482.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.2214, allocations: 96.69 kB / 482.8 MB, free: 6.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.2214, allocations: 6.781 kB / 482.8 MB, free: 6.973 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.2214, allocations: 4 kB / 482.8 MB, free: 6.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.045e-05/0.2215, allocations: 323.2 kB / 483.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.2215, allocations: 4.203 kB / 483.1 MB, free: 6.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.963e-05/0.2215, allocations: 20.22 kB / 483.1 MB, free: 6.629 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.2216, allocations: 19.8 kB / 483.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2216, allocations: 0 / 483.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.523e-05/0.2216, allocations: 54.98 kB / 483.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.2217, allocations: 6.641 kB / 483.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2217, allocations: 4.031 kB / 483.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2217, allocations: 0 / 483.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.2217, allocations: 6.469 kB / 483.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.2217, allocations: 0.75 kB / 483.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.2218, allocations: 5.156 kB / 483.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2218, allocations: 1.219 kB / 483.2 MB, free: 6.566 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.034e-05/0.2218, allocations: 119.8 kB / 483.3 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.2219, allocations: 6.688 kB / 483.3 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.222, allocations: 67.02 kB / 483.4 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.222, allocations: 8.734 kB / 483.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.222, allocations: 0 / 483.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.222, allocations: 1.094 kB / 483.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.2221, allocations: 175.1 kB / 483.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2221, allocations: 0 / 483.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.2222, allocations: 4.125 kB / 483.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2222, allocations: 1.5 kB / 483.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.2222, allocations: 4.5 kB / 483.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2222, allocations: 1.188 kB / 483.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2222, allocations: 0.5625 kB / 483.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.685e-05/0.2223, allocations: 158.9 kB / 483.8 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.2223, allocations: 81.78 kB / 483.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2223, allocations: 1.797 kB / 483.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.2224, allocations: 0.6094 kB / 483.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.172e-05/0.2224, allocations: 2.172 kB / 483.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.2224, allocations: 1.797 kB / 483.8 MB, free: 5.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.531e-05/0.2225, allocations: 111.9 kB / 484 MB, free: 5.844 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2225, allocations: 0 / 484 MB, free: 5.844 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.2227, allocations: 22.48 kB / 484 MB, free: 5.836 MB / 314.7 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 (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.0006959/0.2234, allocations: 397.1 kB / 484.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.2235, allocations: 15.02 kB / 484.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2235, allocations: 0 / 484.4 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.2236, allocations: 14.22 kB / 484.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2238, allocations: 18.56 kB / 484.4 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.2241, allocations: 187.4 kB / 484.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.767e-05/0.2242, allocations: 0.6889 MB / 485.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.2243, allocations: 13.91 kB / 485.3 MB, free: 4.656 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2243, allocations: 0 / 485.3 MB, free: 4.656 MB / 314.7 MB Notification: Performance of Templates: time 0.002844/0.2271, allocations: 1.388 MB / 486.7 MB, free: 4.504 MB / 314.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)