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.0008829/0.0008829, allocations: 82.66 kB / 21.43 MB, free: 3.07 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.001021/0.001021, allocations: 171.5 kB / 24.83 MB, free: 9.199 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.8209/0.8209, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1774/0.1774, allocations: 36.34 MB / 275.4 MB, free: 10.48 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.573e-06/1.573e-06, allocations: 0 / 354.2 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.361e-05, allocations: 2.312 kB / 354.2 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002395/0.002409, allocations: 2.903 MB / 357.2 MB, free: 248 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003489, allocations: 0.7956 MB / 357.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.003648, allocations: 11.94 kB / 358 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.003792, allocations: 55.33 kB / 358 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.004067, allocations: 158.7 kB / 358.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.004268, allocations: 103.8 kB / 358.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.004655, allocations: 0.5098 MB / 358.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.004815, allocations: 84.69 kB / 358.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.005119, allocations: 283.2 kB / 359.1 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.005279, allocations: 155.5 kB / 359.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.005319, allocations: 32 kB / 359.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.481e-05/0.005393, allocations: 44 kB / 359.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.005444, allocations: 87.59 kB / 359.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.005532, allocations: 139.5 kB / 359.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.005819, allocations: 298.7 kB / 359.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.005821, allocations: 0 / 359.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.005822, allocations: 3.938 kB / 359.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005826, allocations: 0 / 359.9 MB, free: 13.5 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.000766/0.006592, allocations: 0.7953 MB / 360.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.006625, allocations: 12.03 kB / 360.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.006735, allocations: 72.61 kB / 360.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.007201, allocations: 302.6 kB / 361.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.007222, allocations: 21.03 kB / 361.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.007273, allocations: 32.38 kB / 361.1 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.007563, allocations: 251.6 kB / 361.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.007576, allocations: 4.125 kB / 361.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.007592, allocations: 15.94 kB / 361.4 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.007598, allocations: 4 kB / 361.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.007729, allocations: 107.1 kB / 361.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.008727, allocations: 0.9928 MB / 362.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.008917, allocations: 179.3 kB / 362.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.157e-05/0.008978, allocations: 61.66 kB / 362.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.008998, allocations: 4 kB / 362.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.00902, allocations: 49.38 kB / 362.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.076e-06/0.009023, allocations: 3.984 kB / 362.8 MB, free: 10.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007989/0.009822, allocations: 0.5659 MB / 363.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.009849, allocations: 55.41 kB / 363.4 MB, free: 9.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.01006, allocations: 366.6 kB / 363.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.01008, allocations: 33.7 kB / 363.8 MB, free: 9.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01019, allocations: 275.2 kB / 364 MB, free: 9.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.01025, allocations: 119 kB / 364.2 MB, free: 8.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.01032, allocations: 71.69 kB / 364.2 MB, free: 8.898 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01043, allocations: 0.5273 MB / 364.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.01048, allocations: 32.72 kB / 364.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.088e-05/0.01055, allocations: 107.6 kB / 364.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.01068, allocations: 157.9 kB / 365.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01069, allocations: 8 kB / 365.1 MB, free: 8.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004119/0.0111, allocations: 324.3 kB / 365.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01111, allocations: 8 kB / 365.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01112, allocations: 4.125 kB / 365.4 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.01148, allocations: 139.5 kB / 365.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.0117, allocations: 91.88 kB / 365.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.01362, allocations: 3.889 MB / 369.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.01373, allocations: 11.94 kB / 369.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01375, allocations: 8 kB / 369.5 MB, free: 3.316 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.0001047/0.01385, allocations: 176.5 kB / 369.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.0139, allocations: 55.75 kB / 369.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002109/0.01411, allocations: 233.8 kB / 370 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.01411, allocations: 7.984 kB / 370 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01411, allocations: 0 / 370 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01412, allocations: 0 / 370 MB, free: 2.828 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.01464, allocations: 0.5414 MB / 370.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.01465, allocations: 3.938 kB / 370.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.01484, allocations: 75.91 kB / 370.6 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01485, allocations: 4 kB / 370.6 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.01486, allocations: 4 kB / 370.6 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.01486, allocations: 11.98 kB / 370.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01486, allocations: 0 / 370.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.01515, allocations: 428.9 kB / 371 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.01523, allocations: 59.7 kB / 371.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.01525, allocations: 8 kB / 371.1 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.01534, allocations: 15.94 kB / 371.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.01538, allocations: 19.95 kB / 371.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01538, allocations: 4 kB / 371.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.0155, allocations: 247 kB / 371.4 MB, free: 1.375 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0155, allocations: 4 kB / 371.4 MB, free: 1.371 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.01576, allocations: 92 kB / 371.5 MB, free: 1.281 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 8.794e-05/0.01585, allocations: 103.2 kB / 371.6 MB, free: 1.168 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004623/0.01631, allocations: 420.1 kB / 372 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.01632, allocations: 0 / 372 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.0164, allocations: 95.44 kB / 372.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.0167, allocations: 72.77 kB / 372.2 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.01791, allocations: 0.9236 MB / 373.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.384e-05/0.01797, allocations: 109.3 kB / 373.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.01808, allocations: 38.95 kB / 373.2 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.01822, allocations: 138.2 kB / 373.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01822, allocations: 0 / 373.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of Templates: time 0.006773/0.025, allocations: 4.859 MB / 378.2 MB, free: 10.46 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.7384884720668197]