Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009369/0.0009369, allocations: 168.8 kB / 16.76 MB, free: 4.938 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.269/1.269, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007181/0.0007182, allocations: 96.14 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2646/0.2646, allocations: 38.07 MB / 357.6 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003665, allocations: 12 kB / 423.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2885, allocations: 56.32 MB / 480.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1233/0.4118, allocations: 87.08 MB / 0.554 GB, free: 15.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4121, allocations: 83.94 kB / 0.5541 GB, free: 15.19 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005143/0.4173, allocations: 1.801 MB / 0.5559 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4173, allocations: 0 / 0.5559 GB, free: 13.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.4173, allocations: 4 kB / 0.5559 GB, free: 13.39 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004119/0.4177, allocations: 472.8 kB / 0.5563 GB, free: 12.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4178, allocations: 16.02 kB / 0.5564 GB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.4178, allocations: 16.66 kB / 0.5564 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.418, allocations: 204.5 kB / 0.5566 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.4181, allocations: 384 / 0.5566 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.4181, allocations: 8.375 kB / 0.5566 GB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.4183, allocations: 126.8 kB / 0.5567 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.4183, allocations: 0 / 0.5567 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4183, allocations: 0 / 0.5567 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4183, allocations: 3.984 kB / 0.5567 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.4184, allocations: 96.23 kB / 0.5568 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.4186, allocations: 198.1 kB / 0.557 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.4188, allocations: 150.9 kB / 0.5571 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.4189, allocations: 149.2 kB / 0.5573 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-06/0.4189, allocations: 0 / 0.5573 GB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.419, allocations: 34.5 kB / 0.5573 GB, free: 11.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 9.42e-07/0.419, allocations: 0 / 0.5573 GB, free: 11.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005553/0.4195, allocations: 484.8 kB / 0.5578 GB, free: 11.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.4196, allocations: 105.1 kB / 0.5579 GB, free: 11.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.4198, allocations: 150.4 kB / 0.558 GB, free: 11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4198, allocations: 25.7 kB / 0.558 GB, free: 10.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.4198, allocations: 100.8 kB / 0.5581 GB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4199, allocations: 126.1 kB / 0.5582 GB, free: 10.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.42, allocations: 0 / 0.5582 GB, free: 10.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4201, allocations: 334.8 kB / 0.5586 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.4202, allocations: 91.97 kB / 0.5586 GB, free: 10.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.4203, allocations: 99.83 kB / 0.5587 GB, free: 10.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.4206, allocations: 365.4 kB / 0.5591 GB, free: 9.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4206, allocations: 0 / 0.5591 GB, free: 9.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003255/0.4209, allocations: 338.8 kB / 0.5594 GB, free: 9.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/0.421, allocations: 81.64 kB / 0.5595 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.421, allocations: 4 kB / 0.5595 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.4211, allocations: 0 / 0.5595 GB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.054e-06/0.4211, allocations: 3.984 kB / 0.5595 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4211, allocations: 0 / 0.5595 GB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.4211, allocations: 15.84 kB / 0.5595 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.4212, allocations: 11.94 kB / 0.5595 GB, free: 9.379 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.0001931/0.4214, allocations: 243.3 kB / 0.5598 GB, free: 9.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.4214, allocations: 27.75 kB / 0.5598 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.861e-05/0.4214, allocations: 9.969 kB / 0.5598 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4214, allocations: 0 / 0.5598 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.4214, allocations: 0 / 0.5598 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.4214, allocations: 0 / 0.5598 GB, free: 9.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.4216, allocations: 229.3 kB / 0.56 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4216, allocations: 0 / 0.56 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-06/0.4216, allocations: 4 kB / 0.56 GB, free: 8.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4216, allocations: 4 kB / 0.56 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.4217, allocations: 7.984 kB / 0.56 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4217, allocations: 0 / 0.56 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4217, allocations: 8 kB / 0.56 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.4226, allocations: 0.908 MB / 0.5609 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.4227, allocations: 92.86 kB / 0.561 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.4227, allocations: 8 kB / 0.561 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.276e-05/0.4227, allocations: 4 kB / 0.561 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.4228, allocations: 11.98 kB / 0.561 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4228, allocations: 8 kB / 0.561 GB, free: 7.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.802e-05/0.4229, allocations: 116 kB / 0.5612 GB, free: 7.602 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4229, allocations: 0 / 0.5612 GB, free: 7.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.4231, allocations: 64 kB / 0.5612 GB, free: 7.539 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.0001773/0.4233, allocations: 123.1 kB / 0.5613 GB, free: 7.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.4246, allocations: 1.585 MB / 0.5629 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.4246, allocations: 0 / 0.5629 GB, free: 5.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009673/0.4256, allocations: 1.366 MB / 0.5642 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.4259, allocations: 36.03 kB / 0.5642 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008819/0.4268, allocations: 0.7117 MB / 0.5649 GB, free: 3.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.427, allocations: 0.7468 MB / 0.5657 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.4271, allocations: 11.44 kB / 0.5657 GB, free: 2.871 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4271, allocations: 0 / 0.5657 GB, free: 2.871 MB / 394.7 MB Notification: Performance of Templates: time 0.003866/0.4309, allocations: 2.3 MB / 0.5679 GB, free: 0.582 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)