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.0009678/0.0009678, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001019/0.001019, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.8535/0.8535, allocations: 158.6 MB / 186.4 MB, free: 2.902 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.1512/0.1512, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.293e-06/1.293e-06, allocations: 0 / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.453e-05, allocations: 2.312 kB / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002487/0.002501, allocations: 3.085 MB / 356.9 MB, free: 344 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.003425, allocations: 0.8381 MB / 357.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.003555, allocations: 11.94 kB / 357.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.003701, allocations: 63.25 kB / 357.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.003964, allocations: 154.7 kB / 357.9 MB, free: 15.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.004148, allocations: 123.8 kB / 358.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003645/0.004512, allocations: 0.5448 MB / 358.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.004686, allocations: 98.03 kB / 358.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.004931, allocations: 307.2 kB / 359 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.005104, allocations: 163.4 kB / 359.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.005149, allocations: 36 kB / 359.2 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.796e-05/0.005217, allocations: 36 kB / 359.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.005272, allocations: 99.53 kB / 359.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.005376, allocations: 151.5 kB / 359.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.005667, allocations: 322.6 kB / 359.8 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005669, allocations: 8 kB / 359.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.00567, allocations: 0 / 359.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.005674, allocations: 0 / 359.8 MB, free: 13.39 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0008374/0.006511, allocations: 0.8302 MB / 360.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.006543, allocations: 8.031 kB / 360.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.006662, allocations: 84.56 kB / 360.7 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.006962, allocations: 306.6 kB / 361 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.006983, allocations: 29.03 kB / 361.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.007033, allocations: 48.31 kB / 361.1 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.007341, allocations: 271.7 kB / 361.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.007353, allocations: 192 / 361.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.007375, allocations: 16.38 kB / 361.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.007386, allocations: 11.94 kB / 361.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.00759, allocations: 139.8 kB / 361.5 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.00864, allocations: 1.078 MB / 362.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.008928, allocations: 200.3 kB / 362.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.009033, allocations: 87.72 kB / 362.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.009057, allocations: 4.281 kB / 362.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.009078, allocations: 41.67 kB / 362.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.172e-06/0.009079, allocations: 0 / 362.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.001125/0.0102, allocations: 0.7479 MB / 363.7 MB, free: 9.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.01023, allocations: 55.41 kB / 363.7 MB, free: 9.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.01054, allocations: 394.7 kB / 364.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01056, allocations: 37.7 kB / 364.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01067, allocations: 263.6 kB / 364.4 MB, free: 8.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.01074, allocations: 142.8 kB / 364.6 MB, free: 8.395 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.105e-05/0.01081, allocations: 71.84 kB / 364.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01094, allocations: 0.5235 MB / 365.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.969e-05/0.01101, allocations: 48.97 kB / 365.2 MB, free: 7.734 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.01112, allocations: 127.4 kB / 365.3 MB, free: 7.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.01132, allocations: 194.2 kB / 365.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01133, allocations: 0 / 365.5 MB, free: 7.379 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002924/0.01162, allocations: 289.1 kB / 365.8 MB, free: 7.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.01163, allocations: 8 kB / 365.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.01163, allocations: 0 / 365.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01165, allocations: 4 kB / 365.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.01203, allocations: 155.9 kB / 366 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000768/0.0128, allocations: 1.85 MB / 367.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.01292, allocations: 19.89 kB / 367.8 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.01293, allocations: 8 kB / 367.8 MB, free: 4.918 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 (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 9.684e-05/0.01303, allocations: 180.7 kB / 368 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.01308, allocations: 47.77 kB / 368.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000258/0.01334, allocations: 253.8 kB / 368.3 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01334, allocations: 4 kB / 368.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.01334, allocations: 3.938 kB / 368.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01334, allocations: 3.984 kB / 368.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.01394, allocations: 0.6464 MB / 369 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01394, allocations: 0 / 369 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.01416, allocations: 75.91 kB / 369 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01417, allocations: 8 kB / 369 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.01419, allocations: 15.92 kB / 369.1 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01419, allocations: 4 kB / 369.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01419, allocations: 0 / 369.1 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.01457, allocations: 461.4 kB / 369.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.01465, allocations: 55.73 kB / 369.6 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.01468, allocations: 11.92 kB / 369.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01479, allocations: 15.95 kB / 369.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.01483, allocations: 27.81 kB / 369.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01484, allocations: 8 kB / 369.6 MB, free: 3.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.015, allocations: 275.1 kB / 369.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.015, allocations: 3.938 kB / 369.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002225/0.01522, allocations: 88 kB / 370 MB, free: 2.68 MB / 298.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 6.862e-05/0.01529, allocations: 95.25 kB / 370.1 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003533/0.01565, allocations: 217.2 kB / 370.3 MB, free: 2.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01565, allocations: 4 kB / 370.3 MB, free: 2.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.01575, allocations: 107.3 kB / 370.4 MB, free: 2.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.01607, allocations: 93.34 kB / 370.5 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.01745, allocations: 0.9769 MB / 371.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.01752, allocations: 113.1 kB / 371.6 MB, free: 1.023 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.01762, allocations: 43.25 kB / 371.6 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.01771, allocations: 32.5 kB / 371.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01771, allocations: 0 / 371.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of Templates: time 0.006072/0.02378, allocations: 4.442 MB / 376.1 MB, free: 12.54 MB / 314.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: 2.972017655149102]