Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 106 kB / 17.28 MB, free: 6.199 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.002196/0.002196, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.74/2.74, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4184/0.4184, allocations: 38.02 MB / 330.1 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002154/0.002154, allocations: 65.5 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2168, allocations: 58.06 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.005932/0.2229, allocations: 2.088 MB / 459.1 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.2242, allocations: 0.5182 MB / 459.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.2243, allocations: 3.938 kB / 459.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002053/0.2245, allocations: 7.984 kB / 459.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.2247, allocations: 31.83 kB / 459.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.2252, allocations: 55.92 kB / 459.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.2253, allocations: 67.7 kB / 459.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.639e-05/0.2254, allocations: 4 kB / 459.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2256, allocations: 35.84 kB / 459.8 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.2257, allocations: 31.89 kB / 459.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2257, allocations: 0 / 459.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.2259, allocations: 75.83 kB / 459.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.226, allocations: 43.84 kB / 460 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.868e-05/0.2261, allocations: 39.56 kB / 460 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.2264, allocations: 100.1 kB / 460.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.172e-05/0.2264, allocations: 8 kB / 460.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2264, allocations: 0 / 460.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.505e-06/0.2264, allocations: 4 kB / 460.1 MB, free: 5.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0007004/0.2271, allocations: 488.4 kB / 460.6 MB, free: 4.738 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.2272, allocations: 11.89 kB / 460.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.52e-05/0.2273, allocations: 12.75 kB / 460.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.2276, allocations: 198.6 kB / 460.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2276, allocations: 3.938 kB / 460.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.2276, allocations: 0 / 460.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.2279, allocations: 134.5 kB / 460.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.228, allocations: 4 kB / 460.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.228, allocations: 8 kB / 460.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.228, allocations: 0 / 460.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.2282, allocations: 88.3 kB / 461 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.2285, allocations: 202 kB / 461.2 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.2288, allocations: 154.9 kB / 461.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.229, allocations: 137.2 kB / 461.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.229, allocations: 7.938 kB / 461.5 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.2291, allocations: 38.56 kB / 461.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 3.947e-06/0.2291, allocations: 3.984 kB / 461.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.001032/0.2301, allocations: 467.6 kB / 462 MB, free: 3.176 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.2303, allocations: 113.1 kB / 462.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.2305, allocations: 142.4 kB / 462.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.2306, allocations: 29.64 kB / 462.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.2307, allocations: 96.78 kB / 462.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.2309, allocations: 137.9 kB / 462.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.231, allocations: 33.73 kB / 462.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003504/0.2314, allocations: 338.8 kB / 462.9 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.2316, allocations: 91.97 kB / 463 MB, free: 2.148 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.2317, allocations: 92.89 kB / 463.1 MB, free: 2.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005866/0.2323, allocations: 368.4 kB / 463.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2323, allocations: 0 / 463.4 MB, free: 1.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005751/0.2329, allocations: 319.1 kB / 463.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.2331, allocations: 85.62 kB / 463.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.2331, allocations: 3.984 kB / 463.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.2331, allocations: 4.062 kB / 463.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-06/0.2332, allocations: 0 / 463.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2332, allocations: 7.938 kB / 463.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.2333, allocations: 19.75 kB / 463.9 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.2333, allocations: 4 kB / 463.9 MB, free: 1.23 MB / 334.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003476/0.2337, allocations: 239.3 kB / 464.1 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.2337, allocations: 23.75 kB / 464.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.2338, allocations: 13.97 kB / 464.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2338, allocations: 0 / 464.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2338, allocations: 4 kB / 464.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2338, allocations: 0 / 464.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.2341, allocations: 233.2 kB / 464.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2341, allocations: 4 kB / 464.4 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-06/0.2342, allocations: 3.984 kB / 464.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2342, allocations: 0 / 464.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.2342, allocations: 4 kB / 464.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2342, allocations: 0 / 464.4 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2342, allocations: 4 kB / 464.4 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.2359, allocations: 0.9006 MB / 465.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-05/0.236, allocations: 100.7 kB / 465.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.236, allocations: 4 kB / 465.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.2361, allocations: 12 kB / 465.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.2362, allocations: 4 kB / 465.4 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.2362, allocations: 8 kB / 465.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.2364, allocations: 113.8 kB / 465.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2364, allocations: 3.938 kB / 465.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005073/0.2369, allocations: 64 kB / 465.6 MB, free: 15.4 MB / 350.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003165/0.2372, allocations: 119.3 kB / 465.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002473/0.2397, allocations: 1.585 MB / 467.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2397, allocations: 0 / 467.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.2416, allocations: 1.37 MB / 468.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.2421, allocations: 27.44 kB / 468.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2437, allocations: 0.7251 MB / 469.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/0.2443, allocations: 0.7517 MB / 470.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.2444, allocations: 7.438 kB / 470.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of SimCode: time 1.893e-06/0.2444, allocations: 0 / 470.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Templates: time 0.006701/0.2511, allocations: 2.304 MB / 472.5 MB, free: 8.422 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)