Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001217/0.001217, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001311/0.001311, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.826/0.826, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1593/0.1593, allocations: 36.34 MB / 275.4 MB, free: 10.72 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 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_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 353.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.355e-05/1.492e-05, allocations: 6.312 kB / 353.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002272/0.002287, allocations: 2.931 MB / 356.7 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.003255, allocations: 0.7956 MB / 357.5 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.003415, allocations: 7.938 kB / 357.5 MB, free: 16 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.003581, allocations: 59.44 kB / 357.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.00385, allocations: 146.6 kB / 357.7 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.004048, allocations: 111.8 kB / 357.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.004433, allocations: 0.5098 MB / 358.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.004616, allocations: 84.69 kB / 358.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.004871, allocations: 283.2 kB / 358.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.005073, allocations: 155.4 kB / 358.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.005113, allocations: 32 kB / 358.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.005176, allocations: 40 kB / 358.9 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.08e-05/0.005227, allocations: 87.59 kB / 359 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.005331, allocations: 143.5 kB / 359.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.005616, allocations: 290.7 kB / 359.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.005618, allocations: 4 kB / 359.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005619, allocations: 4 kB / 359.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.005625, allocations: 3.984 kB / 359.4 MB, free: 14.08 MB / 298.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.0009085/0.006533, allocations: 0.7953 MB / 360.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.006566, allocations: 8.031 kB / 360.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.006692, allocations: 80.61 kB / 360.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.006999, allocations: 290.7 kB / 360.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.007018, allocations: 21.03 kB / 360.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.007063, allocations: 32.38 kB / 360.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.007369, allocations: 267.7 kB / 360.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.007382, allocations: 192 / 360.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.007404, allocations: 19.92 kB / 360.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.007415, allocations: 8 kB / 360.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.00761, allocations: 131.8 kB / 361.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.008754, allocations: 1.047 MB / 362.1 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.008983, allocations: 191.3 kB / 362.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.657e-05/0.009079, allocations: 71.66 kB / 362.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.009098, allocations: 8 kB / 362.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.00912, allocations: 41.33 kB / 362.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.009122, allocations: 0 / 362.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009891/0.01011, allocations: 0.6593 MB / 363.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.01014, allocations: 59.34 kB / 363.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.01039, allocations: 382.7 kB / 363.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01041, allocations: 33.7 kB / 363.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.01053, allocations: 259.3 kB / 363.8 MB, free: 9.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.01059, allocations: 126.9 kB / 363.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.01066, allocations: 71.72 kB / 364 MB, free: 9.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01078, allocations: 0.5196 MB / 364.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.01086, allocations: 48.72 kB / 364.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.01096, allocations: 115.6 kB / 364.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.01117, allocations: 189.9 kB / 364.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01117, allocations: 0 / 364.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007686/0.01194, allocations: 360.4 kB / 365.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.01195, allocations: 4 kB / 365.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.01196, allocations: 0 / 365.2 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.01239, allocations: 143.6 kB / 365.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.01264, allocations: 91.88 kB / 365.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.01468, allocations: 3.958 MB / 369.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01479, allocations: 11.94 kB / 369.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01481, allocations: 12 kB / 369.4 MB, free: 3.52 MB / 298.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.0001/0.01491, allocations: 176.5 kB / 369.6 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.01496, allocations: 51.7 kB / 369.6 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.01523, allocations: 249.9 kB / 369.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01523, allocations: 4 kB / 369.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01523, allocations: 0 / 369.9 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01524, allocations: 4 kB / 369.9 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.01579, allocations: 0.6149 MB / 370.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01579, allocations: 0 / 370.5 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.01601, allocations: 75.91 kB / 370.6 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01601, allocations: 4 kB / 370.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01603, allocations: 7.984 kB / 370.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.01603, allocations: 0 / 370.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01603, allocations: 8 kB / 370.6 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.01639, allocations: 457 kB / 371.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.01647, allocations: 59.67 kB / 371.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.0165, allocations: 8 kB / 371.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.0166, allocations: 8 kB / 371.1 MB, free: 1.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.01664, allocations: 23.95 kB / 371.2 MB, free: 1.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.01665, allocations: 15.94 kB / 371.2 MB, free: 1.695 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001538/0.01681, allocations: 259.1 kB / 371.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01681, allocations: 0 / 371.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002532/0.01706, allocations: 92 kB / 371.5 MB, free: 1.359 MB / 298.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 7.162e-05/0.01713, allocations: 99.19 kB / 371.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005276/0.01766, allocations: 436.7 kB / 372 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01766, allocations: 4 kB / 372 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.018, allocations: 107.4 kB / 372.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.01831, allocations: 83.91 kB / 372.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.01962, allocations: 0.9197 MB / 373.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.832e-05/0.01969, allocations: 113.3 kB / 373.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.01979, allocations: 42.94 kB / 373.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.01986, allocations: 32.5 kB / 373.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01986, allocations: 0 / 373.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of Templates: time 0.006342/0.0262, allocations: 4.607 MB / 377.9 MB, free: 10.86 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8826792298350483]