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/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.00105/0.00105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002518, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009913/0.0009913, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009973/0.001989, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9068/0.9068, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08819/0.995, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.08173/0.08173, allocations: 19.74 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01004/0.09177, allocations: 7.564 MB / 271.3 MB, free: 3.473 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_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 272.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.077e-05, allocations: 2.312 kB / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.1123/0.1123, allocations: 2.356 MB / 274.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000953/0.1133, allocations: 0.6503 MB / 275.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1134, allocations: 5.844 kB / 275.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.274e-05/0.1134, allocations: 33.12 kB / 275.6 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001555/0.1136, allocations: 88.47 kB / 275.7 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.1137, allocations: 63.36 kB / 275.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.114, allocations: 295.9 kB / 276 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1141, allocations: 48.08 kB / 276.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.1144, allocations: 209.3 kB / 276.3 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1145, allocations: 86.94 kB / 276.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.1146, allocations: 18.5 kB / 276.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.28e-05/0.1146, allocations: 24.72 kB / 276.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.1147, allocations: 37.61 kB / 276.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.1147, allocations: 72.12 kB / 276.5 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.1149, allocations: 163.5 kB / 276.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-05/0.115, allocations: 0 / 276.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.115, allocations: 1.094 kB / 276.7 MB, free: 1.297 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.115, allocations: 1.281 kB / 276.7 MB, free: 1.297 MB / 266.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.0006558/0.1156, allocations: 0.5112 MB / 277.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.1157, allocations: 10.44 kB / 277.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1158, allocations: 109.7 kB / 277.3 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.116, allocations: 192 kB / 277.5 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.116, allocations: 69.97 kB / 277.6 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.116, allocations: 17.17 kB / 277.6 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.1162, allocations: 158.2 kB / 277.8 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1162, allocations: 5.156 kB / 277.8 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1162, allocations: 9.469 kB / 277.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1162, allocations: 4.281 kB / 277.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.1163, allocations: 48.08 kB / 277.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1168, allocations: 419.3 kB / 278.2 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.117, allocations: 87.91 kB / 278.3 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.111e-05/0.117, allocations: 38.75 kB / 278.3 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.117, allocations: 3.219 kB / 278.4 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.117, allocations: 32.97 kB / 278.4 MB, free: 252 kB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.633e-06/0.117, allocations: 1.156 kB / 278.4 MB, free: 252 kB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004598/0.1175, allocations: 335.5 kB / 278.7 MB, free: 68 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.1175, allocations: 61.75 kB / 278.8 MB, free: 0 / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1177, allocations: 224.3 kB / 279 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1177, allocations: 29.73 kB / 279 MB, free: 15.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.1177, allocations: 129.3 kB / 279.1 MB, free: 15.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.1178, allocations: 66 kB / 279.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.1178, allocations: 48.31 kB / 279.3 MB, free: 15.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.1179, allocations: 337.1 kB / 279.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.977e-05/0.1179, allocations: 16.81 kB / 279.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/0.118, allocations: 43.45 kB / 279.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.16e-05/0.1181, allocations: 76.72 kB / 279.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.1181, allocations: 0 / 279.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001301/0.1182, allocations: 117.2 kB / 279.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1182, allocations: 12.73 kB / 279.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1182, allocations: 1.375 kB / 279.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.1182, allocations: 1.219 kB / 279.9 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.1185, allocations: 106.2 kB / 280 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.1185, allocations: 0.875 kB / 280 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.264e-05/0.1186, allocations: 16.28 kB / 280 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1186, allocations: 3.297 kB / 280 MB, free: 15.3 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.039e-05/0.1187, allocations: 119 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1187, allocations: 23.91 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.1188, allocations: 27.77 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1188, allocations: 2.312 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1188, allocations: 0 / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1188, allocations: 1.312 kB / 280.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.1191, allocations: 312.5 kB / 280.5 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1191, allocations: 5.031 kB / 280.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.1193, allocations: 73.97 kB / 280.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.1194, allocations: 22.09 kB / 280.5 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1194, allocations: 2.062 kB / 280.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-06/0.1194, allocations: 4.906 kB / 280.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1194, allocations: 3.109 kB / 280.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1194, allocations: 0 / 280.6 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.1196, allocations: 235.2 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1196, allocations: 5.984 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.1197, allocations: 9.469 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1197, allocations: 15.19 kB / 280.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1197, allocations: 10.89 kB / 280.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.1198, allocations: 75.69 kB / 280.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1198, allocations: 0 / 280.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001626/0.1199, allocations: 43.09 kB / 280.9 MB, free: 14.81 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 7.83e-05/0.12, allocations: 79.17 kB / 281 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.1201, allocations: 77.25 kB / 281.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.1202, allocations: 4.031 kB / 281.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.162e-05/0.1202, allocations: 58.92 kB / 281.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.1204, allocations: 69.23 kB / 281.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.1234, allocations: 493 kB / 281.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.191e-05/0.1234, allocations: 82.42 kB / 281.8 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.9e-05/0.1235, allocations: 21.38 kB / 281.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.1236, allocations: 85.16 kB / 281.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1236, allocations: 4 kB / 281.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of Templates: time 0.004492/0.1281, allocations: 2.332 MB / 284.2 MB, free: 14.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4613956827670336]