Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 106.3 kB / 17.74 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.001031/0.001031, allocations: 185.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1711/0.1711, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3032, allocations: 58.06 MB / 0.5048 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003071/0.3063, allocations: 2.048 MB / 0.5068 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006946/0.307, allocations: 0.5231 MB / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.3071, allocations: 0 / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.3072, allocations: 9.734 kB / 0.5073 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.3073, allocations: 25.7 kB / 0.5073 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.3077, allocations: 67.39 kB / 0.5074 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3078, allocations: 59.58 kB / 0.5074 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3078, allocations: 3.156 kB / 0.5074 GB, free: 6.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.395e-05/0.3079, allocations: 37.12 kB / 0.5075 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.308, allocations: 27.98 kB / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.308, allocations: 1.062 kB / 0.5075 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.3082, allocations: 79.27 kB / 0.5076 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.3082, allocations: 15.09 kB / 0.5076 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.3083, allocations: 18.23 kB / 0.5076 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.3085, allocations: 114.2 kB / 0.5077 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3085, allocations: 0 / 0.5077 GB, free: 6.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3085, allocations: 0 / 0.5077 GB, free: 6.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3085, allocations: 0 / 0.5077 GB, free: 6.145 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002961/0.3088, allocations: 414.4 kB / 0.5081 GB, free: 5.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3089, allocations: 12.83 kB / 0.5081 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3089, allocations: 7.172 kB / 0.5081 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.309, allocations: 178.5 kB / 0.5083 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.309, allocations: 1.531 kB / 0.5083 GB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.3091, allocations: 5.828 kB / 0.5083 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3092, allocations: 65.47 kB / 0.5084 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3092, allocations: 3.781 kB / 0.5084 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3092, allocations: 0 / 0.5084 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3092, allocations: 5.031 kB / 0.5084 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.734e-05/0.3093, allocations: 29.06 kB / 0.5084 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.3094, allocations: 166.9 kB / 0.5086 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.226e-05/0.3094, allocations: 54.75 kB / 0.5086 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.39e-05/0.3095, allocations: 47.92 kB / 0.5087 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.3095, allocations: 2.125 kB / 0.5087 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.3095, allocations: 38.5 kB / 0.5087 GB, free: 5.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.3095, allocations: 5.156 kB / 0.5087 GB, free: 5.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002492/0.3098, allocations: 179.1 kB / 0.5089 GB, free: 5.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.3098, allocations: 87.77 kB / 0.509 GB, free: 4.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.3099, allocations: 119.4 kB / 0.5091 GB, free: 4.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.3099, allocations: 26.27 kB / 0.5091 GB, free: 4.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.3099, allocations: 90.27 kB / 0.5092 GB, free: 4.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.31, allocations: 41.48 kB / 0.5092 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.31, allocations: 22.45 kB / 0.5092 GB, free: 4.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.036e-05/0.3101, allocations: 324.5 kB / 0.5096 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.3101, allocations: 29.22 kB / 0.5096 GB, free: 4.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/0.3101, allocations: 28.92 kB / 0.5096 GB, free: 4.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.3103, allocations: 158.7 kB / 0.5098 GB, free: 4.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3103, allocations: 1.5 kB / 0.5098 GB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001403/0.3104, allocations: 148.2 kB / 0.5099 GB, free: 4.195 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3105, allocations: 47.42 kB / 0.51 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3105, allocations: 0 / 0.51 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3105, allocations: 0.6094 kB / 0.51 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.3105, allocations: 5.312 kB / 0.51 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3105, allocations: 0.5156 kB / 0.51 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.3106, allocations: 6.359 kB / 0.51 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3106, allocations: 8.125 kB / 0.51 GB, free: 4.152 MB / 382.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.273e-05/0.3107, allocations: 164.1 kB / 0.5101 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.3107, allocations: 15.36 kB / 0.5101 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.23e-05/0.3107, allocations: 10.91 kB / 0.5102 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3107, allocations: 1.219 kB / 0.5102 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3107, allocations: 0.6562 kB / 0.5102 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.3107, allocations: 87.98 kB / 0.5102 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3108, allocations: 10.88 kB / 0.5103 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.3108, allocations: 2.375 kB / 0.5103 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.702e-05/0.3108, allocations: 2.672 kB / 0.5103 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003001/0.3111, allocations: 420.1 kB / 0.5107 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002791/0.3114, allocations: 418.4 kB / 0.5111 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001143/0.3115, allocations: 137.8 kB / 0.5112 GB, free: 3.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.3116, allocations: 93.28 kB / 0.5113 GB, free: 3.219 MB / 382.1 MB Notification: Performance of Backend: time 3.8e-07/0.3116, allocations: 0 / 0.5113 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005149/0.3121, allocations: 320.2 kB / 0.5116 GB, free: 3.023 MB / 382.1 MB Notification: Performance of SimCode: time 0.0004616/0.3126, allocations: 0.71 MB / 0.5123 GB, free: 2.352 MB / 382.1 MB Notification: Performance of Templates: time 0.00393/0.3165, allocations: 1.337 MB / 0.5136 GB, free: 2.219 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)