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.0007439/0.0007439, allocations: 90.47 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.0007502/0.0007502, 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.429/1.429, 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.1696/0.1696, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0004712/0.0004713, allocations: 12 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 56.33 MB / 433.5 MB, free: 18.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002022/0.248, allocations: 1.75 MB / 435.2 MB, free: 17.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005743/0.2486, allocations: 0.5698 MB / 435.8 MB, free: 16.44 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.2486, allocations: 0 / 435.8 MB, free: 16.44 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.2487, allocations: 7.984 kB / 435.8 MB, free: 16.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.2488, allocations: 27.83 kB / 435.8 MB, free: 16.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2491, allocations: 63.86 kB / 435.9 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.2492, allocations: 107.8 kB / 436 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.2493, allocations: 4 kB / 436 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.2493, allocations: 23.84 kB / 436 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.374e-05/0.2494, allocations: 35.84 kB / 436.1 MB, free: 16.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.2494, allocations: 4 kB / 436.1 MB, free: 16.17 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2495, allocations: 71.84 kB / 436.1 MB, free: 16.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.2496, allocations: 31.91 kB / 436.2 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.432e-05/0.2496, allocations: 57.39 kB / 436.2 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.2498, allocations: 125.5 kB / 436.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2498, allocations: 8 kB / 436.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2498, allocations: 0 / 436.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2498, allocations: 0 / 436.4 MB, free: 15.88 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.0003429/0.2502, allocations: 432.7 kB / 436.8 MB, free: 15.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2502, allocations: 12.03 kB / 436.8 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.2503, allocations: 16.75 kB / 436.8 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.2504, allocations: 180.2 kB / 437 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.2504, allocations: 384 / 437 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.2505, allocations: 4.125 kB / 437 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.2506, allocations: 101.6 kB / 437.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2506, allocations: 0 / 437.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2506, allocations: 0 / 437.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.2506, allocations: 0 / 437.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.494e-05/0.2507, allocations: 59.97 kB / 437.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.2508, allocations: 177.5 kB / 437.3 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.587e-05/0.2509, allocations: 94.56 kB / 437.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.647e-05/0.251, allocations: 88.8 kB / 437.5 MB, free: 14.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.251, allocations: 7.938 kB / 437.5 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.251, allocations: 34.56 kB / 437.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 8.42e-07/0.251, allocations: 0 / 437.5 MB, free: 14.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003417/0.2513, allocations: 307.3 kB / 437.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.2514, allocations: 93.09 kB / 437.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.016e-05/0.2515, allocations: 133.8 kB / 438.1 MB, free: 13.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.2515, allocations: 25.7 kB / 438.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.985e-05/0.2515, allocations: 92.56 kB / 438.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.2516, allocations: 82.78 kB / 438.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.2516, allocations: 25.66 kB / 438.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.743e-05/0.2517, allocations: 326.8 kB / 438.6 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.2517, allocations: 55.97 kB / 438.7 MB, free: 13.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.2518, allocations: 59.92 kB / 438.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.2519, allocations: 248.8 kB / 439 MB, free: 13.03 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.252, allocations: 0 / 439 MB, free: 13.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001634/0.2521, allocations: 223 kB / 439.2 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.2522, allocations: 64.78 kB / 439.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2522, allocations: 4.062 kB / 439.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2522, allocations: 4 kB / 439.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.2522, allocations: 3.938 kB / 439.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2522, allocations: 3.984 kB / 439.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.2523, allocations: 11.84 kB / 439.3 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.2523, allocations: 7.984 kB / 439.3 MB, free: 12.7 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.0001253/0.2524, allocations: 203.4 kB / 439.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.2525, allocations: 15.81 kB / 439.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.2525, allocations: 13.12 kB / 439.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2525, allocations: 4 kB / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2525, allocations: 0 / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2525, allocations: 0 / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2526, allocations: 209.4 kB / 439.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2526, allocations: 0 / 439.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2526, allocations: 0 / 439.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2526, allocations: 0 / 439.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2527, allocations: 4 kB / 439.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2527, allocations: 4 kB / 439.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2527, allocations: 0 / 439.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.2531, allocations: 0.51 MB / 440.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.2531, allocations: 88.95 kB / 440.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.2532, allocations: 4 kB / 440.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.2532, allocations: 4 kB / 440.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.349e-05/0.2532, allocations: 4 kB / 440.3 MB, free: 11.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.2532, allocations: 8 kB / 440.3 MB, free: 11.53 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.335e-05/0.2533, allocations: 99.25 kB / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.2533, allocations: 0 / 440.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2535, allocations: 55.97 kB / 440.5 MB, free: 11.38 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.000156/0.2537, allocations: 111.2 kB / 440.6 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.2542, allocations: 0.6984 MB / 441.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2542, allocations: 0 / 441.3 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.2546, allocations: 0.5657 MB / 441.9 MB, free: 9.969 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.2548, allocations: 19.92 kB / 441.9 MB, free: 9.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.2553, allocations: 485.9 kB / 442.4 MB, free: 9.449 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.2555, allocations: 0.7319 MB / 443.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.693e-05/0.2555, allocations: 0 / 443.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-06/0.2555, allocations: 7.438 kB / 443.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2555, allocations: 0 / 443.1 MB, free: 8.684 MB / 318.1 MB Notification: Performance of Templates: time 0.003968/0.2595, allocations: 1.722 MB / 444.8 MB, free: 6.977 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: