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.001646/0.001646, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001594/0.001594, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.653/1.653, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1793/0.1793, allocations: 37.99 MB / 309.8 MB, free: 5.965 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.001406/0.001406, allocations: 71.89 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 55.25 MB / 432 MB, free: 19.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003075/0.2477, allocations: 2.036 MB / 434.1 MB, free: 17.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006936/0.2484, allocations: 0.5658 MB / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.2484, allocations: 0 / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.2486, allocations: 11.92 kB / 434.6 MB, free: 16.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.686e-05/0.2487, allocations: 35.83 kB / 434.7 MB, free: 16.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.249, allocations: 67.83 kB / 434.7 MB, free: 16.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2492, allocations: 59.77 kB / 434.8 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.966e-05/0.2492, allocations: 4 kB / 434.8 MB, free: 16.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.2493, allocations: 31.84 kB / 434.8 MB, free: 16.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.2494, allocations: 27.84 kB / 434.9 MB, free: 16.63 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2494, allocations: 4 kB / 434.9 MB, free: 16.62 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2495, allocations: 75.83 kB / 434.9 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.083e-05/0.2496, allocations: 39.84 kB / 435 MB, free: 16.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.2496, allocations: 47.55 kB / 435 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2498, allocations: 149.2 kB / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2498, allocations: 0 / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2498, allocations: 4 kB / 435.2 MB, free: 16.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2499, allocations: 0 / 435.2 MB, free: 16.32 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.0003799/0.2502, allocations: 476.6 kB / 435.6 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2503, allocations: 15.89 kB / 435.7 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.2503, allocations: 16.66 kB / 435.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.2505, allocations: 200.5 kB / 435.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2505, allocations: 7.938 kB / 435.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.2505, allocations: 0 / 435.9 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2507, allocations: 134.6 kB / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2507, allocations: 3.984 kB / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2507, allocations: 0 / 436 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2507, allocations: 7.875 kB / 436 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.2508, allocations: 96.3 kB / 436.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.251, allocations: 198.1 kB / 436.3 MB, free: 15.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.2511, allocations: 146.9 kB / 436.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.018e-05/0.2512, allocations: 141.2 kB / 436.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.2512, allocations: 4 kB / 436.6 MB, free: 14.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2512, allocations: 38.5 kB / 436.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 9.52e-07/0.2512, allocations: 0 / 436.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004598/0.2517, allocations: 479.8 kB / 437.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.2517, allocations: 109.1 kB / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.2518, allocations: 146.4 kB / 437.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.2519, allocations: 25.7 kB / 437.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.2519, allocations: 96.8 kB / 437.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.252, allocations: 130.1 kB / 437.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/0.252, allocations: 29.7 kB / 437.6 MB, free: 13.64 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.2521, allocations: 342.8 kB / 438 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.2522, allocations: 87.97 kB / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.2523, allocations: 95.91 kB / 438.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.2525, allocations: 369.4 kB / 438.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2525, allocations: 4 kB / 438.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002453/0.2528, allocations: 319 kB / 438.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.2528, allocations: 85.69 kB / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2529, allocations: 4 kB / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2529, allocations: 0 / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.2529, allocations: 0 / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.2529, allocations: 0 / 438.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.2529, allocations: 23.78 kB / 438.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.253, allocations: 8 kB / 438.9 MB, free: 12.29 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.000159/0.2531, allocations: 239.3 kB / 439.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2532, allocations: 23.72 kB / 439.2 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.2532, allocations: 13.97 kB / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2532, allocations: 7.922 kB / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2532, allocations: 0 / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2532, allocations: 0 / 439.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2533, allocations: 229.3 kB / 439.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2533, allocations: 0 / 439.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2533, allocations: 3.938 kB / 439.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.2534, allocations: 0 / 439.4 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.2534, allocations: 8 kB / 439.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2534, allocations: 0 / 439.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2534, allocations: 0 / 439.4 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.2541, allocations: 0.9081 MB / 440.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2541, allocations: 104.7 kB / 440.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2541, allocations: 4 kB / 440.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.194e-05/0.2542, allocations: 8 kB / 440.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.2542, allocations: 4 kB / 440.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.2542, allocations: 8 kB / 440.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.518e-05/0.2543, allocations: 116.7 kB / 440.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2543, allocations: 0 / 440.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.2545, allocations: 64.03 kB / 440.7 MB, free: 10.46 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.0001557/0.2547, allocations: 119.2 kB / 440.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009309/0.2556, allocations: 1.585 MB / 442.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2556, allocations: 0 / 442.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000722/0.2564, allocations: 1.366 MB / 443.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.2567, allocations: 24 kB / 443.7 MB, free: 7.332 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.2574, allocations: 0.6256 MB / 444.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.2576, allocations: 0.7478 MB / 445.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.135e-05/0.2576, allocations: 4 kB / 445.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.056e-05/0.2576, allocations: 7.438 kB / 445.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2576, allocations: 0 / 445.1 MB, free: 5.895 MB / 318.1 MB Notification: Performance of Templates: time 0.005625/0.2633, allocations: 2.64 MB / 447.8 MB, free: 3.262 MB / 318.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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)