Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 114.6 kB / 17.28 MB, free: 6.219 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.002833/0.002833, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.75/2.75, allocations: 222.9 MB / 241.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4409/0.4409, allocations: 38.02 MB / 330 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002939/0.00294, allocations: 68.72 kB / 398.9 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2309, allocations: 58.07 MB / 457 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.007466/0.2385, allocations: 2.095 MB / 459.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2401, allocations: 0.5182 MB / 459.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.84e-05/0.2402, allocations: 0 / 459.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.2406, allocations: 7.922 kB / 459.6 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.2409, allocations: 31.91 kB / 459.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.2414, allocations: 63.83 kB / 459.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.2417, allocations: 63.72 kB / 459.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2418, allocations: 7.984 kB / 459.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.242, allocations: 27.84 kB / 459.8 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.2422, allocations: 31.91 kB / 459.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2422, allocations: 0 / 459.8 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.2425, allocations: 71.84 kB / 459.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.2426, allocations: 15.92 kB / 459.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.2427, allocations: 27.8 kB / 460 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.243, allocations: 80.11 kB / 460 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.243, allocations: 0 / 460 MB, free: 5.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.243, allocations: 0 / 460 MB, free: 5.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.243, allocations: 0 / 460 MB, free: 5.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000666/0.2437, allocations: 397 kB / 460.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/0.2438, allocations: 11.89 kB / 460.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.412e-05/0.2438, allocations: 8.844 kB / 460.4 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.2441, allocations: 180.2 kB / 460.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2442, allocations: 384 / 460.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.2442, allocations: 8.125 kB / 460.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.2444, allocations: 69.62 kB / 460.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.2444, allocations: 0 / 460.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2445, allocations: 0 / 460.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2445, allocations: 0 / 460.7 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.2446, allocations: 27.98 kB / 460.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002653/0.2449, allocations: 165.7 kB / 460.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.245, allocations: 58.5 kB / 460.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.2451, allocations: 56.64 kB / 461 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.2452, allocations: 0 / 461 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.2452, allocations: 38.5 kB / 461 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.714e-06/0.2452, allocations: 0 / 461 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004716/0.2457, allocations: 175.3 kB / 461.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.2458, allocations: 93.25 kB / 461.3 MB, free: 3.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.246, allocations: 121.7 kB / 461.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.2461, allocations: 29.7 kB / 461.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2462, allocations: 96.16 kB / 461.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.2463, allocations: 39.36 kB / 461.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.2464, allocations: 17.72 kB / 461.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.2466, allocations: 318.8 kB / 461.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.784e-05/0.2467, allocations: 31.98 kB / 461.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.475e-05/0.2468, allocations: 27.98 kB / 462 MB, free: 3.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.247, allocations: 156.2 kB / 462.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.247, allocations: 0 / 462.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002999/0.2474, allocations: 149 kB / 462.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/0.2475, allocations: 49.69 kB / 462.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2475, allocations: 7.875 kB / 462.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2475, allocations: 0 / 462.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-06/0.2475, allocations: 0 / 462.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.2475, allocations: 0 / 462.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.2476, allocations: 4 kB / 462.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.2476, allocations: 7.984 kB / 462.3 MB, free: 2.781 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.0002202/0.2479, allocations: 163.5 kB / 462.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.2479, allocations: 11.88 kB / 462.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.248, allocations: 12.38 kB / 462.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.248, allocations: 0 / 462.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.248, allocations: 0 / 462.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.248, allocations: 0 / 462.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.2483, allocations: 185.4 kB / 462.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2483, allocations: 0 / 462.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.193e-06/0.2483, allocations: 0 / 462.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2483, allocations: 0 / 462.7 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.2483, allocations: 8 kB / 462.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2483, allocations: 0 / 462.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2484, allocations: 4 kB / 462.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000571/0.2489, allocations: 286.5 kB / 463 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.636e-05/0.249, allocations: 81.11 kB / 463.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.2491, allocations: 0 / 463.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.707e-05/0.2491, allocations: 7.938 kB / 463.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.2491, allocations: 0 / 463.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.2492, allocations: 4 kB / 463.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.678e-05/0.2493, allocations: 96.14 kB / 463.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2493, allocations: 7.969 kB / 463.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000492/0.2498, allocations: 32 kB / 463.2 MB, free: 1.789 MB / 334.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.0002985/0.2501, allocations: 119.1 kB / 463.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.2507, allocations: 291.3 kB / 463.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.2507, allocations: 0 / 463.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003326/0.2511, allocations: 219.3 kB / 463.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.2516, allocations: 15.31 kB / 463.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.2524, allocations: 328.8 kB / 464.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.2529, allocations: 0.7002 MB / 464.9 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.008e-05/0.2529, allocations: 7.438 kB / 464.9 MB, free: 44 kB / 334.1 MB Notification: Performance of SimCode: time 9.72e-07/0.253, allocations: 4 kB / 464.9 MB, free: 40 kB / 334.1 MB Notification: Performance of Templates: time 0.004932/0.2579, allocations: 1.241 MB / 466.1 MB, free: 14.79 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)