Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 91.45 kB / 16.65 MB, free: 6.598 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.001069/0.001069, allocations: 177 kB / 17.56 MB, free: 6.203 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.501/1.501, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1726/0.1726, 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.0005485/0.0005482, allocations: 12 kB / 377.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2687, allocations: 56.33 MB / 433.5 MB, free: 18.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002352/0.2711, allocations: 1.75 MB / 435.2 MB, free: 16.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.272, allocations: 0.5737 MB / 435.8 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.2721, allocations: 0 / 435.8 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.2724, allocations: 7.984 kB / 435.8 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.2726, allocations: 31.84 kB / 435.8 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.273, allocations: 55.84 kB / 435.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2732, allocations: 103.8 kB / 436 MB, free: 16.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.497e-05/0.2733, allocations: 7.984 kB / 436 MB, free: 16.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.2734, allocations: 39.8 kB / 436 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/0.2735, allocations: 35.83 kB / 436.1 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2735, allocations: 0 / 436.1 MB, free: 16.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.2737, allocations: 71.89 kB / 436.2 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.229e-05/0.2738, allocations: 11.94 kB / 436.2 MB, free: 16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.2739, allocations: 41.56 kB / 436.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.2741, allocations: 109.7 kB / 436.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2741, allocations: 0 / 436.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2741, allocations: 0 / 436.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2741, allocations: 0 / 436.3 MB, free: 15.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004146/0.2745, allocations: 385 kB / 436.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.2746, allocations: 11.97 kB / 436.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.2747, allocations: 8.844 kB / 436.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.2749, allocations: 168.4 kB / 436.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2749, allocations: 4.375 kB / 436.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.2749, allocations: 4.125 kB / 436.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.275, allocations: 53.62 kB / 436.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2751, allocations: 0 / 436.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2751, allocations: 0 / 436.9 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.2751, allocations: 4 kB / 436.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.2751, allocations: 27.97 kB / 437 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.2753, allocations: 161.6 kB / 437.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.2754, allocations: 42.56 kB / 437.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.421e-05/0.2755, allocations: 36.83 kB / 437.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2755, allocations: 3.984 kB / 437.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.2755, allocations: 38.5 kB / 437.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.2755, allocations: 4 kB / 437.2 MB, free: 14.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.00035/0.2759, allocations: 143.3 kB / 437.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2759, allocations: 89.05 kB / 437.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.276, allocations: 109.8 kB / 437.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.276, allocations: 25.7 kB / 437.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.2761, allocations: 84.14 kB / 437.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.2761, allocations: 31.7 kB / 437.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.2762, allocations: 13.72 kB / 437.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.2762, allocations: 322.9 kB / 438 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-05/0.2763, allocations: 19.98 kB / 438.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/0.2763, allocations: 27.92 kB / 438.1 MB, free: 13.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.661e-05/0.2764, allocations: 124.2 kB / 438.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2764, allocations: 0 / 438.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.2765, allocations: 123.2 kB / 438.3 MB, free: 13.56 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.2766, allocations: 41.69 kB / 438.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2766, allocations: 0 / 438.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2766, allocations: 0 / 438.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.924e-06/0.2766, allocations: 0 / 438.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2767, allocations: 8 kB / 438.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.2767, allocations: 7.938 kB / 438.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.2767, allocations: 4 kB / 438.4 MB, free: 13.5 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 8.993e-05/0.2768, allocations: 163.4 kB / 438.6 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.2768, allocations: 11.84 kB / 438.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.551e-05/0.2769, allocations: 8.375 kB / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2769, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2769, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.2769, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.958e-05/0.277, allocations: 173.6 kB / 438.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.277, allocations: 3.984 kB / 438.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.277, allocations: 0 / 438.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.277, allocations: 0 / 438.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.277, allocations: 4 kB / 438.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.277, allocations: 0 / 438.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.277, allocations: 0 / 438.8 MB, free: 13.07 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.2772, allocations: 211 kB / 439 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.815e-05/0.2773, allocations: 85.14 kB / 439 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.2773, allocations: 0 / 439 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.2773, allocations: 4 kB / 439 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.2774, allocations: 7.922 kB / 439.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.2774, allocations: 4 kB / 439.1 MB, free: 12.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.38e-05/0.2774, allocations: 95.2 kB / 439.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2774, allocations: 0 / 439.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.2777, allocations: 28 kB / 439.2 MB, free: 12.61 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.000196/0.2779, allocations: 115.2 kB / 439.3 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2781, allocations: 195.3 kB / 439.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2781, allocations: 0 / 439.5 MB, free: 12.28 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.2782, allocations: 151.4 kB / 439.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2785, allocations: 11.94 kB / 439.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.2789, allocations: 244.5 kB / 439.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.279, allocations: 0.6926 MB / 440.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.61e-05/0.279, allocations: 0 / 440.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-06/0.279, allocations: 7.438 kB / 440.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.279, allocations: 0 / 440.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of Templates: time 0.003856/0.2829, allocations: 0.9941 MB / 441.6 MB, free: 10.13 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) Environment - environmentSimulation: