Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 173.5 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 85.41 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4305/0.4305, allocations: 38.07 MB / 357.6 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005539, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6517, allocations: 56.32 MB / 480.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2225/0.8742, allocations: 94.85 MB / 0.5616 GB, free: 7.508 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004201/0.8747, allocations: 87.95 kB / 0.5617 GB, free: 7.422 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06247/0.9372, allocations: 14.2 MB / 0.5756 GB, free: 9.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.9373, allocations: 0 / 0.5756 GB, free: 9.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.738e-05/0.9373, allocations: 8 kB / 0.5756 GB, free: 9.043 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.001225/0.9385, allocations: 0.5068 MB / 0.5761 GB, free: 8.484 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/0.9386, allocations: 11.97 kB / 0.5761 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.9404, allocations: 120.5 kB / 0.5762 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.9411, allocations: 263.8 kB / 0.5765 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.9411, allocations: 20.36 kB / 0.5765 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.9412, allocations: 16.38 kB / 0.5765 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.9421, allocations: 322.2 kB / 0.5768 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.9422, allocations: 192 / 0.5768 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.9423, allocations: 11.94 kB / 0.5768 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001615/0.9424, allocations: 23.97 kB / 0.5768 GB, free: 7.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.9432, allocations: 303.6 kB / 0.5771 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.9458, allocations: 1.26 MB / 0.5784 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.9462, allocations: 157.1 kB / 0.5785 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/0.9465, allocations: 101.7 kB / 0.5786 GB, free: 5.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.9465, allocations: 4 kB / 0.5786 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.9466, allocations: 38.55 kB / 0.5786 GB, free: 5.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 4.057e-06/0.9466, allocations: 0 / 0.5786 GB, free: 5.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.002683/0.9493, allocations: 0.6544 MB / 0.5793 GB, free: 4.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/0.9494, allocations: 81.11 kB / 0.5794 GB, free: 4.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.9497, allocations: 202.1 kB / 0.5796 GB, free: 4.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.9497, allocations: 33.7 kB / 0.5796 GB, free: 4.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.9499, allocations: 152.1 kB / 0.5797 GB, free: 4.496 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.95, allocations: 59.11 kB / 0.5798 GB, free: 4.438 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.95, allocations: 8 kB / 0.5798 GB, free: 4.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.9502, allocations: 334.8 kB / 0.5801 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.9504, allocations: 75.95 kB / 0.5802 GB, free: 4.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002779/0.9507, allocations: 152.5 kB / 0.5803 GB, free: 3.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005255/0.9512, allocations: 244.4 kB / 0.5806 GB, free: 3.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9513, allocations: 0 / 0.5806 GB, free: 3.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001098/0.9524, allocations: 355.7 kB / 0.5809 GB, free: 3.215 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.9524, allocations: 8.031 kB / 0.5809 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.9524, allocations: 4 kB / 0.5809 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.9531, allocations: 88.78 kB / 0.581 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.9534, allocations: 39.97 kB / 0.581 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/0.9571, allocations: 1.949 MB / 0.5829 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.9574, allocations: 11.98 kB / 0.583 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.9575, allocations: 12.06 kB / 0.583 GB, free: 0.9648 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 () * 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.0002726/0.9577, allocations: 161.7 kB / 0.5831 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.421e-05/0.9578, allocations: 23.66 kB / 0.5831 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009412/0.9588, allocations: 316.1 kB / 0.5834 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.9588, allocations: 3.938 kB / 0.5834 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.9588, allocations: 0 / 0.5834 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.9588, allocations: 11.98 kB / 0.5835 GB, free: 452 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.9607, allocations: 0.7337 MB / 0.5842 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.9607, allocations: 7.938 kB / 0.5842 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.9609, allocations: 27.92 kB / 0.5842 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.9613, allocations: 76.84 kB / 0.5843 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.9614, allocations: 8 kB / 0.5843 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00273/0.9641, allocations: 1.818 MB / 0.5861 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.9641, allocations: 3.938 kB / 0.5861 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009159/0.9651, allocations: 407.2 kB / 0.5865 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.9652, allocations: 92.91 kB / 0.5865 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.9652, allocations: 8 kB / 0.5866 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.9655, allocations: 15.98 kB / 0.5866 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.9655, allocations: 15.92 kB / 0.5866 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.9656, allocations: 11.94 kB / 0.5866 GB, free: 12.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002521/0.9658, allocations: 144.1 kB / 0.5867 GB, free: 12.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.9659, allocations: 0 / 0.5867 GB, free: 12.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008522/0.9667, allocations: 72 kB / 0.5868 GB, free: 12.77 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 () * 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.0002159/0.9669, allocations: 111.2 kB / 0.5869 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.9681, allocations: 366.8 kB / 0.5873 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9681, allocations: 4 kB / 0.5873 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.9687, allocations: 263 kB / 0.5875 GB, free: 12.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.9693, allocations: 35.5 kB / 0.5875 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.9708, allocations: 0.6124 MB / 0.5881 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.9713, allocations: 0.7677 MB / 0.5889 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.623e-05/0.9714, allocations: 19.44 kB / 0.5889 GB, free: 10.52 MB / 426.7 MB Notification: Performance of SimCode: time 7.01e-07/0.9714, allocations: 4 kB / 0.5889 GB, free: 10.51 MB / 426.7 MB Notification: Performance of Templates: time 0.008878/0.9803, allocations: 3.498 MB / 0.5923 GB, free: 7.008 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)