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 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.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.0008161/0.0008163, allocations: 92.75 kB / 16.65 MB, free: 6.535 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.000999/0.0009994, allocations: 174.3 kB / 17.56 MB, free: 6.184 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.471/1.471, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.167/0.167, allocations: 38.05 MB / 310.1 MB, free: 5.918 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.0005973/0.0005973, allocations: 15.28 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2398, allocations: 56.33 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002065/0.2419, allocations: 1.747 MB / 435.2 MB, free: 16.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.2426, allocations: 0.5698 MB / 435.8 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.539e-05/0.2426, allocations: 8 kB / 435.8 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.2428, allocations: 7.922 kB / 435.8 MB, free: 16.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.2429, allocations: 23.91 kB / 435.8 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2432, allocations: 63.84 kB / 435.9 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2433, allocations: 103.8 kB / 436 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.2433, allocations: 4 kB / 436 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.2434, allocations: 23.86 kB / 436 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.2434, allocations: 39.83 kB / 436.1 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.2435, allocations: 0 / 436.1 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.2436, allocations: 79.84 kB / 436.2 MB, free: 16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.2437, allocations: 43.84 kB / 436.2 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.2437, allocations: 69.25 kB / 436.3 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.2439, allocations: 161.3 kB / 436.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2439, allocations: 0 / 436.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2439, allocations: 0 / 436.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2439, allocations: 0 / 436.4 MB, free: 15.73 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000331/0.2442, allocations: 468.6 kB / 436.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2443, allocations: 8.031 kB / 436.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.2443, allocations: 16.75 kB / 436.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2444, allocations: 204.4 kB / 437.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2445, allocations: 11.94 kB / 437.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.2445, allocations: 0 / 437.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.2446, allocations: 122.6 kB / 437.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2447, allocations: 0 / 437.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.2447, allocations: 0 / 437.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.2447, allocations: 0 / 437.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.101e-05/0.2448, allocations: 100.2 kB / 437.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.2449, allocations: 206.1 kB / 437.5 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.245, allocations: 150.9 kB / 437.7 MB, free: 14.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.2451, allocations: 141.2 kB / 437.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.2451, allocations: 0 / 437.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2451, allocations: 30.56 kB / 437.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.052e-06/0.2451, allocations: 0 / 437.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004206/0.2455, allocations: 491.7 kB / 438.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.2456, allocations: 105.1 kB / 438.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.962e-05/0.2457, allocations: 146.5 kB / 438.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2457, allocations: 33.7 kB / 438.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.78e-05/0.2457, allocations: 92.8 kB / 438.7 MB, free: 13.22 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.304e-05/0.2458, allocations: 122.1 kB / 438.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.2458, allocations: 37.64 kB / 438.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.2459, allocations: 334.8 kB / 439.2 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/0.2459, allocations: 87.97 kB / 439.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.246, allocations: 95.95 kB / 439.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.2462, allocations: 369.4 kB / 439.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2462, allocations: 0 / 439.7 MB, free: 12.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002215/0.2465, allocations: 326.9 kB / 440 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.2465, allocations: 85.62 kB / 440.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2465, allocations: 0 / 440.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2465, allocations: 0 / 440.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2466, allocations: 0 / 440.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2466, allocations: 0 / 440.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.2466, allocations: 23.69 kB / 440.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2466, allocations: 8 kB / 440.2 MB, free: 11.71 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 (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.0001416/0.2468, allocations: 243.3 kB / 440.4 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2468, allocations: 19.81 kB / 440.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.304e-05/0.2468, allocations: 13.95 kB / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2468, allocations: 0 / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2468, allocations: 0 / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2468, allocations: 0 / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.247, allocations: 229.3 kB / 440.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.247, allocations: 0 / 440.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-06/0.247, allocations: 0 / 440.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.247, allocations: 3.938 kB / 440.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.247, allocations: 12 kB / 440.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.247, allocations: 0 / 440.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.247, allocations: 0 / 440.7 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006469/0.2477, allocations: 0.912 MB / 441.6 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.773e-05/0.2477, allocations: 104.7 kB / 441.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.2477, allocations: 4 kB / 441.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.183e-05/0.2478, allocations: 8 kB / 441.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.2478, allocations: 4 kB / 441.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2478, allocations: 12.03 kB / 441.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.694e-05/0.2479, allocations: 115.9 kB / 441.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2479, allocations: 0 / 441.8 MB, free: 9.945 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.2481, allocations: 63.98 kB / 441.9 MB, free: 9.883 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 (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.000148/0.2483, allocations: 119.2 kB / 442 MB, free: 9.758 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008823/0.2492, allocations: 1.581 MB / 443.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2492, allocations: 0 / 443.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.2498, allocations: 1.37 MB / 445 MB, free: 6.781 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.2501, allocations: 24.11 kB / 445 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.2507, allocations: 0.6978 MB / 445.7 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2509, allocations: 0.7475 MB / 446.4 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.639e-05/0.2509, allocations: 4 kB / 446.4 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-06/0.2509, allocations: 7.438 kB / 446.4 MB, free: 5.254 MB / 318.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2509, allocations: 4 kB / 446.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of Templates: time 0.004261/0.2552, allocations: 2.37 MB / 448.8 MB, free: 2.891 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: