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.001541/0.00154, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.211/2.211, allocations: 205.4 MB / 221.9 MB, free: 13.76 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.001172/0.001172, allocations: 98.78 kB / 270.2 MB, free: 13.3 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.3005/0.3005, allocations: 38.07 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006649/0.0006645, allocations: 15.98 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1172, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.536/0.6533, allocations: 94.81 MB / 0.5604 GB, free: 5.391 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.6536, allocations: 86.27 kB / 0.5605 GB, free: 5.344 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05537/0.709, allocations: 14.18 MB / 0.5743 GB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7091, allocations: 0 / 0.5743 GB, free: 9.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.7091, allocations: 4 kB / 0.5743 GB, free: 9.664 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.001092/0.7102, allocations: 0.5138 MB / 0.5748 GB, free: 9.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.7103, allocations: 8.031 kB / 0.5748 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.7119, allocations: 126.6 kB / 0.575 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.7126, allocations: 262 kB / 0.5752 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.7126, allocations: 11.5 kB / 0.5752 GB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.178e-05/0.7127, allocations: 15.48 kB / 0.5752 GB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007576/0.7135, allocations: 330.7 kB / 0.5756 GB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.7135, allocations: 7.938 kB / 0.5756 GB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.7136, allocations: 7.484 kB / 0.5756 GB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/0.7137, allocations: 19.98 kB / 0.5756 GB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007763/0.7145, allocations: 299.8 kB / 0.5759 GB, free: 8.191 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.7171, allocations: 1.256 MB / 0.5771 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.7176, allocations: 160.4 kB / 0.5773 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.7176, allocations: 7.938 kB / 0.5773 GB, free: 6.883 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.7177, allocations: 41.94 kB / 0.5773 GB, free: 6.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 3.066e-06/0.7177, allocations: 0 / 0.5773 GB, free: 6.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.002531/0.7202, allocations: 0.6558 MB / 0.5779 GB, free: 6.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.7203, allocations: 84.48 kB / 0.578 GB, free: 6.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.7206, allocations: 177.6 kB / 0.5782 GB, free: 6.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.7206, allocations: 25.7 kB / 0.5782 GB, free: 5.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.7208, allocations: 215.8 kB / 0.5784 GB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.7209, allocations: 72.39 kB / 0.5785 GB, free: 5.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.939e-05/0.7209, allocations: 3.125 kB / 0.5785 GB, free: 5.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.7211, allocations: 318.3 kB / 0.5788 GB, free: 5.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.7213, allocations: 82.75 kB / 0.5789 GB, free: 5.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.7216, allocations: 144 kB / 0.579 GB, free: 5.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.7219, allocations: 102.5 kB / 0.5791 GB, free: 5.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.7219, allocations: 4 kB / 0.5791 GB, free: 5.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001048/0.723, allocations: 337.2 kB / 0.5794 GB, free: 4.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.723, allocations: 8 kB / 0.5794 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.723, allocations: 0 / 0.5794 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006076/0.7236, allocations: 93.77 kB / 0.5795 GB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.724, allocations: 43.2 kB / 0.5796 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003626/0.7276, allocations: 1.987 MB / 0.5815 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.7279, allocations: 10.8 kB / 0.5815 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.728, allocations: 11.69 kB / 0.5815 GB, free: 2.867 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 (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.0002393/0.7282, allocations: 156.8 kB / 0.5817 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.445e-05/0.7283, allocations: 19.72 kB / 0.5817 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009855/0.7293, allocations: 328.8 kB / 0.582 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.7293, allocations: 0 / 0.582 GB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.7293, allocations: 3.938 kB / 0.582 GB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.7294, allocations: 7.984 kB / 0.582 GB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.7313, allocations: 0.7444 MB / 0.5828 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.7313, allocations: 4 kB / 0.5828 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.7315, allocations: 23.98 kB / 0.5828 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/0.732, allocations: 74.97 kB / 0.5829 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.7321, allocations: 7.062 kB / 0.5829 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002944/0.735, allocations: 1.86 MB / 0.5847 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.7351, allocations: 8.156 kB / 0.5847 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.7361, allocations: 436 kB / 0.5851 GB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.7362, allocations: 96.89 kB / 0.5852 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.7363, allocations: 11.33 kB / 0.5852 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.7365, allocations: 7.25 kB / 0.5852 GB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.965e-05/0.7366, allocations: 18.91 kB / 0.5852 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.7366, allocations: 8 kB / 0.5852 GB, free: 15.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001884/0.7368, allocations: 146.8 kB / 0.5854 GB, free: 15.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7368, allocations: 0 / 0.5854 GB, free: 15.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006655/0.7375, allocations: 70.38 kB / 0.5854 GB, free: 15.15 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 (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.0001852/0.7377, allocations: 109.6 kB / 0.5856 GB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.7392, allocations: 375.2 kB / 0.5859 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7392, allocations: 0 / 0.5859 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006278/0.7398, allocations: 259.3 kB / 0.5862 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.7403, allocations: 28.94 kB / 0.5862 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.7416, allocations: 0.6059 MB / 0.5868 GB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.7421, allocations: 0.7782 MB / 0.5875 GB, free: 13.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.912e-05/0.7422, allocations: 19.44 kB / 0.5876 GB, free: 13.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.7423, allocations: 0 / 0.5876 GB, free: 13.07 MB / 394.7 MB Notification: Performance of Templates: time 0.008653/0.7509, allocations: 3.424 MB / 0.5909 GB, free: 9.66 MB / 394.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)