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.0009275/0.0009275, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009668/0.0009668, allocations: 161 kB / 24.56 MB, free: 16 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.7812/0.7812, allocations: 158.6 MB / 186.4 MB, free: 2.551 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.1634/0.1634, allocations: 36.34 MB / 275.1 MB, free: 10.63 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.042e-06/1.042e-06, allocations: 0 / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.267e-05, allocations: 2.312 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.00221/0.002223, allocations: 2.933 MB / 356.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.003172, allocations: 0.8073 MB / 357.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.003299, allocations: 11.94 kB / 357.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.003436, allocations: 51.39 kB / 357.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002621/0.003698, allocations: 158.7 kB / 357.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.003877, allocations: 103.8 kB / 357.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.004222, allocations: 0.5059 MB / 358.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.00438, allocations: 88.69 kB / 358.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.004601, allocations: 287.2 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.004775, allocations: 155.4 kB / 358.9 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.004832, allocations: 32 kB / 358.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.004926, allocations: 36 kB / 358.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.004996, allocations: 87.59 kB / 359 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.005133, allocations: 147.5 kB / 359.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.005406, allocations: 298.7 kB / 359.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005407, allocations: 0 / 359.5 MB, free: 13.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005408, allocations: 4 kB / 359.5 MB, free: 13.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.005412, allocations: 0 / 359.5 MB, free: 13.73 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.0008273/0.00624, allocations: 0.7915 MB / 360.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.006272, allocations: 8.031 kB / 360.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.006389, allocations: 76.61 kB / 360.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.006668, allocations: 294.7 kB / 360.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.006684, allocations: 25.03 kB / 360.7 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.006725, allocations: 36.38 kB / 360.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.00701, allocations: 267.6 kB / 361 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.007027, allocations: 8.188 kB / 361 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.007047, allocations: 11.94 kB / 361 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.007055, allocations: 8 kB / 361 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.007235, allocations: 127.8 kB / 361.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009474/0.008182, allocations: 1.043 MB / 362.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.008393, allocations: 183.4 kB / 362.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.08e-05/0.008484, allocations: 83.66 kB / 362.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.008501, allocations: 11.92 kB / 362.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.00852, allocations: 41.33 kB / 362.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.262e-06/0.008522, allocations: 0 / 362.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009242/0.009446, allocations: 0.6593 MB / 363.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.009471, allocations: 51.41 kB / 363.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.009707, allocations: 378.7 kB / 363.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.009725, allocations: 37.7 kB / 363.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.009831, allocations: 259.3 kB / 363.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.083e-05/0.009892, allocations: 126.9 kB / 364 MB, free: 9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/0.009959, allocations: 71.73 kB / 364 MB, free: 8.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.01008, allocations: 0.5157 MB / 364.5 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.471e-05/0.01016, allocations: 52.7 kB / 364.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.01026, allocations: 119.6 kB / 364.7 MB, free: 8.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.01044, allocations: 181.9 kB / 364.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01044, allocations: 4 kB / 364.9 MB, free: 8 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004682/0.01091, allocations: 356.4 kB / 365.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.01092, allocations: 4 kB / 365.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01092, allocations: 4 kB / 365.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000401/0.01132, allocations: 135.7 kB / 365.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.01155, allocations: 87.88 kB / 365.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.01347, allocations: 3.958 MB / 369.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01357, allocations: 19.97 kB / 369.4 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.01359, allocations: 8 kB / 369.4 MB, free: 3.184 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 9.447e-05/0.01368, allocations: 172.5 kB / 369.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.01373, allocations: 55.64 kB / 369.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.01397, allocations: 253.9 kB / 369.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01398, allocations: 4 kB / 369.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.12e-07/0.01398, allocations: 0 / 369.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01398, allocations: 0 / 369.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/0.0145, allocations: 0.6227 MB / 370.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01451, allocations: 0 / 370.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.01471, allocations: 75.91 kB / 370.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01471, allocations: 7.984 kB / 370.6 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01473, allocations: 4 kB / 370.6 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.01473, allocations: 4 kB / 370.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01473, allocations: 0 / 370.6 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.01507, allocations: 453 kB / 371.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.228e-05/0.01514, allocations: 59.69 kB / 371.1 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.01517, allocations: 8 kB / 371.1 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.363e-05/0.01526, allocations: 11.98 kB / 371.2 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.0153, allocations: 23.95 kB / 371.2 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01531, allocations: 11.94 kB / 371.2 MB, free: 1.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001444/0.01546, allocations: 263 kB / 371.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01546, allocations: 0 / 371.4 MB, free: 1.105 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002396/0.0157, allocations: 92 kB / 371.5 MB, free: 1.016 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 6.529e-05/0.01576, allocations: 99.25 kB / 371.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005116/0.01627, allocations: 445 kB / 372.1 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01628, allocations: 0 / 372.1 MB, free: 460 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.945e-05/0.01637, allocations: 99.45 kB / 372.2 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.01668, allocations: 91.58 kB / 372.3 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.01793, allocations: 0.9236 MB / 373.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.079e-05/0.01799, allocations: 109.3 kB / 373.3 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.203e-05/0.01808, allocations: 46.94 kB / 373.3 MB, free: 15.13 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.01815, allocations: 28.5 kB / 373.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01815, allocations: 0 / 373.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of Templates: time 0.00641/0.02456, allocations: 4.776 MB / 378.1 MB, free: 10.34 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.8570348229259253]