Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009218/0.0009218, allocations: 173.5 kB / 16.76 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 205.4 MB / 222.9 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009227/0.0009224, allocations: 92.75 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1682/0.1682, allocations: 38.06 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004866, allocations: 15.94 kB / 423.9 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2854, allocations: 56.32 MB / 480.3 MB, free: 9.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.4006, allocations: 87.11 MB / 0.5541 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.401, allocations: 83.95 kB / 0.5541 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004631/0.4056, allocations: 1.557 MB / 0.5557 GB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4056, allocations: 0 / 0.5557 GB, free: 13.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4056, allocations: 4 kB / 0.5557 GB, free: 13.65 MB / 394.7 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.0003236/0.406, allocations: 397.2 kB / 0.5561 GB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.406, allocations: 12.03 kB / 0.5561 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.4061, allocations: 8.781 kB / 0.5561 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.4062, allocations: 192.1 kB / 0.5563 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.4062, allocations: 384 / 0.5563 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4063, allocations: 4.375 kB / 0.5563 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.4064, allocations: 58.23 kB / 0.5563 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4064, allocations: 4.188 kB / 0.5563 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.4064, allocations: 3.938 kB / 0.5563 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4064, allocations: 4 kB / 0.5563 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.4065, allocations: 27.98 kB / 0.5564 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.4066, allocations: 161.6 kB / 0.5565 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.4067, allocations: 58.56 kB / 0.5566 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.84e-05/0.4068, allocations: 44.86 kB / 0.5566 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-06/0.4068, allocations: 0 / 0.5566 GB, free: 12.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4068, allocations: 38.56 kB / 0.5566 GB, free: 12.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.4068, allocations: 4 kB / 0.5566 GB, free: 12.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002698/0.4071, allocations: 187.3 kB / 0.5568 GB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4071, allocations: 89.11 kB / 0.5569 GB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.4072, allocations: 114.2 kB / 0.557 GB, free: 12.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.4073, allocations: 29.7 kB / 0.557 GB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.4073, allocations: 88.14 kB / 0.5571 GB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.4074, allocations: 39.34 kB / 0.5572 GB, free: 11.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.4074, allocations: 8 kB / 0.5572 GB, free: 11.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4075, allocations: 318.9 kB / 0.5575 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.4075, allocations: 27.98 kB / 0.5575 GB, free: 11.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.4076, allocations: 36.42 kB / 0.5575 GB, free: 11.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.4077, allocations: 156.2 kB / 0.5577 GB, free: 11.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.4077, allocations: 0 / 0.5577 GB, free: 11.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001582/0.4079, allocations: 151.1 kB / 0.5578 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.4079, allocations: 45.69 kB / 0.5579 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.408, allocations: 3.938 kB / 0.5579 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.408, allocations: 4 kB / 0.5579 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.408, allocations: 4.062 kB / 0.5579 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.408, allocations: 0 / 0.5579 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.886e-05/0.408, allocations: 11.92 kB / 0.5579 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.408, allocations: 0 / 0.5579 GB, free: 11.1 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.4082, allocations: 171.5 kB / 0.5581 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.4082, allocations: 7.906 kB / 0.5581 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.142e-05/0.4082, allocations: 8.312 kB / 0.5581 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4082, allocations: 0 / 0.5581 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4082, allocations: 4 kB / 0.5581 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.4082, allocations: 4 kB / 0.5581 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001174/0.4083, allocations: 173.5 kB / 0.5583 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4084, allocations: 7.938 kB / 0.5583 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4084, allocations: 0 / 0.5583 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.4084, allocations: 0 / 0.5583 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4084, allocations: 7.938 kB / 0.5583 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4084, allocations: 3.984 kB / 0.5583 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4084, allocations: 0 / 0.5583 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.4087, allocations: 282.5 kB / 0.5585 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.4088, allocations: 92.97 kB / 0.5586 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.4088, allocations: 7.938 kB / 0.5586 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.764e-05/0.4088, allocations: 0 / 0.5586 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.4088, allocations: 4 kB / 0.5586 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4088, allocations: 4 kB / 0.5586 GB, free: 10.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.4089, allocations: 91.27 kB / 0.5587 GB, free: 10.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4089, allocations: 0 / 0.5587 GB, free: 10.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002024/0.4091, allocations: 28 kB / 0.5588 GB, free: 10.12 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.4093, allocations: 119.2 kB / 0.5589 GB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.4096, allocations: 287.3 kB / 0.5591 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4096, allocations: 0 / 0.5591 GB, free: 9.695 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.4098, allocations: 231.2 kB / 0.5594 GB, free: 9.457 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.41, allocations: 10.67 kB / 0.5594 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.4104, allocations: 315.3 kB / 0.5597 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.4107, allocations: 0.7004 MB / 0.5604 GB, free: 8.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.4107, allocations: 7.438 kB / 0.5604 GB, free: 8.375 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4107, allocations: 0 / 0.5604 GB, free: 8.375 MB / 394.7 MB Notification: Performance of Templates: time 0.002466/0.4132, allocations: 1.26 MB / 0.5616 GB, free: 7.125 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1)