Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 186 kB / 13.19 MB, free: 2.125 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.163/2.163, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001394/0.001394, allocations: 94.69 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2618/0.2618, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.145e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 56.32 MB / 473.1 MB, free: 0.918 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5149/0.6172, allocations: 94.73 MB / 0.5545 GB, free: 9.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.6176, allocations: 79.95 kB / 0.5546 GB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0587/0.6764, allocations: 14.11 MB / 0.5684 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.6764, allocations: 0 / 0.5684 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.6764, allocations: 4 kB / 0.5684 GB, free: 10.68 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008819/0.6773, allocations: 0.4943 MB / 0.5689 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6774, allocations: 8.031 kB / 0.5689 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.6789, allocations: 115.5 kB / 0.569 GB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.6794, allocations: 271.4 kB / 0.5693 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.6795, allocations: 11.98 kB / 0.5693 GB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.6796, allocations: 20 kB / 0.5693 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.6803, allocations: 321.6 kB / 0.5696 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6803, allocations: 0 / 0.5696 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.6804, allocations: 8 kB / 0.5696 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001292/0.6805, allocations: 23.97 kB / 0.5696 GB, free: 9.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.6813, allocations: 295.7 kB / 0.5699 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.6838, allocations: 1.252 MB / 0.5711 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.6842, allocations: 161 kB / 0.5713 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.6845, allocations: 105.7 kB / 0.5714 GB, free: 7.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.6845, allocations: 7.984 kB / 0.5714 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6846, allocations: 38.56 kB / 0.5714 GB, free: 7.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.605e-06/0.6846, allocations: 0 / 0.5714 GB, free: 7.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.001451/0.686, allocations: 435.2 kB / 0.5718 GB, free: 6.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.6861, allocations: 81.02 kB / 0.5719 GB, free: 6.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.6864, allocations: 169.5 kB / 0.5721 GB, free: 6.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.6864, allocations: 29.7 kB / 0.5721 GB, free: 6.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.6866, allocations: 214.4 kB / 0.5723 GB, free: 6.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.6867, allocations: 67.14 kB / 0.5724 GB, free: 6.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/0.6867, allocations: 4 kB / 0.5724 GB, free: 6.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6869, allocations: 318.8 kB / 0.5727 GB, free: 6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.6871, allocations: 75.97 kB / 0.5728 GB, free: 5.926 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.6874, allocations: 148.4 kB / 0.5729 GB, free: 5.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.6877, allocations: 99.94 kB / 0.573 GB, free: 5.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6877, allocations: 0 / 0.573 GB, free: 5.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001012/0.6887, allocations: 345.9 kB / 0.5733 GB, free: 5.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.6888, allocations: 4 kB / 0.5733 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.6888, allocations: 7.938 kB / 0.5733 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/0.6894, allocations: 93.06 kB / 0.5734 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.6897, allocations: 43.91 kB / 0.5735 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.6932, allocations: 1.944 MB / 0.5754 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.6935, allocations: 11.98 kB / 0.5754 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.6936, allocations: 12 kB / 0.5754 GB, free: 3.055 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.6938, allocations: 120.8 kB / 0.5755 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.574e-05/0.6938, allocations: 19.72 kB / 0.5755 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.6949, allocations: 315.8 kB / 0.5758 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.695, allocations: 4 kB / 0.5758 GB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.695, allocations: 3.984 kB / 0.5758 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.695, allocations: 0 / 0.5758 GB, free: 2.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.6969, allocations: 0.7388 MB / 0.5766 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.6969, allocations: 0 / 0.5766 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.6972, allocations: 27.92 kB / 0.5766 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/0.6976, allocations: 80.78 kB / 0.5767 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.6977, allocations: 0 / 0.5767 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.7006, allocations: 1.827 MB / 0.5784 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7007, allocations: 0 / 0.5784 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009686/0.7016, allocations: 431.7 kB / 0.5789 GB, free: 15.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.7018, allocations: 96.86 kB / 0.5789 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.7018, allocations: 11.95 kB / 0.579 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.702, allocations: 7.984 kB / 0.579 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/0.7021, allocations: 11.98 kB / 0.579 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.7022, allocations: 15.98 kB / 0.579 GB, free: 15.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001888/0.7024, allocations: 140.2 kB / 0.5791 GB, free: 14.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7024, allocations: 0 / 0.5791 GB, free: 14.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006352/0.703, allocations: 75.98 kB / 0.5792 GB, free: 14.87 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002281/0.7033, allocations: 115 kB / 0.5793 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.7043, allocations: 362.6 kB / 0.5797 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7043, allocations: 0 / 0.5797 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.705, allocations: 254.3 kB / 0.5799 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.7054, allocations: 29.44 kB / 0.5799 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.7064, allocations: 383.4 kB / 0.5803 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.7069, allocations: 0.7792 MB / 0.5811 GB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.402e-05/0.7071, allocations: 19.44 kB / 0.5811 GB, free: 12.85 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7071, allocations: 0 / 0.5811 GB, free: 12.85 MB / 426.7 MB Notification: Performance of Templates: time 0.009147/0.7162, allocations: 3.412 MB / 0.5844 GB, free: 9.434 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)