Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008474/0.0008474, allocations: 173.9 kB / 16.77 MB, free: 4.926 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.264/1.264, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007367/0.000737, allocations: 78.42 kB / 271.3 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1676/0.1676, allocations: 38.07 MB / 357.6 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.000332, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4163, allocations: 87.08 MB / 0.5541 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4167, allocations: 79.94 kB / 0.5541 GB, free: 15.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005063/0.4218, allocations: 1.667 MB / 0.5558 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4218, allocations: 0 / 0.5558 GB, free: 13.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.4218, allocations: 0 / 0.5558 GB, free: 13.56 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004063/0.4222, allocations: 433.1 kB / 0.5562 GB, free: 13.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4223, allocations: 8.031 kB / 0.5562 GB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.4223, allocations: 16.69 kB / 0.5562 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.4225, allocations: 182.6 kB / 0.5564 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4225, allocations: 8.375 kB / 0.5564 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.4226, allocations: 384 / 0.5564 GB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.4227, allocations: 94.16 kB / 0.5565 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4227, allocations: 192 / 0.5565 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4228, allocations: 3.938 kB / 0.5565 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4228, allocations: 8 kB / 0.5565 GB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.4229, allocations: 55.97 kB / 0.5565 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.4231, allocations: 181.5 kB / 0.5567 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.4232, allocations: 102.5 kB / 0.5568 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.4233, allocations: 84.86 kB / 0.5569 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.4233, allocations: 3.984 kB / 0.5569 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.4233, allocations: 38.5 kB / 0.5569 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.4233, allocations: 0 / 0.5569 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004081/0.4237, allocations: 311.2 kB / 0.5572 GB, free: 11.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.4238, allocations: 93.11 kB / 0.5573 GB, free: 11.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4239, allocations: 137.8 kB / 0.5574 GB, free: 11.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.4239, allocations: 25.7 kB / 0.5575 GB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.863e-05/0.424, allocations: 92.58 kB / 0.5576 GB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.4241, allocations: 78.75 kB / 0.5576 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4241, allocations: 0 / 0.5576 GB, free: 11.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4242, allocations: 326.8 kB / 0.5579 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.738e-05/0.4243, allocations: 55.97 kB / 0.558 GB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.4244, allocations: 59.97 kB / 0.558 GB, free: 10.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.4246, allocations: 252.7 kB / 0.5583 GB, free: 10.72 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4247, allocations: 4.031 kB / 0.5583 GB, free: 10.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002474/0.4249, allocations: 223.1 kB / 0.5585 GB, free: 10.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.879e-05/0.425, allocations: 65.59 kB / 0.5586 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.425, allocations: 0 / 0.5586 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.425, allocations: 0 / 0.5586 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.795e-06/0.425, allocations: 0 / 0.5586 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4251, allocations: 7.938 kB / 0.5586 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.451e-05/0.4251, allocations: 11.84 kB / 0.5586 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.4251, allocations: 7.984 kB / 0.5586 GB, free: 10.39 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.0001616/0.4253, allocations: 203.5 kB / 0.5588 GB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.4253, allocations: 19.75 kB / 0.5588 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.831e-05/0.4254, allocations: 9.188 kB / 0.5588 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4254, allocations: 0 / 0.5588 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4254, allocations: 0 / 0.5588 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4254, allocations: 0 / 0.5588 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.4255, allocations: 205.4 kB / 0.559 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4255, allocations: 3.938 kB / 0.559 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.4255, allocations: 0 / 0.559 GB, free: 9.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4256, allocations: 3.938 kB / 0.559 GB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.4256, allocations: 8 kB / 0.559 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4256, allocations: 0 / 0.559 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4256, allocations: 4 kB / 0.559 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.4261, allocations: 0.4984 MB / 0.5595 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.373e-05/0.4262, allocations: 92.86 kB / 0.5596 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4262, allocations: 7.938 kB / 0.5596 GB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.437e-05/0.4262, allocations: 4 kB / 0.5596 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.4263, allocations: 7.984 kB / 0.5596 GB, free: 9.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.4263, allocations: 12.03 kB / 0.5596 GB, free: 9.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.4264, allocations: 101.1 kB / 0.5597 GB, free: 9.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4264, allocations: 0 / 0.5597 GB, free: 9.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002493/0.4266, allocations: 44 kB / 0.5598 GB, free: 9.074 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.000204/0.4268, allocations: 107.2 kB / 0.5599 GB, free: 8.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.4275, allocations: 0.7022 MB / 0.5606 GB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4275, allocations: 0 / 0.5606 GB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004373/0.428, allocations: 0.5696 MB / 0.5611 GB, free: 7.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.4282, allocations: 20.12 kB / 0.5611 GB, free: 7.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.4289, allocations: 492.4 kB / 0.5616 GB, free: 7.125 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4292, allocations: 0.724 MB / 0.5623 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.4292, allocations: 11.38 kB / 0.5623 GB, free: 6.363 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4292, allocations: 0 / 0.5623 GB, free: 6.363 MB / 394.7 MB Notification: Performance of Templates: time 0.00326/0.4325, allocations: 1.712 MB / 0.564 GB, free: 4.664 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)