Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.001591, allocations: 173.5 kB / 16.76 MB, free: 5.059 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.68/2.68, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.001253/0.001253, allocations: 97.47 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3897/0.3897, allocations: 38.08 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005859/0.0005863, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5184/0.519, allocations: 56.32 MB / 480.3 MB, free: 9.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2453/0.7643, allocations: 100.9 MB / 0.5676 GB, free: 1.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000456/0.7649, allocations: 91.95 kB / 0.5677 GB, free: 1.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06326/0.8282, allocations: 12.57 MB / 0.58 GB, free: 4.598 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.8282, allocations: 0 / 0.58 GB, free: 4.598 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.8283, allocations: 8 kB / 0.58 GB, free: 4.59 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002223/0.8305, allocations: 0.7117 MB / 0.5807 GB, free: 3.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/0.8306, allocations: 12.03 kB / 0.5807 GB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.8317, allocations: 96.16 kB / 0.5808 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/0.8335, allocations: 0.5428 MB / 0.5813 GB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.924e-05/0.8336, allocations: 34.12 kB / 0.5813 GB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.8337, allocations: 36 kB / 0.5814 GB, free: 3.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.8354, allocations: 0.6332 MB / 0.582 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.8355, allocations: 11.94 kB / 0.582 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-05/0.8356, allocations: 16 kB / 0.582 GB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/0.8357, allocations: 32.94 kB / 0.582 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.837, allocations: 451.5 kB / 0.5825 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/0.843, allocations: 2.938 MB / 0.5853 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.8437, allocations: 197 kB / 0.5855 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/0.8441, allocations: 132.5 kB / 0.5856 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.816e-05/0.8441, allocations: 4 kB / 0.5856 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.763e-05/0.8442, allocations: 42.56 kB / 0.5857 GB, free: 14.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 6.072e-06/0.8442, allocations: 0 / 0.5857 GB, free: 14.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00315/0.8474, allocations: 0.9644 MB / 0.5866 GB, free: 13.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/0.8475, allocations: 84.98 kB / 0.5867 GB, free: 13.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.8482, allocations: 332.4 kB / 0.587 GB, free: 12.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.8483, allocations: 25.7 kB / 0.5871 GB, free: 12.89 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.8486, allocations: 291.3 kB / 0.5873 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.8488, allocations: 90.73 kB / 0.5874 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.8488, allocations: 8 kB / 0.5874 GB, free: 12.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002776/0.8491, allocations: 346.8 kB / 0.5878 GB, free: 12.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.8495, allocations: 140.8 kB / 0.5879 GB, free: 12.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/0.8502, allocations: 329 kB / 0.5882 GB, free: 11.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.8515, allocations: 0.5163 MB / 0.5887 GB, free: 11.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.8515, allocations: 4 kB / 0.5887 GB, free: 11.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002077/0.8536, allocations: 0.5859 MB / 0.5893 GB, free: 10.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.8536, allocations: 4 kB / 0.5893 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001086/0.8547, allocations: 332.5 kB / 0.5896 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.8554, allocations: 76.78 kB / 0.5897 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.8561, allocations: 95.81 kB / 0.5898 GB, free: 9.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.859, allocations: 1.604 MB / 0.5913 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.8597, allocations: 23.98 kB / 0.5914 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.5e-05/0.8598, allocations: 20 kB / 0.5914 GB, free: 8.129 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006753/0.8605, allocations: 213.7 kB / 0.5916 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.8607, allocations: 39.56 kB / 0.5916 GB, free: 7.871 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.8619, allocations: 344.7 kB / 0.5919 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/0.862, allocations: 4 kB / 0.592 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.862, allocations: 0 / 0.592 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.862, allocations: 3.984 kB / 0.592 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.8648, allocations: 0.8671 MB / 0.5928 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.8649, allocations: 4 kB / 0.5928 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.8654, allocations: 63.89 kB / 0.5929 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/0.8655, allocations: 0 / 0.5929 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.8655, allocations: 8 kB / 0.5929 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.8656, allocations: 0 / 0.5929 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.8656, allocations: 7.984 kB / 0.5929 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.867, allocations: 0.5598 MB / 0.5934 GB, free: 5.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.8672, allocations: 112.6 kB / 0.5935 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.661e-05/0.8673, allocations: 8 kB / 0.5935 GB, free: 5.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003319/0.8677, allocations: 15.98 kB / 0.5936 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.8677, allocations: 19.92 kB / 0.5936 GB, free: 5.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.8678, allocations: 11.98 kB / 0.5936 GB, free: 5.742 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004552/0.8683, allocations: 227 kB / 0.5938 GB, free: 5.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8683, allocations: 0 / 0.5938 GB, free: 5.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001097/0.8694, allocations: 104 kB / 0.5939 GB, free: 5.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (25): * Single equations (assignments): 23 * 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.0003796/0.8698, allocations: 123.1 kB / 0.594 GB, free: 5.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.8714, allocations: 493.3 kB / 0.5945 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.8714, allocations: 0 / 0.5945 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.8718, allocations: 139.8 kB / 0.5946 GB, free: 4.656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.8728, allocations: 67.14 kB / 0.5947 GB, free: 4.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.8761, allocations: 1.306 MB / 0.596 GB, free: 3.246 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008166/0.8769, allocations: 0.8698 MB / 0.5968 GB, free: 2.348 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.8772, allocations: 35.38 kB / 0.5968 GB, free: 2.312 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8772, allocations: 0 / 0.5968 GB, free: 2.312 MB / 426.7 MB Notification: Performance of Templates: time 0.01706/0.8943, allocations: 5.776 MB / 0.6025 GB, free: 12.54 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)