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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.475/1.475, allocations: 207.6 MB / 232.8 MB, free: 11 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.29/0.29, allocations: 49.52 MB / 334.4 MB, free: 4.688 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 63.91 kB / 474.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1138, allocations: 62.34 MB / 0.524 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004359/0.1182, allocations: 2.981 MB / 0.5269 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1196, allocations: 0.8189 MB / 0.5277 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.1198, allocations: 11.94 kB / 0.5277 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.12, allocations: 59.33 kB / 0.5277 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.1203, allocations: 138.8 kB / 0.5279 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1206, allocations: 115.8 kB / 0.528 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.1211, allocations: 498.3 kB / 0.5285 GB, free: 10.29 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002244/0.1213, allocations: 104.1 kB / 0.5286 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1216, allocations: 187.2 kB / 0.5287 GB, free: 10 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1218, allocations: 206.9 kB / 0.5289 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.459e-05/0.1219, allocations: 32 kB / 0.529 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.039e-05/0.122, allocations: 43.94 kB / 0.529 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.1221, allocations: 91.55 kB / 0.5291 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.1223, allocations: 214.8 kB / 0.5293 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004963/0.1228, allocations: 410 kB / 0.5297 GB, free: 9.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1228, allocations: 4 kB / 0.5297 GB, free: 9.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1228, allocations: 0 / 0.5297 GB, free: 9.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1228, allocations: 0 / 0.5297 GB, free: 9.016 MB / 414.1 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.001448/0.1242, allocations: 0.7669 MB / 0.5304 GB, free: 8.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1243, allocations: 8.031 kB / 0.5304 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1244, allocations: 52.61 kB / 0.5305 GB, free: 8.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.1249, allocations: 358.4 kB / 0.5308 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.125, allocations: 29.03 kB / 0.5309 GB, free: 7.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.125, allocations: 40.33 kB / 0.5309 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.1256, allocations: 293.7 kB / 0.5312 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.1256, allocations: 0 / 0.5312 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.1256, allocations: 16 kB / 0.5312 GB, free: 7.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1256, allocations: 8 kB / 0.5312 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004262/0.1261, allocations: 206 kB / 0.5314 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.1279, allocations: 1.112 MB / 0.5325 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.1283, allocations: 235 kB / 0.5327 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.1285, allocations: 108.8 kB / 0.5328 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1285, allocations: 4 kB / 0.5328 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1285, allocations: 39.09 kB / 0.5329 GB, free: 5.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 3.527e-06/0.1285, allocations: 7.984 kB / 0.5329 GB, free: 5.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.001823/0.1304, allocations: 0.9297 MB / 0.5338 GB, free: 4.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.1305, allocations: 59.41 kB / 0.5338 GB, free: 4.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.1309, allocations: 361.6 kB / 0.5342 GB, free: 4.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1309, allocations: 33.7 kB / 0.5342 GB, free: 4.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1311, allocations: 212.6 kB / 0.5344 GB, free: 3.879 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1312, allocations: 126.9 kB / 0.5345 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1313, allocations: 62.08 kB / 0.5346 GB, free: 3.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1314, allocations: 354.7 kB / 0.5349 GB, free: 3.328 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.1316, allocations: 84.7 kB / 0.535 GB, free: 3.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.1318, allocations: 137.7 kB / 0.5351 GB, free: 3.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.1322, allocations: 243.8 kB / 0.5354 GB, free: 2.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1322, allocations: 4 kB / 0.5354 GB, free: 2.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009713/0.1332, allocations: 413.8 kB / 0.5358 GB, free: 2.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1332, allocations: 11.91 kB / 0.5358 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.1332, allocations: 4 kB / 0.5358 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.1339, allocations: 124.7 kB / 0.5359 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004421/0.1343, allocations: 91.88 kB / 0.536 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1934/0.3277, allocations: 3.324 MB / 0.5392 GB, free: 21.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.328, allocations: 14.31 kB / 0.5393 GB, free: 21.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.328, allocations: 12.86 kB / 0.5393 GB, free: 21.83 MB / 414.1 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.0001463/0.3281, allocations: 153.1 kB / 0.5394 GB, free: 21.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.3282, allocations: 41.55 kB / 0.5394 GB, free: 21.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.3287, allocations: 300.5 kB / 0.5397 GB, free: 21.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3287, allocations: 4.547 kB / 0.5397 GB, free: 21.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.3287, allocations: 3.891 kB / 0.5397 GB, free: 21.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3287, allocations: 1.828 kB / 0.5397 GB, free: 21.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009143/0.3296, allocations: 0.752 MB / 0.5405 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3296, allocations: 2.75 kB / 0.5405 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.33, allocations: 75.53 kB / 0.5406 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.33, allocations: 1.734 kB / 0.5406 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.33, allocations: 10.52 kB / 0.5406 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.33, allocations: 7.281 kB / 0.5406 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.33, allocations: 1.25 kB / 0.5406 GB, free: 21.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.3306, allocations: 0.4953 MB / 0.5411 GB, free: 21.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.3307, allocations: 138.1 kB / 0.5412 GB, free: 21.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3308, allocations: 12.11 kB / 0.5412 GB, free: 21.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.331, allocations: 10.28 kB / 0.5412 GB, free: 21.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.331, allocations: 25.28 kB / 0.5412 GB, free: 21.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3311, allocations: 6.078 kB / 0.5412 GB, free: 21.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.3313, allocations: 257.7 kB / 0.5415 GB, free: 21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3313, allocations: 0 / 0.5415 GB, free: 21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.3317, allocations: 87.41 kB / 0.5416 GB, free: 20.99 MB / 414.1 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.961e-05/0.3317, allocations: 103.2 kB / 0.5417 GB, free: 20.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.3326, allocations: 426 kB / 0.5421 GB, free: 20.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3326, allocations: 3.188 kB / 0.5421 GB, free: 20.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3328, allocations: 115.4 kB / 0.5422 GB, free: 20.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.3332, allocations: 83.91 kB / 0.5423 GB, free: 20.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.3348, allocations: 1.08 MB / 0.5433 GB, free: 20.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3351, allocations: 0.8226 MB / 0.5441 GB, free: 19.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000156/0.3353, allocations: 44.16 kB / 0.5442 GB, free: 19.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.201e-05/0.3354, allocations: 33.58 kB / 0.5442 GB, free: 19.32 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3354, allocations: 1.344 kB / 0.5442 GB, free: 19.32 MB / 414.1 MB Notification: Performance of Templates: time 0.009918/0.3453, allocations: 4.807 MB / 0.5489 GB, free: 18.92 MB / 414.1 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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.017256806604564]