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.001344/0.001343, allocations: 115.5 kB / 17.69 MB, free: 5.438 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.001307/0.001307, allocations: 192 kB / 18.63 MB, free: 4.504 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.583/1.583, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.99 MB / 309.8 MB, free: 5.984 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.001472/0.001472, allocations: 67.91 kB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2945, allocations: 55.25 MB / 432 MB, free: 19.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003083/0.2976, allocations: 2.04 MB / 434.1 MB, free: 17.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006977/0.2984, allocations: 0.5697 MB / 434.6 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2984, allocations: 0 / 434.6 MB, free: 16.88 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001822/0.2986, allocations: 11.92 kB / 434.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.2987, allocations: 27.91 kB / 434.7 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.299, allocations: 71.78 kB / 434.8 MB, free: 16.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2991, allocations: 59.81 kB / 434.8 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.2992, allocations: 0 / 434.8 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.215e-05/0.2993, allocations: 39.78 kB / 434.8 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.2993, allocations: 23.91 kB / 434.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2993, allocations: 0 / 434.9 MB, free: 16.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.2995, allocations: 79.83 kB / 434.9 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.2995, allocations: 7.938 kB / 435 MB, free: 16.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.2996, allocations: 19.86 kB / 435 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.2997, allocations: 97.58 kB / 435.1 MB, free: 16.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2997, allocations: 4 kB / 435.1 MB, free: 16.44 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2997, allocations: 0 / 435.1 MB, free: 16.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2998, allocations: 0 / 435.1 MB, free: 16.44 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.0003196/0.3001, allocations: 390.5 kB / 435.5 MB, free: 16.01 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3001, allocations: 15.83 kB / 435.5 MB, free: 16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3002, allocations: 8.844 kB / 435.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3003, allocations: 172.3 kB / 435.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.3003, allocations: 4.375 kB / 435.7 MB, free: 15.78 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3003, allocations: 4.125 kB / 435.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3005, allocations: 65.55 kB / 435.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3005, allocations: 3.984 kB / 435.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3005, allocations: 0 / 435.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3005, allocations: 0 / 435.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.16e-05/0.3005, allocations: 19.98 kB / 435.7 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001025/0.3006, allocations: 165.7 kB / 435.9 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.86e-05/0.3007, allocations: 42.56 kB / 435.9 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.3007, allocations: 36.81 kB / 436 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-06/0.3007, allocations: 4 kB / 436 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.3008, allocations: 38.5 kB / 436 MB, free: 15.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.3008, allocations: 0 / 436 MB, free: 15.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001966/0.301, allocations: 139.3 kB / 436.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.301, allocations: 85.11 kB / 436.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.3011, allocations: 113.8 kB / 436.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.3011, allocations: 25.7 kB / 436.4 MB, free: 14.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.3011, allocations: 88.12 kB / 436.5 MB, free: 14.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.3012, allocations: 23.69 kB / 436.5 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.3012, allocations: 25.7 kB / 436.5 MB, free: 14.78 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.3013, allocations: 314.8 kB / 436.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.3013, allocations: 19.98 kB / 436.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.3013, allocations: 23.92 kB / 436.9 MB, free: 14.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.887e-05/0.3014, allocations: 124.2 kB / 437 MB, free: 14.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3014, allocations: 0 / 437 MB, free: 14.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.3015, allocations: 127.4 kB / 437.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3016, allocations: 45.75 kB / 437.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3016, allocations: 3.984 kB / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3016, allocations: 4 kB / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.3016, allocations: 0 / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3016, allocations: 3.938 kB / 437.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/0.3016, allocations: 7.938 kB / 437.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.3017, allocations: 0 / 437.2 MB, free: 14.08 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 7.75e-05/0.3017, allocations: 163.4 kB / 437.3 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.3018, allocations: 8.281 kB / 437.3 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.3018, allocations: 12.36 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3018, allocations: 3.938 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3018, allocations: 4 kB / 437.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3018, allocations: 3.938 kB / 437.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.325e-05/0.3019, allocations: 165.6 kB / 437.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.3019, allocations: 0 / 437.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.3019, allocations: 0 / 437.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.3019, allocations: 0 / 437.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.3019, allocations: 8 kB / 437.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.3019, allocations: 0 / 437.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3019, allocations: 0 / 437.5 MB, free: 13.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.3021, allocations: 218.6 kB / 437.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.3021, allocations: 81.02 kB / 437.8 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3022, allocations: 4 kB / 437.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.491e-05/0.3022, allocations: 0 / 437.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.3022, allocations: 4 kB / 437.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.3022, allocations: 0 / 437.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.148e-05/0.3022, allocations: 95.2 kB / 437.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3023, allocations: 4.031 kB / 437.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.3025, allocations: 28 kB / 438 MB, free: 13.18 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.0001351/0.3026, allocations: 111.2 kB / 438.1 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.3028, allocations: 195.3 kB / 438.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3028, allocations: 0 / 438.3 MB, free: 12.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.3029, allocations: 147.4 kB / 438.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3031, allocations: 11.94 kB / 438.4 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.3035, allocations: 222.6 kB / 438.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.3036, allocations: 0.6963 MB / 439.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.214e-05/0.3036, allocations: 3.938 kB / 439.3 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-06/0.3036, allocations: 7.438 kB / 439.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3036, allocations: 0 / 439.3 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Templates: time 0.003467/0.3071, allocations: 1.063 MB / 440.4 MB, free: 10.66 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)