Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001923/0.001923, allocations: 173.5 kB / 16.76 MB, free: 5.047 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.532/2.532, 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.001266/0.001266, allocations: 92.8 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.4112/0.4112, allocations: 38.08 MB / 357.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000665/0.0006651, allocations: 19.92 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5685, allocations: 56.31 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2137/0.7823, allocations: 102.1 MB / 0.5687 GB, free: 248 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004203/0.7828, allocations: 87.95 kB / 0.5688 GB, free: 160 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05851/0.8413, allocations: 14.61 MB / 0.583 GB, free: 1.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8414, allocations: 0 / 0.583 GB, free: 1.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.889e-05/0.8415, allocations: 19.94 kB / 0.5831 GB, free: 1.352 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002299/0.8438, allocations: 0.7115 MB / 0.5838 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.8439, allocations: 12.03 kB / 0.5838 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.8449, allocations: 92.22 kB / 0.5839 GB, free: 496 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/0.8468, allocations: 0.5545 MB / 0.5844 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.925e-05/0.8469, allocations: 37.34 kB / 0.5844 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/0.8471, allocations: 36.38 kB / 0.5845 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.8486, allocations: 0.6449 MB / 0.5851 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.8487, allocations: 7.875 kB / 0.5851 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.8488, allocations: 15.98 kB / 0.5851 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.8489, allocations: 44.97 kB / 0.5852 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.8502, allocations: 459.5 kB / 0.5856 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.8556, allocations: 3.04 MB / 0.5886 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.8564, allocations: 261.3 kB / 0.5888 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.8567, allocations: 156.9 kB / 0.589 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.517e-05/0.8568, allocations: 4 kB / 0.589 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.737e-05/0.8569, allocations: 38.55 kB / 0.589 GB, free: 10.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.499e-06/0.8569, allocations: 0 / 0.589 GB, free: 10.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.00271/0.8596, allocations: 1.017 MB / 0.59 GB, free: 9.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.8597, allocations: 85.05 kB / 0.5901 GB, free: 9.727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.8602, allocations: 316.4 kB / 0.5904 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.8603, allocations: 29.7 kB / 0.5904 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.8606, allocations: 279.2 kB / 0.5907 GB, free: 9.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.8607, allocations: 102.5 kB / 0.5908 GB, free: 8.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.8607, allocations: 12 kB / 0.5908 GB, free: 8.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.8609, allocations: 342.8 kB / 0.5911 GB, free: 8.637 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.8613, allocations: 152.9 kB / 0.5913 GB, free: 8.488 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.8619, allocations: 331.2 kB / 0.5916 GB, free: 8.082 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.8629, allocations: 0.5107 MB / 0.5921 GB, free: 7.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.8629, allocations: 0 / 0.5921 GB, free: 7.492 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001758/0.8647, allocations: 0.6121 MB / 0.5927 GB, free: 6.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.52e-05/0.8647, allocations: 10.5 kB / 0.5927 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009869/0.8657, allocations: 378.5 kB / 0.5931 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006377/0.8664, allocations: 117.6 kB / 0.5932 GB, free: 6.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.8669, allocations: 87.81 kB / 0.5932 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/0.8713, allocations: 3.03 MB / 0.5962 GB, free: 2.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.8718, allocations: 27.92 kB / 0.5962 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.09e-05/0.8719, allocations: 20 kB / 0.5963 GB, free: 2.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005515/0.8725, allocations: 209.7 kB / 0.5965 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.8727, allocations: 31.62 kB / 0.5965 GB, free: 2.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009832/0.8737, allocations: 377.2 kB / 0.5968 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.8737, allocations: 12 kB / 0.5969 GB, free: 2.297 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.8737, allocations: 3.938 kB / 0.5969 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.8737, allocations: 0 / 0.5969 GB, free: 2.293 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.8758, allocations: 0.8825 MB / 0.5977 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8758, allocations: 0 / 0.5977 GB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.8764, allocations: 71.88 kB / 0.5978 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.8764, allocations: 0 / 0.5978 GB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.8765, allocations: 8 kB / 0.5978 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.8765, allocations: 4 kB / 0.5978 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8765, allocations: 0 / 0.5978 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.8777, allocations: 0.5918 MB / 0.5984 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.8779, allocations: 132.7 kB / 0.5985 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.878, allocations: 8 kB / 0.5985 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.8783, allocations: 7.984 kB / 0.5985 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.8784, allocations: 31.91 kB / 0.5986 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.8785, allocations: 4 kB / 0.5986 GB, free: 460 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003622/0.8788, allocations: 211.1 kB / 0.5988 GB, free: 252 kB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8789, allocations: 4 kB / 0.5988 GB, free: 248 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009256/0.8798, allocations: 123.9 kB / 0.5989 GB, free: 124 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003509/0.8801, allocations: 127.2 kB / 0.599 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.8817, allocations: 0.6234 MB / 0.5996 GB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8817, allocations: 4 kB / 0.5996 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.8821, allocations: 145.6 kB / 0.5998 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008828/0.883, allocations: 68.48 kB / 0.5998 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002995/0.886, allocations: 1.31 MB / 0.6011 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/0.8868, allocations: 0.8699 MB / 0.6019 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.887, allocations: 35.44 kB / 0.602 GB, free: 12.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.482e-06/0.887, allocations: 0 / 0.602 GB, free: 12.85 MB / 442.7 MB Notification: Performance of Templates: time 0.01645/0.9035, allocations: 6.751 MB / 0.6086 GB, free: 6.098 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1)