Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008711/0.0008715, allocations: 184.7 kB / 16.72 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.7 MB / 243.2 MB, free: 10.24 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008087, allocations: 99.72 kB / 294.4 MB, free: 9.746 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3503/0.3503, allocations: 48.79 MB / 394.3 MB, free: 34.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004297, allocations: 8 kB / 468.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 63.08 MB / 0.5187 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002037/0.2948, allocations: 2.294 MB / 0.521 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000872/0.2957, allocations: 0.7533 MB / 0.5217 GB, free: 34.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2958, allocations: 8.938 kB / 0.5217 GB, free: 34.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.296, allocations: 31.77 kB / 0.5217 GB, free: 34.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.2962, allocations: 100.5 kB / 0.5218 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.2964, allocations: 77.25 kB / 0.5219 GB, free: 34.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.2967, allocations: 380.5 kB / 0.5223 GB, free: 34.49 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.2968, allocations: 72.66 kB / 0.5223 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.297, allocations: 141.7 kB / 0.5225 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.2971, allocations: 150.5 kB / 0.5226 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2972, allocations: 14.88 kB / 0.5226 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.2972, allocations: 14.31 kB / 0.5226 GB, free: 34.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.2973, allocations: 53.47 kB / 0.5227 GB, free: 34.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.2974, allocations: 186.6 kB / 0.5229 GB, free: 34.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.2976, allocations: 290.5 kB / 0.5231 GB, free: 34.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2976, allocations: 0 / 0.5231 GB, free: 34.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2976, allocations: 2.906 kB / 0.5232 GB, free: 34.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2976, allocations: 4 kB / 0.5232 GB, free: 34.05 MB / 378.7 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.00078/0.2984, allocations: 0.6213 MB / 0.5238 GB, free: 33.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2985, allocations: 16.17 kB / 0.5238 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.101e-05/0.2986, allocations: 40.16 kB / 0.5238 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2988, allocations: 314.2 kB / 0.5241 GB, free: 33.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2989, allocations: 17.81 kB / 0.5241 GB, free: 33.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.2989, allocations: 23.28 kB / 0.5242 GB, free: 33.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.2993, allocations: 253.1 kB / 0.5244 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2993, allocations: 0 / 0.5244 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2993, allocations: 6.844 kB / 0.5244 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2993, allocations: 5.812 kB / 0.5244 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.2997, allocations: 195.9 kB / 0.5246 GB, free: 33.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.3006, allocations: 0.8773 MB / 0.5255 GB, free: 32.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.3009, allocations: 187.6 kB / 0.5256 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.3011, allocations: 112.8 kB / 0.5257 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3011, allocations: 4 kB / 0.5257 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.484e-05/0.3011, allocations: 37.34 kB / 0.5258 GB, free: 32.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.3011, allocations: 0 / 0.5258 GB, free: 32.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001165/0.3023, allocations: 0.7765 MB / 0.5265 GB, free: 31.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.3023, allocations: 58.11 kB / 0.5266 GB, free: 31.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.3026, allocations: 292.1 kB / 0.5269 GB, free: 31.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3026, allocations: 36.45 kB / 0.5269 GB, free: 31.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.3027, allocations: 180.3 kB / 0.5271 GB, free: 31.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.3027, allocations: 108.2 kB / 0.5272 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.3028, allocations: 6.594 kB / 0.5272 GB, free: 31.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.3028, allocations: 338.4 kB / 0.5275 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.303, allocations: 89.09 kB / 0.5276 GB, free: 30.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.3032, allocations: 105.5 kB / 0.5277 GB, free: 30.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.3035, allocations: 213.3 kB / 0.5279 GB, free: 30.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3035, allocations: 0 / 0.5279 GB, free: 30.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000548/0.304, allocations: 327.7 kB / 0.5282 GB, free: 30.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3041, allocations: 5.125 kB / 0.5282 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3041, allocations: 4.062 kB / 0.5282 GB, free: 30.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/0.3043, allocations: 58.95 kB / 0.5283 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/0.3047, allocations: 76.25 kB / 0.5283 GB, free: 30.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3062, allocations: 2.827 MB / 0.5311 GB, free: 27.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3064, allocations: 20.14 kB / 0.5311 GB, free: 27.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.3065, allocations: 5.844 kB / 0.5311 GB, free: 27.76 MB / 378.7 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.0001045/0.3066, allocations: 143.9 kB / 0.5313 GB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.3066, allocations: 34.16 kB / 0.5313 GB, free: 27.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.307, allocations: 269.6 kB / 0.5316 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3071, allocations: 2.781 kB / 0.5316 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3071, allocations: 0 / 0.5316 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3071, allocations: 0 / 0.5316 GB, free: 27.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007217/0.3078, allocations: 0.6796 MB / 0.5322 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3078, allocations: 6.844 kB / 0.5322 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.3081, allocations: 71.06 kB / 0.5323 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/0.3081, allocations: 2.906 kB / 0.5323 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3082, allocations: 10.72 kB / 0.5323 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3082, allocations: 0 / 0.5323 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3082, allocations: 0 / 0.5323 GB, free: 27.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.3087, allocations: 465.3 kB / 0.5328 GB, free: 26.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.3088, allocations: 115.2 kB / 0.5329 GB, free: 26.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.3088, allocations: 13.53 kB / 0.5329 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.309, allocations: 18.25 kB / 0.5329 GB, free: 26.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3091, allocations: 29.47 kB / 0.5329 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.3091, allocations: 13.34 kB / 0.5329 GB, free: 26.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.3093, allocations: 211.8 kB / 0.5331 GB, free: 26.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3093, allocations: 0 / 0.5331 GB, free: 26.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.3096, allocations: 69.75 kB / 0.5332 GB, free: 26.49 MB / 378.7 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 7.499e-05/0.3096, allocations: 103.3 kB / 0.5333 GB, free: 26.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007747/0.3104, allocations: 384.7 kB / 0.5337 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3104, allocations: 128 / 0.5337 GB, free: 26.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3106, allocations: 113 kB / 0.5338 GB, free: 26.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.3111, allocations: 56.11 kB / 0.5338 GB, free: 26.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3124, allocations: 1.146 MB / 0.535 GB, free: 25.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.3126, allocations: 0.7926 MB / 0.5357 GB, free: 24.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.3128, allocations: 34.59 kB / 0.5358 GB, free: 24.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.964e-05/0.3128, allocations: 23.19 kB / 0.5358 GB, free: 24.66 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3129, allocations: 2.625 kB / 0.5358 GB, free: 24.66 MB / 378.7 MB Notification: Performance of Templates: time 0.006298/0.3192, allocations: 3.169 MB / 0.5389 GB, free: 24.41 MB / 378.7 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)