Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002188/0.002188, allocations: 185.7 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 90.64 kB / 261.8 MB, free: 1.68 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.2565/0.2565, allocations: 38 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.695e-05/1.693e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.6305, allocations: 93.93 MB / 0.547 GB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.6308, allocations: 88.78 kB / 0.5471 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04993/0.6808, allocations: 14.13 MB / 0.5609 GB, free: 4.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6808, allocations: 4 kB / 0.5609 GB, free: 4.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.6809, allocations: 8 kB / 0.5609 GB, free: 4.883 MB / 362.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.0006814/0.6815, allocations: 496.2 kB / 0.5614 GB, free: 4.375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6816, allocations: 8.031 kB / 0.5614 GB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.6829, allocations: 103.5 kB / 0.5615 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.6833, allocations: 263.2 kB / 0.5617 GB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.6834, allocations: 8 kB / 0.5617 GB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.6834, allocations: 12 kB / 0.5617 GB, free: 3.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004509/0.6839, allocations: 196.3 kB / 0.5619 GB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.6844, allocations: 277.7 kB / 0.5622 GB, free: 3.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.6844, allocations: 4 kB / 0.5622 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.6845, allocations: 0 / 0.5622 GB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.6846, allocations: 27.78 kB / 0.5622 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.6867, allocations: 1.226 MB / 0.5634 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.6873, allocations: 226.8 kB / 0.5636 GB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.6875, allocations: 89.38 kB / 0.5637 GB, free: 2.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.6875, allocations: 15.97 kB / 0.5637 GB, free: 2.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.6876, allocations: 34.56 kB / 0.5638 GB, free: 2.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.6876, allocations: 0 / 0.5638 GB, free: 2.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008299/0.6884, allocations: 342.7 kB / 0.5641 GB, free: 1.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.6884, allocations: 85.14 kB / 0.5642 GB, free: 1.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.6886, allocations: 160.6 kB / 0.5643 GB, free: 1.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.6887, allocations: 25.7 kB / 0.5644 GB, free: 1.594 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.6887, allocations: 218.3 kB / 0.5646 GB, free: 1.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.6888, allocations: 61.92 kB / 0.5646 GB, free: 1.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.6888, allocations: 4 kB / 0.5646 GB, free: 1.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.6889, allocations: 321.4 kB / 0.5649 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.6891, allocations: 77.5 kB / 0.565 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.6893, allocations: 151.6 kB / 0.5651 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.6895, allocations: 103.4 kB / 0.5652 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6895, allocations: 0 / 0.5652 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005126/0.69, allocations: 247.5 kB / 0.5655 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.6901, allocations: 12.23 kB / 0.5655 GB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.6901, allocations: 7.984 kB / 0.5655 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6901, allocations: 4 kB / 0.5655 GB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/0.6905, allocations: 59.28 kB / 0.5656 GB, free: 496 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6906, allocations: 4 kB / 0.5656 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.6908, allocations: 7.984 kB / 0.5656 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.6909, allocations: 8 kB / 0.5656 GB, free: 476 kB / 362.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 (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.988e-05/0.6909, allocations: 120.7 kB / 0.5657 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.691, allocations: 15.81 kB / 0.5657 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004492/0.6915, allocations: 218.4 kB / 0.5659 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6915, allocations: 4 kB / 0.5659 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.6915, allocations: 0 / 0.5659 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.6915, allocations: 0 / 0.5659 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.6934, allocations: 0.8896 MB / 0.5668 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.6934, allocations: 7.984 kB / 0.5668 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.6937, allocations: 39.78 kB / 0.5668 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.6937, allocations: 7.938 kB / 0.5668 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.6938, allocations: 8 kB / 0.5669 GB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.6938, allocations: 7.938 kB / 0.5669 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.6938, allocations: 4 kB / 0.5669 GB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.6945, allocations: 0.5845 MB / 0.5674 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.6947, allocations: 96.42 kB / 0.5675 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.6947, allocations: 11.98 kB / 0.5675 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.695, allocations: 7.938 kB / 0.5675 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.6951, allocations: 27.36 kB / 0.5676 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.6951, allocations: 12 kB / 0.5676 GB, free: 14.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.6953, allocations: 128.4 kB / 0.5677 GB, free: 14.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6953, allocations: 0 / 0.5677 GB, free: 14.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.6959, allocations: 63.92 kB / 0.5678 GB, free: 14.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001725/0.696, allocations: 115 kB / 0.5679 GB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.6965, allocations: 193.6 kB / 0.5681 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6965, allocations: 64 / 0.5681 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.6967, allocations: 91.14 kB / 0.5681 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.6972, allocations: 38.12 kB / 0.5682 GB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6983, allocations: 456 kB / 0.5686 GB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.6988, allocations: 0.7738 MB / 0.5694 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.6989, allocations: 19.44 kB / 0.5694 GB, free: 12.62 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6989, allocations: 0 / 0.5694 GB, free: 12.62 MB / 378.7 MB Notification: Performance of Templates: time 0.006543/0.7055, allocations: 2.54 MB / 0.5719 GB, free: 10.11 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)