Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.001216/0.001216, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001494/0.001494, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8903/0.8903, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.2309/0.2309, allocations: 36.35 MB / 276.2 MB, free: 14.38 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 355 MB, free: 62.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.264e-05, allocations: 4.375 kB / 355 MB, free: 62.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002853/0.002866, allocations: 3.051 MB / 358.1 MB, free: 60.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.004039, allocations: 0.8249 MB / 358.9 MB, free: 60.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.004204, allocations: 9.75 kB / 358.9 MB, free: 60.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.00436, allocations: 68.47 kB / 359 MB, free: 60.3 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.004667, allocations: 158.9 kB / 359.2 MB, free: 60.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.004919, allocations: 121.8 kB / 359.3 MB, free: 60.12 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.005352, allocations: 0.5406 MB / 359.8 MB, free: 59.84 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.005534, allocations: 103.6 kB / 359.9 MB, free: 59.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.005858, allocations: 304.5 kB / 360.2 MB, free: 59.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.006069, allocations: 163.4 kB / 360.4 MB, free: 59.62 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.006115, allocations: 33.38 kB / 360.4 MB, free: 59.62 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.006192, allocations: 42.28 kB / 360.4 MB, free: 59.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.006256, allocations: 93.89 kB / 360.5 MB, free: 59.55 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.006372, allocations: 156.8 kB / 360.7 MB, free: 59.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.006705, allocations: 319.9 kB / 361 MB, free: 59.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.006707, allocations: 0 / 361 MB, free: 59.33 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006708, allocations: 4 kB / 361 MB, free: 59.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.006714, allocations: 1.344 kB / 361 MB, free: 59.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.000865/0.007579, allocations: 0.8296 MB / 361.8 MB, free: 58.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.007613, allocations: 10.53 kB / 361.8 MB, free: 58.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.007745, allocations: 82 kB / 361.9 MB, free: 58.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.008035, allocations: 308.1 kB / 362.2 MB, free: 58.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.008056, allocations: 26.94 kB / 362.3 MB, free: 58.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.008103, allocations: 44.36 kB / 362.3 MB, free: 58.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.008379, allocations: 263.6 kB / 362.6 MB, free: 58.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.008393, allocations: 0.8125 kB / 362.6 MB, free: 58.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.008411, allocations: 12.53 kB / 362.6 MB, free: 58.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.00842, allocations: 13.92 kB / 362.6 MB, free: 58.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.008592, allocations: 112.1 kB / 362.7 MB, free: 58.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/0.009578, allocations: 1.029 MB / 363.7 MB, free: 57.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002658/0.009843, allocations: 173.2 kB / 363.9 MB, free: 57.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.375e-05/0.009927, allocations: 77.44 kB / 364 MB, free: 57.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.009947, allocations: 9.5 kB / 364 MB, free: 57.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.009963, allocations: 43.67 kB / 364 MB, free: 57.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.009965, allocations: 0 / 364 MB, free: 57.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009729/0.01094, allocations: 0.629 MB / 364.6 MB, free: 57.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.726e-05/0.01095, allocations: 55.48 kB / 364.7 MB, free: 56.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.01118, allocations: 394 kB / 365.1 MB, free: 56.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.01119, allocations: 31.48 kB / 365.1 MB, free: 56.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.01129, allocations: 279 kB / 365.4 MB, free: 56.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.01134, allocations: 131.1 kB / 365.5 MB, free: 56.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-05/0.01141, allocations: 85.33 kB / 365.6 MB, free: 56.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.01148, allocations: 0.5222 MB / 366.1 MB, free: 55.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.01153, allocations: 43.34 kB / 366.2 MB, free: 55.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.483e-05/0.01162, allocations: 108.2 kB / 366.3 MB, free: 55.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.01177, allocations: 170 kB / 366.4 MB, free: 55.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01177, allocations: 0 / 366.4 MB, free: 55.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002551/0.01203, allocations: 263.3 kB / 366.7 MB, free: 55.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.01204, allocations: 6.188 kB / 366.7 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01205, allocations: 1.094 kB / 366.7 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01206, allocations: 3.281 kB / 366.7 MB, free: 55.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.01245, allocations: 149.4 kB / 366.8 MB, free: 55.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005557/0.01301, allocations: 1.83 MB / 368.7 MB, free: 53.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.01313, allocations: 13.78 kB / 368.7 MB, free: 53.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.01314, allocations: 15.56 kB / 368.7 MB, free: 53.59 MB / 330.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 7.912e-05/0.01322, allocations: 178.1 kB / 368.9 MB, free: 53.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.01328, allocations: 54.86 kB / 368.9 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.01351, allocations: 231.2 kB / 369.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01351, allocations: 2.562 kB / 369.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01352, allocations: 2.281 kB / 369.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01352, allocations: 2.25 kB / 369.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.01405, allocations: 0.5723 MB / 369.7 MB, free: 52.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.01405, allocations: 1.125 kB / 369.7 MB, free: 52.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.01428, allocations: 80.92 kB / 369.8 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01428, allocations: 6.25 kB / 369.8 MB, free: 52.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.0143, allocations: 10.34 kB / 369.8 MB, free: 52.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.0143, allocations: 2.359 kB / 369.8 MB, free: 52.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0143, allocations: 0 / 369.8 MB, free: 52.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.01464, allocations: 444.4 kB / 370.3 MB, free: 52.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.511e-05/0.01473, allocations: 62.55 kB / 370.3 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.01476, allocations: 8.516 kB / 370.3 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.01486, allocations: 11.47 kB / 370.4 MB, free: 52.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.0149, allocations: 30.81 kB / 370.4 MB, free: 52.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.01491, allocations: 8.25 kB / 370.4 MB, free: 52.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01505, allocations: 258.2 kB / 370.6 MB, free: 52.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01505, allocations: 1.125 kB / 370.6 MB, free: 52.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.01528, allocations: 85.97 kB / 370.7 MB, free: 52.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.619e-05/0.01536, allocations: 100.6 kB / 370.8 MB, free: 52.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.01569, allocations: 194.5 kB / 371 MB, free: 52.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.0157, allocations: 5.438 kB / 371 MB, free: 52.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.01581, allocations: 99.59 kB / 371.1 MB, free: 52.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.01617, allocations: 89.14 kB / 371.2 MB, free: 52.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.01756, allocations: 0.9862 MB / 372.2 MB, free: 51.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.502e-05/0.01762, allocations: 111.4 kB / 372.3 MB, free: 51.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.01774, allocations: 48.91 kB / 372.3 MB, free: 51.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.0179, allocations: 140 kB / 372.5 MB, free: 51.32 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.0179, allocations: 0 / 372.5 MB, free: 51.32 MB / 330.7 MB Notification: Performance of Templates: time 0.006596/0.0245, allocations: 4.834 MB / 377.3 MB, free: 48.07 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1304837856441736]