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.00141/0.00141, allocations: 123.4 kB / 18.46 MB, free: 4.449 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.001373/0.001373, allocations: 192.3 kB / 21.4 MB, free: 1.52 MB / 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.251/1.251, allocations: 207.6 MB / 231.8 MB, free: 3.969 MB / 174.1 MB " [Timeout remaining time 179] 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.354/0.354, allocations: 49.52 MB / 333.2 MB, free: 0.8438 MB / 254.1 MB " [Timeout remaining time 180] 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.001961/0.001961, allocations: 67.8 kB / 471.9 MB, free: 40.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.08076, allocations: 62.35 MB / 0.5217 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003376/0.08414, allocations: 2.984 MB / 0.5247 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.08549, allocations: 0.815 MB / 0.5255 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.08564, allocations: 11.94 kB / 0.5255 GB, free: 14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.0858, allocations: 51.39 kB / 0.5255 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.08612, allocations: 138.8 kB / 0.5257 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.08636, allocations: 111.8 kB / 0.5258 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.08683, allocations: 498.3 kB / 0.5262 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.08702, allocations: 104.1 kB / 0.5263 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.08725, allocations: 191.2 kB / 0.5265 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.08751, allocations: 210.9 kB / 0.5267 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.252e-05/0.08756, allocations: 32 kB / 0.5267 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.08764, allocations: 36 kB / 0.5268 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.08773, allocations: 91.61 kB / 0.5269 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.08791, allocations: 214.8 kB / 0.5271 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.08836, allocations: 414 kB / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08836, allocations: 0 / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08836, allocations: 0 / 0.5275 GB, free: 11.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.08837, allocations: 0 / 0.5275 GB, free: 11.95 MB / 398.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.001272/0.08965, allocations: 0.7591 MB / 0.5282 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.08968, allocations: 12.03 kB / 0.5282 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.08979, allocations: 52.61 kB / 0.5283 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000498/0.09029, allocations: 370.3 kB / 0.5286 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.09031, allocations: 21.03 kB / 0.5286 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.09038, allocations: 40.33 kB / 0.5287 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.09084, allocations: 297.7 kB / 0.529 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.09086, allocations: 3.984 kB / 0.529 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.09089, allocations: 12 kB / 0.529 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.09091, allocations: 12 kB / 0.529 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000369/0.09127, allocations: 202.1 kB / 0.5292 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.09288, allocations: 1.105 MB / 0.5303 GB, free: 8.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.09326, allocations: 235.9 kB / 0.5305 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.09345, allocations: 112.8 kB / 0.5306 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.09347, allocations: 4 kB / 0.5306 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.0935, allocations: 39.09 kB / 0.5306 GB, free: 8.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.0935, allocations: 0 / 0.5306 GB, free: 8.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001691/0.09519, allocations: 0.9375 MB / 0.5316 GB, free: 7.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.09523, allocations: 55.41 kB / 0.5316 GB, free: 7.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.09559, allocations: 357.6 kB / 0.5319 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.09562, allocations: 37.64 kB / 0.532 GB, free: 7.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.09577, allocations: 216.6 kB / 0.5322 GB, free: 6.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.09586, allocations: 126.8 kB / 0.5323 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.044e-05/0.09595, allocations: 62.08 kB / 0.5324 GB, free: 6.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.09612, allocations: 358.7 kB / 0.5327 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.09628, allocations: 88.7 kB / 0.5328 GB, free: 6.168 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.09648, allocations: 133.7 kB / 0.5329 GB, free: 6.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.09685, allocations: 239.8 kB / 0.5332 GB, free: 5.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.09685, allocations: 0 / 0.5332 GB, free: 5.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008996/0.09775, allocations: 417.6 kB / 0.5336 GB, free: 5.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.09776, allocations: 4 kB / 0.5336 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.09777, allocations: 7.938 kB / 0.5336 GB, free: 5.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005624/0.09833, allocations: 116.9 kB / 0.5337 GB, free: 5.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.09874, allocations: 95.88 kB / 0.5338 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.1021, allocations: 3.341 MB / 0.537 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.1023, allocations: 20.16 kB / 0.537 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.1023, allocations: 20 kB / 0.5371 GB, free: 1.465 MB / 398.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.0001604/0.1025, allocations: 141.8 kB / 0.5372 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.1026, allocations: 51.7 kB / 0.5373 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.103, allocations: 294 kB / 0.5375 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.103, allocations: 4 kB / 0.5375 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.1031, allocations: 3.938 kB / 0.5375 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.1031, allocations: 3.984 kB / 0.5375 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009942/0.1041, allocations: 0.7488 MB / 0.5383 GB, free: 160 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1041, allocations: 3.938 kB / 0.5383 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.1044, allocations: 83.91 kB / 0.5384 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1044, allocations: 3.984 kB / 0.5384 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1045, allocations: 8 kB / 0.5384 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1045, allocations: 0 / 0.5384 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1045, allocations: 0 / 0.5384 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.1052, allocations: 0.4919 MB / 0.5388 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.1053, allocations: 140.8 kB / 0.539 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.1053, allocations: 8 kB / 0.539 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1055, allocations: 12 kB / 0.539 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.1056, allocations: 19.97 kB / 0.539 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1056, allocations: 15.88 kB / 0.539 GB, free: 15.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.1059, allocations: 255.2 kB / 0.5393 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1059, allocations: 0 / 0.5393 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003405/0.1062, allocations: 92 kB / 0.5394 GB, free: 15 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 0.0001091/0.1063, allocations: 99.25 kB / 0.5395 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000855/0.1072, allocations: 414.8 kB / 0.5399 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1072, allocations: 0 / 0.5399 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.1074, allocations: 127.7 kB / 0.54 GB, free: 14.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.1078, allocations: 75.25 kB / 0.5401 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1096, allocations: 1.09 MB / 0.5411 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004275/0.11, allocations: 0.8113 MB / 0.5419 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.535e-05/0.1101, allocations: 27.44 kB / 0.5419 GB, free: 12.29 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1101, allocations: 4 kB / 0.5419 GB, free: 12.29 MB / 414.1 MB Notification: Performance of Templates: time 0.00803/0.1181, allocations: 5.808 MB / 0.5476 GB, free: 6.465 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: 6.6868559387512505] Failed to read output from testmodel.py, exit status != 0: 0.12474360689520836 0.137711995 0.046758273 Calling exit ...