Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.275/1.275, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007901/0.0007901, allocations: 85.86 kB / 270.8 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.364/0.364, allocations: 48.77 MB / 367.9 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 12 kB / 438.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1103, allocations: 60.25 MB / 498.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2904/0.4007, allocations: 86.97 MB / 0.5721 GB, free: 11.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.4009, allocations: 73.28 kB / 0.5722 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009857/0.4108, allocations: 3.947 MB / 0.576 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4109, allocations: 0 / 0.576 GB, free: 7.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4109, allocations: 4 kB / 0.5761 GB, free: 7.688 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006622/0.4115, allocations: 0.5411 MB / 0.5766 GB, free: 7.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.4116, allocations: 8.031 kB / 0.5766 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.4117, allocations: 31.62 kB / 0.5766 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.412, allocations: 271.8 kB / 0.5769 GB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/0.4121, allocations: 41.64 kB / 0.5769 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.872e-05/0.4121, allocations: 23.91 kB / 0.5769 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.4124, allocations: 178.5 kB / 0.5771 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4125, allocations: 4 kB / 0.5771 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.4125, allocations: 14.23 kB / 0.5771 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4125, allocations: 4 kB / 0.5771 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.4128, allocations: 135.2 kB / 0.5773 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007755/0.4135, allocations: 0.6628 MB / 0.5779 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.4139, allocations: 162.5 kB / 0.5781 GB, free: 5.469 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.4139, allocations: 7.984 kB / 0.5781 GB, free: 5.461 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.4139, allocations: 30.56 kB / 0.5781 GB, free: 5.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 2.264e-06/0.4139, allocations: 1.781 kB / 0.5781 GB, free: 5.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001282/0.4152, allocations: 0.7448 MB / 0.5788 GB, free: 4.609 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.4153, allocations: 59.41 kB / 0.5789 GB, free: 4.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4154, allocations: 208.2 kB / 0.5791 GB, free: 4.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4155, allocations: 33.7 kB / 0.5791 GB, free: 4.293 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.4155, allocations: 140.3 kB / 0.5793 GB, free: 4.152 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4155, allocations: 71 kB / 0.5793 GB, free: 4.082 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.4156, allocations: 4 kB / 0.5793 GB, free: 4.078 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.4157, allocations: 338.8 kB / 0.5796 GB, free: 3.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.4158, allocations: 67.03 kB / 0.5797 GB, free: 3.676 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4159, allocations: 84.73 kB / 0.5798 GB, free: 3.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4161, allocations: 79.92 kB / 0.5799 GB, free: 3.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4161, allocations: 4 kB / 0.5799 GB, free: 3.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003285/0.4164, allocations: 223 kB / 0.5801 GB, free: 3.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4164, allocations: 4 kB / 0.5801 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4165, allocations: 4 kB / 0.5801 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4165, allocations: 4.031 kB / 0.5801 GB, free: 3.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.4169, allocations: 79.89 kB / 0.5802 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.4169, allocations: 0 / 0.5802 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.4171, allocations: 19.36 kB / 0.5802 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4171, allocations: 4 kB / 0.5802 GB, free: 3.176 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (Breaker1.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.015e-05/0.4172, allocations: 149.7 kB / 0.5803 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.4172, allocations: 19.94 kB / 0.5804 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.4176, allocations: 215.9 kB / 0.5806 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4176, allocations: 3.938 kB / 0.5806 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4176, allocations: 4 kB / 0.5806 GB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4176, allocations: 4 kB / 0.5806 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.4183, allocations: 0.5695 MB / 0.5811 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4183, allocations: 0 / 0.5811 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.4186, allocations: 75.89 kB / 0.5812 GB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4187, allocations: 4 kB / 0.5812 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.4187, allocations: 4 kB / 0.5812 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4187, allocations: 0 / 0.5812 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4187, allocations: 0 / 0.5812 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.4192, allocations: 387 kB / 0.5816 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.4192, allocations: 108.9 kB / 0.5817 GB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.4193, allocations: 8.922 kB / 0.5817 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.4194, allocations: 19.91 kB / 0.5817 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.4195, allocations: 11.97 kB / 0.5817 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4195, allocations: 8 kB / 0.5817 GB, free: 1.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.4197, allocations: 176.4 kB / 0.5819 GB, free: 1.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4197, allocations: 0 / 0.5819 GB, free: 1.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.4199, allocations: 51.94 kB / 0.5819 GB, free: 1.277 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (Breaker1.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.0001071/0.4201, allocations: 103.3 kB / 0.582 GB, free: 1.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.4204, allocations: 171.8 kB / 0.5822 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4204, allocations: 0 / 0.5822 GB, free: 1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.4205, allocations: 84.47 kB / 0.5823 GB, free: 0.918 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.4208, allocations: 42.42 kB / 0.5823 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.4218, allocations: 0.8046 MB / 0.5831 GB, free: 68 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.4221, allocations: 0.7521 MB / 0.5838 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.4223, allocations: 21.94 kB / 0.5839 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.4223, allocations: 19.44 kB / 0.5839 GB, free: 15.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4223, allocations: 4 kB / 0.5839 GB, free: 15.24 MB / 410.7 MB Notification: Performance of Templates: time 0.004546/0.4269, allocations: 1.882 MB / 0.5857 GB, free: 13.39 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1)