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.001543/0.001543, allocations: 181.6 kB / 15.76 MB, free: 6.344 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.053/2.053, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001152/0.001152, allocations: 102.7 kB / 270.3 MB, free: 13.34 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.2677/0.2677, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004693, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 56.32 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6215/0.7407, allocations: 94.69 MB / 0.5603 GB, free: 5.531 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.741, allocations: 87.52 kB / 0.5604 GB, free: 5.484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05598/0.797, allocations: 14.29 MB / 0.5743 GB, free: 9.676 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.7971, allocations: 0 / 0.5743 GB, free: 9.676 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.7971, allocations: 4 kB / 0.5743 GB, free: 9.672 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009977/0.7981, allocations: 0.5043 MB / 0.5748 GB, free: 9.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7982, allocations: 8.031 kB / 0.5748 GB, free: 9.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.7996, allocations: 107.5 kB / 0.5749 GB, free: 9.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.8002, allocations: 264 kB / 0.5752 GB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.8002, allocations: 15.48 kB / 0.5752 GB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/0.8003, allocations: 19.56 kB / 0.5752 GB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/0.8011, allocations: 324.2 kB / 0.5755 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.8011, allocations: 0 / 0.5755 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.621e-05/0.8011, allocations: 6.938 kB / 0.5755 GB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/0.8013, allocations: 23.97 kB / 0.5756 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.802, allocations: 281.9 kB / 0.5758 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.8048, allocations: 1.271 MB / 0.5771 GB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.8056, allocations: 242.4 kB / 0.5773 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.8056, allocations: 0 / 0.5773 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.8057, allocations: 41.25 kB / 0.5773 GB, free: 6.812 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.154e-06/0.8057, allocations: 3.938 kB / 0.5773 GB, free: 6.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.001298/0.807, allocations: 437.6 kB / 0.5778 GB, free: 6.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/0.8071, allocations: 77.11 kB / 0.5778 GB, free: 6.391 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.8074, allocations: 181.4 kB / 0.578 GB, free: 6.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.8074, allocations: 28.58 kB / 0.578 GB, free: 6.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.8076, allocations: 223.5 kB / 0.5782 GB, free: 5.992 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.666e-05/0.8077, allocations: 61.59 kB / 0.5783 GB, free: 5.938 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.8077, allocations: 11.75 kB / 0.5783 GB, free: 5.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.8078, allocations: 318.5 kB / 0.5786 GB, free: 5.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.8081, allocations: 91.16 kB / 0.5787 GB, free: 5.547 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.8084, allocations: 154.1 kB / 0.5788 GB, free: 5.402 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.8087, allocations: 105.5 kB / 0.5789 GB, free: 5.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.8087, allocations: 0 / 0.5789 GB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006971/0.8094, allocations: 294.2 kB / 0.5792 GB, free: 5.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.8094, allocations: 4 kB / 0.5792 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.8094, allocations: 4 kB / 0.5792 GB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.8095, allocations: 4 kB / 0.5792 GB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.81, allocations: 55.89 kB / 0.5793 GB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.81, allocations: 4 kB / 0.5793 GB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.8103, allocations: 15.48 kB / 0.5793 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.8103, allocations: 11.38 kB / 0.5793 GB, free: 5.031 MB / 378.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 () * Number of clocked 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 0.0002274/0.8106, allocations: 157.9 kB / 0.5795 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.8106, allocations: 19.77 kB / 0.5795 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.8113, allocations: 232.9 kB / 0.5797 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.8113, allocations: 4 kB / 0.5797 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8113, allocations: 0 / 0.5797 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.8113, allocations: 3.984 kB / 0.5797 GB, free: 4.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.8135, allocations: 0.9527 MB / 0.5807 GB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/0.8136, allocations: 4 kB / 0.5807 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.8139, allocations: 35.97 kB / 0.5807 GB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.8139, allocations: 4 kB / 0.5807 GB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.8139, allocations: 11.25 kB / 0.5807 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/0.8139, allocations: 8.438 kB / 0.5807 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.814, allocations: 7.953 kB / 0.5807 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008184/0.8148, allocations: 0.6055 MB / 0.5813 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.8149, allocations: 96.91 kB / 0.5814 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.307e-05/0.815, allocations: 10.75 kB / 0.5814 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.8153, allocations: 15.05 kB / 0.5814 GB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.8154, allocations: 26.88 kB / 0.5815 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.8154, allocations: 11.94 kB / 0.5815 GB, free: 2.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.8157, allocations: 147.4 kB / 0.5816 GB, free: 2.758 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8157, allocations: 0 / 0.5816 GB, free: 2.758 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005539/0.8162, allocations: 65.98 kB / 0.5817 GB, free: 2.699 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 () * Number of clocked 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.0001737/0.8164, allocations: 115 kB / 0.5818 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00056/0.817, allocations: 211.1 kB / 0.582 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.817, allocations: 0 / 0.582 GB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.8173, allocations: 101.5 kB / 0.5821 GB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.8177, allocations: 45.42 kB / 0.5821 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.8193, allocations: 0.6851 MB / 0.5828 GB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.8198, allocations: 0.7717 MB / 0.5835 GB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.8199, allocations: 20.94 kB / 0.5836 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8199, allocations: 0 / 0.5836 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of Templates: time 0.00704/0.827, allocations: 2.596 MB / 0.5861 GB, free: 14.23 MB / 394.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)