Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") 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: 109.5 kB / 17.68 MB, free: 5.332 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.002553/0.002553, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.696/1.696, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1847/0.1847, allocations: 37.99 MB / 309.8 MB, free: 5.977 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.00144/0.00144, allocations: 67.19 kB / 376.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2419, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002789/0.2447, allocations: 2.048 MB / 434.1 MB, free: 17.44 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005788/0.2453, allocations: 0.5619 MB / 434.6 MB, free: 16.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.2454, allocations: 0 / 434.6 MB, free: 16.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.2455, allocations: 11.92 kB / 434.6 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.844e-05/0.2456, allocations: 31.83 kB / 434.7 MB, free: 16.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.2459, allocations: 63.83 kB / 434.7 MB, free: 16.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000101/0.246, allocations: 67.77 kB / 434.8 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.246, allocations: 4 kB / 434.8 MB, free: 16.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.2461, allocations: 23.91 kB / 434.8 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.085e-05/0.2461, allocations: 35.78 kB / 434.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.2462, allocations: 0 / 434.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2463, allocations: 71.84 kB / 434.9 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.2463, allocations: 27.91 kB / 435 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2464, allocations: 31.69 kB / 435 MB, free: 16.51 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.2465, allocations: 131.5 kB / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2465, allocations: 0 / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2465, allocations: 0 / 435.1 MB, free: 16.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2466, allocations: 0 / 435.1 MB, free: 16.38 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000302/0.2469, allocations: 438.5 kB / 435.5 MB, free: 15.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.2469, allocations: 15.89 kB / 435.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.2469, allocations: 12.75 kB / 435.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.2471, allocations: 184.2 kB / 435.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.2471, allocations: 384 / 435.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2471, allocations: 8.125 kB / 435.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.2472, allocations: 93.61 kB / 435.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.2472, allocations: 3.984 kB / 435.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2472, allocations: 0 / 435.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.696e-06/0.2472, allocations: 0 / 435.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.737e-05/0.2473, allocations: 59.97 kB / 435.9 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.207e-05/0.2474, allocations: 177.5 kB / 436.1 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.229e-05/0.2475, allocations: 102.5 kB / 436.2 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.2475, allocations: 92.81 kB / 436.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-06/0.2475, allocations: 0 / 436.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.2476, allocations: 34.56 kB / 436.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 8.22e-07/0.2476, allocations: 0 / 436.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0002805/0.2478, allocations: 307.2 kB / 436.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.2479, allocations: 101.1 kB / 436.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.248, allocations: 129.8 kB / 436.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.248, allocations: 25.7 kB / 436.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.248, allocations: 96.61 kB / 437 MB, free: 14.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.088e-05/0.2481, allocations: 78.83 kB / 437 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2481, allocations: 29.7 kB / 437.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.2482, allocations: 322.8 kB / 437.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.2482, allocations: 59.97 kB / 437.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.634e-05/0.2482, allocations: 51.98 kB / 437.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.2484, allocations: 248.8 kB / 437.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2484, allocations: 0 / 437.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001478/0.2485, allocations: 234.9 kB / 438 MB, free: 13.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.888e-05/0.2486, allocations: 65.66 kB / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2486, allocations: 0 / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.2486, allocations: 0 / 438 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.2486, allocations: 3.938 kB / 438 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.2486, allocations: 0 / 438 MB, free: 13.2 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.2487, allocations: 15.84 kB / 438 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.2487, allocations: 8 kB / 438.1 MB, free: 13.18 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 9.626e-05/0.2488, allocations: 199.4 kB / 438.2 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.2488, allocations: 19.84 kB / 438.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.037e-05/0.2488, allocations: 13.17 kB / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2488, allocations: 0 / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2488, allocations: 4 kB / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2488, allocations: 0 / 438.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.796e-05/0.2489, allocations: 193.4 kB / 438.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2489, allocations: 4 kB / 438.5 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.2489, allocations: 3.984 kB / 438.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2489, allocations: 0 / 438.5 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.249, allocations: 8 kB / 438.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.249, allocations: 3.938 kB / 438.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.249, allocations: 4 kB / 438.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.2493, allocations: 0.5022 MB / 439 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.2494, allocations: 96.84 kB / 439.1 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2494, allocations: 4 kB / 439.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.2494, allocations: 4 kB / 439.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.2494, allocations: 0 / 439.1 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2495, allocations: 8 kB / 439.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.748e-05/0.2495, allocations: 107.5 kB / 439.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2495, allocations: 0 / 439.2 MB, free: 11.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002185/0.2497, allocations: 47.98 kB / 439.3 MB, free: 11.87 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.0001322/0.2499, allocations: 111.2 kB / 439.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004356/0.2503, allocations: 0.6984 MB / 440.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2503, allocations: 0 / 440.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.2506, allocations: 0.5695 MB / 440.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.2508, allocations: 28.05 kB / 440.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.2512, allocations: 428 kB / 441.1 MB, free: 9.988 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.2514, allocations: 0.716 MB / 441.8 MB, free: 9.246 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.563e-05/0.2514, allocations: 4 kB / 441.8 MB, free: 9.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.2514, allocations: 7.438 kB / 441.8 MB, free: 9.234 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2514, allocations: 3.938 kB / 441.8 MB, free: 9.23 MB / 318.1 MB Notification: Performance of Templates: time 0.003741/0.2552, allocations: 1.914 MB / 443.7 MB, free: 7.328 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)