Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9461/0.9461, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09644/0.09644, allocations: 19.73 MB / 281.6 MB, free: 9.027 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 305.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.003e-05, allocations: 2.312 kB / 305.2 MB, free: 13.03 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002636/0.002656, allocations: 2.303 MB / 307.5 MB, free: 11.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.003798, allocations: 0.651 MB / 308.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.003941, allocations: 3.938 kB / 308.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.004073, allocations: 39.78 kB / 308.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002367/0.004309, allocations: 81.81 kB / 308.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.004499, allocations: 69.34 kB / 308.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003049/0.004804, allocations: 300.3 kB / 308.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.004935, allocations: 51.64 kB / 308.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.005208, allocations: 168.5 kB / 308.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.00535, allocations: 90.05 kB / 308.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.005379, allocations: 16 kB / 308.9 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.957e-05/0.005429, allocations: 20 kB / 308.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.005471, allocations: 53.45 kB / 309 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.005541, allocations: 80.94 kB / 309.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.005791, allocations: 177.3 kB / 309.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005794, allocations: 4 kB / 309.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005795, allocations: 0 / 309.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.0058, allocations: 4 kB / 309.3 MB, free: 10.03 MB / 282.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.0005802/0.00638, allocations: 469.8 kB / 309.7 MB, free: 9.578 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.00641, allocations: 8.031 kB / 309.7 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.006512, allocations: 36.2 kB / 309.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.006729, allocations: 194 kB / 309.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.769e-05/0.006787, allocations: 68.58 kB / 310 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.006813, allocations: 17.08 kB / 310 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.006999, allocations: 159.2 kB / 310.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.007009, allocations: 4.781 kB / 310.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.007021, allocations: 7.938 kB / 310.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.007027, allocations: 4 kB / 310.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.007107, allocations: 49.08 kB / 310.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.007599, allocations: 422.7 kB / 310.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.007752, allocations: 84.88 kB / 310.7 MB, free: 8.543 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.007794, allocations: 40.83 kB / 310.8 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.007805, allocations: 7.938 kB / 310.8 MB, free: 8.492 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.007825, allocations: 38.56 kB / 310.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.132e-06/0.007826, allocations: 0 / 310.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004696/0.008296, allocations: 336.1 kB / 311.2 MB, free: 8.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.008323, allocations: 55.41 kB / 311.2 MB, free: 8.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.008465, allocations: 217 kB / 311.4 MB, free: 7.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.008482, allocations: 29.7 kB / 311.4 MB, free: 7.766 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.008555, allocations: 129 kB / 311.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.008604, allocations: 79.34 kB / 311.7 MB, free: 7.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.008653, allocations: 37.7 kB / 311.7 MB, free: 7.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.542e-05/0.008739, allocations: 334.8 kB / 312 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.057e-05/0.008769, allocations: 19.98 kB / 312 MB, free: 7.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.008808, allocations: 41.69 kB / 312.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/0.008882, allocations: 76.03 kB / 312.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.008883, allocations: 0 / 312.2 MB, free: 7.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000112/0.008995, allocations: 116.3 kB / 312.3 MB, free: 6.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.009009, allocations: 17.95 kB / 312.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.009013, allocations: 0 / 312.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.009022, allocations: 0 / 312.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.009214, allocations: 75.95 kB / 312.4 MB, free: 6.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.009218, allocations: 8.016 kB / 312.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.676e-05/0.009275, allocations: 12 kB / 312.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.009281, allocations: 0 / 312.4 MB, free: 6.805 MB / 282.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 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.009352, allocations: 125.8 kB / 312.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.009378, allocations: 19.92 kB / 312.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.009409, allocations: 30.11 kB / 312.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/0.009412, allocations: 4 kB / 312.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.009415, allocations: 3.938 kB / 312.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.009418, allocations: 0 / 312.6 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.009718, allocations: 310.6 kB / 312.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.009721, allocations: 4 kB / 312.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.009885, allocations: 59.91 kB / 312.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.009888, allocations: 4 kB / 312.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.009898, allocations: 0 / 312.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.009899, allocations: 0 / 312.9 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0099, allocations: 3.938 kB / 312.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.01008, allocations: 233.1 kB / 313.2 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.01012, allocations: 23.8 kB / 313.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01014, allocations: 8 kB / 313.2 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.0102, allocations: 11.98 kB / 313.2 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.01023, allocations: 11.97 kB / 313.2 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.01023, allocations: 8 kB / 313.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.468e-05/0.01029, allocations: 70.78 kB / 313.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01029, allocations: 0 / 313.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.01045, allocations: 48 kB / 313.3 MB, free: 5.797 MB / 282.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 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.973e-05/0.01054, allocations: 76.36 kB / 313.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001292/0.01067, allocations: 84.7 kB / 313.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.01068, allocations: 8.062 kB / 313.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01072, allocations: 40.78 kB / 313.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.01095, allocations: 53.77 kB / 313.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.01182, allocations: 0.5087 MB / 314.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.01186, allocations: 84.2 kB / 314.2 MB, free: 4.887 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.292e-05/0.01193, allocations: 21.95 kB / 314.2 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.477e-05/0.01201, allocations: 83.36 kB / 314.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01201, allocations: 0 / 314.3 MB, free: 4.785 MB / 282.7 MB Notification: Performance of Templates: time 0.00403/0.01604, allocations: 2.151 MB / 316.4 MB, free: 2.688 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7484884369187057]