Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002238/0.002238, allocations: 182.6 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001514/0.001514, allocations: 98.73 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.277/0.277, allocations: 38.07 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004659, allocations: 15.98 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1088, allocations: 56.33 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.5895, allocations: 94.04 MB / 0.5597 GB, free: 6.105 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5898, allocations: 85.39 kB / 0.5597 GB, free: 6.059 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06983/0.6597, allocations: 18.01 MB / 0.5773 GB, free: 7.137 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6597, allocations: 0 / 0.5773 GB, free: 7.137 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.6598, allocations: 4 kB / 0.5773 GB, free: 7.133 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001256/0.661, allocations: 0.5731 MB / 0.5779 GB, free: 6.531 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.6611, allocations: 12.03 kB / 0.5779 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.6632, allocations: 135.5 kB / 0.578 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007645/0.664, allocations: 292.7 kB / 0.5783 GB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.6641, allocations: 19.38 kB / 0.5783 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.6642, allocations: 27.03 kB / 0.5784 GB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6652, allocations: 438.7 kB / 0.5788 GB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.6652, allocations: 4 kB / 0.5788 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.6653, allocations: 6.125 kB / 0.5788 GB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.6655, allocations: 35.16 kB / 0.5788 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009854/0.6665, allocations: 412 kB / 0.5792 GB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.6698, allocations: 1.714 MB / 0.5809 GB, free: 3.785 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.6704, allocations: 296.4 kB / 0.5812 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.6705, allocations: 7.75 kB / 0.5812 GB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.6705, allocations: 30.75 kB / 0.5812 GB, free: 3.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.925e-06/0.6705, allocations: 0 / 0.5812 GB, free: 3.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.002681/0.6732, allocations: 0.7825 MB / 0.582 GB, free: 2.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.6733, allocations: 85.17 kB / 0.582 GB, free: 2.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.6736, allocations: 186.5 kB / 0.5822 GB, free: 2.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.6736, allocations: 29.39 kB / 0.5822 GB, free: 2.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.6738, allocations: 244.6 kB / 0.5825 GB, free: 2.305 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.6739, allocations: 81.72 kB / 0.5826 GB, free: 2.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.6739, allocations: 3.75 kB / 0.5826 GB, free: 2.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6741, allocations: 330.2 kB / 0.5829 GB, free: 1.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.6743, allocations: 101.4 kB / 0.583 GB, free: 1.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003564/0.6747, allocations: 205 kB / 0.5832 GB, free: 1.637 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.6751, allocations: 151.9 kB / 0.5833 GB, free: 1.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.6751, allocations: 0 / 0.5833 GB, free: 1.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001177/0.6763, allocations: 413.6 kB / 0.5837 GB, free: 1.223 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.6763, allocations: 8 kB / 0.5837 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6763, allocations: 0 / 0.5837 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.6769, allocations: 97.83 kB / 0.5838 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.6774, allocations: 59.83 kB / 0.5839 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.6803, allocations: 1.828 MB / 0.5857 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.6807, allocations: 19.42 kB / 0.5857 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.575e-05/0.6807, allocations: 15.98 kB / 0.5857 GB, free: 15.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.681, allocations: 176.6 kB / 0.5859 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.6811, allocations: 19.72 kB / 0.5859 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.6822, allocations: 382.4 kB / 0.5862 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6823, allocations: 4 kB / 0.5862 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6823, allocations: 7.938 kB / 0.5863 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.6823, allocations: 0 / 0.5863 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.6846, allocations: 0.9267 MB / 0.5872 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6846, allocations: 4.062 kB / 0.5872 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6849, allocations: 35.67 kB / 0.5872 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.6854, allocations: 76.22 kB / 0.5873 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.6854, allocations: 0 / 0.5873 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.688, allocations: 1.741 MB / 0.589 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.688, allocations: 0 / 0.589 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.6891, allocations: 499.5 kB / 0.5894 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.6893, allocations: 96.81 kB / 0.5895 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.6893, allocations: 6.438 kB / 0.5895 GB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.6896, allocations: 11.3 kB / 0.5896 GB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.6897, allocations: 19.06 kB / 0.5896 GB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.6897, allocations: 8 kB / 0.5896 GB, free: 11.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.6899, allocations: 160.9 kB / 0.5897 GB, free: 11.44 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6899, allocations: 0 / 0.5897 GB, free: 11.44 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007171/0.6906, allocations: 90 kB / 0.5898 GB, free: 11.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.6908, allocations: 106.1 kB / 0.5899 GB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.692, allocations: 427.2 kB / 0.5903 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.692, allocations: 0 / 0.5903 GB, free: 10.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006709/0.6927, allocations: 286.5 kB / 0.5906 GB, free: 10.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.6931, allocations: 30.38 kB / 0.5906 GB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.6948, allocations: 0.7727 MB / 0.5914 GB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.6953, allocations: 0.8151 MB / 0.5922 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.6955, allocations: 23.44 kB / 0.5922 GB, free: 9.035 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6955, allocations: 3.938 kB / 0.5922 GB, free: 9.031 MB / 394.7 MB Notification: Performance of Templates: time 0.01036/0.7059, allocations: 4.256 MB / 0.5964 GB, free: 4.805 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)