Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.0006705/0.0006705, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000868/0.001538, 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.000698/0.000698, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008556/0.001554, 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.8725/0.8725, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0765/0.949, allocations: 53.65 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.08431/0.08431, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009621/0.09393, allocations: 7.553 MB / 271.3 MB, free: 3.477 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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.6 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139e-05/1.299e-05, allocations: 2.312 kB / 272.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.1123/0.1123, allocations: 2.972 MB / 275.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1135, allocations: 0.8332 MB / 276.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1137, allocations: 6.406 kB / 276.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1138, allocations: 56.61 kB / 276.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.114, allocations: 158.4 kB / 276.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.1142, allocations: 107.2 kB / 276.7 MB, free: 1.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.1147, allocations: 0.5016 MB / 277.2 MB, free: 1.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1148, allocations: 90.92 kB / 277.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004289/0.1153, allocations: 354.1 kB / 277.6 MB, free: 1.094 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.1155, allocations: 156.4 kB / 277.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.1155, allocations: 35.38 kB / 277.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.1156, allocations: 39.75 kB / 277.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.1157, allocations: 60.62 kB / 277.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1158, allocations: 116.4 kB / 278 MB, free: 1.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1161, allocations: 271.3 kB / 278.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.1161, allocations: 0.7188 kB / 278.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1161, allocations: 0 / 278.3 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.1161, allocations: 0.6875 kB / 278.3 MB, free: 0.9766 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0008408/0.117, allocations: 0.7516 MB / 279 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.117, allocations: 10.25 kB / 279.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1171, allocations: 132.6 kB / 279.2 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1174, allocations: 263.2 kB / 279.4 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1174, allocations: 25.78 kB / 279.5 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.1175, allocations: 41.86 kB / 279.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002743/0.1178, allocations: 244 kB / 279.7 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1178, allocations: 5.297 kB / 279.7 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1178, allocations: 16.44 kB / 279.8 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1178, allocations: 7.422 kB / 279.8 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1179, allocations: 99.14 kB / 279.9 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.1191, allocations: 0.7157 MB / 280.6 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.1193, allocations: 146.4 kB / 280.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.821e-05/0.1194, allocations: 64.12 kB / 280.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1194, allocations: 5.469 kB / 280.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1195, allocations: 37.58 kB / 280.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.1195, allocations: 1.156 kB / 280.8 MB, free: 15.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008702/0.1203, allocations: 0.5289 MB / 281.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.1204, allocations: 58.78 kB / 281.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.1206, allocations: 311.6 kB / 281.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1206, allocations: 34.95 kB / 281.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.353e-05/0.1207, allocations: 175.3 kB / 281.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.1208, allocations: 130.6 kB / 282.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.1208, allocations: 79.22 kB / 282.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1209, allocations: 351.3 kB / 282.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.659e-05/0.121, allocations: 31.78 kB / 282.5 MB, free: 14.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.1211, allocations: 86.06 kB / 282.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.1212, allocations: 137.1 kB / 282.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1212, allocations: 1.094 kB / 282.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004139/0.1216, allocations: 276.1 kB / 283 MB, free: 14.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1216, allocations: 5.969 kB / 283 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1216, allocations: 3.766 kB / 283 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003885/0.122, allocations: 131.7 kB / 283.1 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.1224, allocations: 110.9 kB / 283.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.1242, allocations: 2.714 MB / 286 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1243, allocations: 9.516 kB / 286 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1243, allocations: 11.41 kB / 286 MB, free: 11.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1244, allocations: 131.8 kB / 286.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.1245, allocations: 31.69 kB / 286.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.1247, allocations: 194.1 kB / 286.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1247, allocations: 3.375 kB / 286.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1247, allocations: 0 / 286.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1247, allocations: 3.188 kB / 286.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.1252, allocations: 421.8 kB / 286.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1252, allocations: 4.922 kB / 286.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.1254, allocations: 101.5 kB / 286.8 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1255, allocations: 41.11 kB / 286.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1255, allocations: 1.125 kB / 286.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1255, allocations: 7.344 kB / 286.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1255, allocations: 3.094 kB / 286.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1255, allocations: 1.156 kB / 286.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.1258, allocations: 326.6 kB / 287.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1258, allocations: 8.609 kB / 287.2 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.825e-05/0.1259, allocations: 6.75 kB / 287.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.126, allocations: 21.61 kB / 287.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.126, allocations: 13.34 kB / 287.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.1261, allocations: 128.8 kB / 287.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1261, allocations: 0 / 287.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000252/0.1263, allocations: 90.69 kB / 287.5 MB, free: 11 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * 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.836e-05/0.1264, allocations: 77.56 kB / 287.6 MB, free: 10.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.1269, allocations: 356.2 kB / 287.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.1269, allocations: 6.312 kB / 287.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.127, allocations: 84.48 kB / 288 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1273, allocations: 115.7 kB / 288.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.1315, allocations: 0.8246 MB / 288.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.981e-05/0.1316, allocations: 114.2 kB / 289 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.1317, allocations: 40.58 kB / 289.1 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1319, allocations: 109.6 kB / 289.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1319, allocations: 0 / 289.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00768/0.1396, allocations: 5.174 MB / 294.4 MB, free: 7.621 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6396024161949754]