Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009607/0.0009608, allocations: 110.1 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 193.3 kB / 18.21 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.178/1.178, allocations: 205.1 MB / 224.1 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2463/0.2463, allocations: 48.84 MB / 320.2 MB, free: 11.27 MB / 270.1 MB 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.001329/0.001329, allocations: 67.22 kB / 390.2 MB, free: 49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08808, allocations: 59.16 MB / 449.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003539/0.09165, allocations: 2.746 MB / 452.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.09277, allocations: 0.7643 MB / 452.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.09291, allocations: 4 kB / 452.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.09306, allocations: 27.72 kB / 452.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.09332, allocations: 107.2 kB / 453 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.09351, allocations: 71.86 kB / 453.1 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.09388, allocations: 394.2 kB / 453.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.09406, allocations: 85.56 kB / 453.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.09425, allocations: 155.3 kB / 453.7 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.09445, allocations: 171.1 kB / 453.9 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.09449, allocations: 24 kB / 453.9 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.09457, allocations: 32 kB / 453.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.09462, allocations: 59.77 kB / 454 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.09476, allocations: 175 kB / 454.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.09501, allocations: 239.6 kB / 454.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09502, allocations: 0 / 454.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09503, allocations: 0 / 454.4 MB, free: 5.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.09504, allocations: 0 / 454.4 MB, free: 5.086 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009709/0.09601, allocations: 0.662 MB / 455 MB, free: 4.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.09606, allocations: 15.89 kB / 455.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.09617, allocations: 44.47 kB / 455.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.09653, allocations: 316 kB / 455.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.09655, allocations: 16.81 kB / 455.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.0966, allocations: 24.38 kB / 455.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/0.097, allocations: 242.9 kB / 455.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.09703, allocations: 4 kB / 455.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.103e-05/0.09705, allocations: 8 kB / 455.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.09707, allocations: 12 kB / 455.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.09741, allocations: 169.6 kB / 455.9 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.09849, allocations: 0.8749 MB / 456.8 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.09879, allocations: 183.6 kB / 456.9 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.09897, allocations: 108.8 kB / 457 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.099, allocations: 4 kB / 457 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.09904, allocations: 34.56 kB / 457.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.213e-06/0.09904, allocations: 3.938 kB / 457.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001235/0.1003, allocations: 0.7373 MB / 457.8 MB, free: 1.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1003, allocations: 59.41 kB / 457.9 MB, free: 1.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.1006, allocations: 296.6 kB / 458.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1006, allocations: 33.7 kB / 458.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1008, allocations: 184.5 kB / 458.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/0.1008, allocations: 90.66 kB / 458.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.1009, allocations: 61.55 kB / 458.5 MB, free: 0.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.101, allocations: 342.8 kB / 458.9 MB, free: 332 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1012, allocations: 75.95 kB / 458.9 MB, free: 256 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1014, allocations: 110.7 kB / 459 MB, free: 136 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.1017, allocations: 192.2 kB / 459.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1017, allocations: 0 / 459.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005787/0.1023, allocations: 326.9 kB / 459.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1023, allocations: 4 kB / 459.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1023, allocations: 0 / 459.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.1026, allocations: 56.88 kB / 459.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.1029, allocations: 75.89 kB / 459.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.1052, allocations: 3.036 MB / 462.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.1054, allocations: 16.02 kB / 462.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.1054, allocations: 7.938 kB / 462.7 MB, free: 12.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.1055, allocations: 156.8 kB / 462.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.1056, allocations: 31.53 kB / 462.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004282/0.106, allocations: 265.3 kB / 463.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.106, allocations: 4 kB / 463.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.106, allocations: 3.938 kB / 463.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1061, allocations: 0 / 463.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.1069, allocations: 0.6583 MB / 463.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1069, allocations: 4 kB / 463.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.1072, allocations: 72.08 kB / 463.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1072, allocations: 0 / 463.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.1073, allocations: 15.94 kB / 463.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1073, allocations: 0 / 463.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1073, allocations: 0 / 463.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.1079, allocations: 451.6 kB / 464.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.108, allocations: 124.8 kB / 464.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.108, allocations: 11.88 kB / 464.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1082, allocations: 12 kB / 464.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.1083, allocations: 19.97 kB / 464.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1083, allocations: 4 kB / 464.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1085, allocations: 215.1 kB / 464.8 MB, free: 10 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1085, allocations: 0 / 464.8 MB, free: 10 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1088, allocations: 76 kB / 464.8 MB, free: 9.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.285e-05/0.1089, allocations: 95.25 kB / 464.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007472/0.1096, allocations: 366.4 kB / 465.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1096, allocations: 4.125 kB / 465.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1098, allocations: 111.8 kB / 465.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.1103, allocations: 65.8 kB / 465.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.1118, allocations: 1.059 MB / 466.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1121, allocations: 0.7875 MB / 467.3 MB, free: 7.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.1122, allocations: 23.44 kB / 467.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1122, allocations: 0 / 467.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of Templates: time 0.005777/0.118, allocations: 4.744 MB / 472.1 MB, free: 2.602 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)