Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 179.7 kB / 16.71 MB, free: 4.969 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.388/1.388, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.0007699/0.0007698, allocations: 97.38 kB / 294.4 MB, free: 9.477 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.3804/0.3804, allocations: 48.79 MB / 394.3 MB, free: 33.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 8 kB / 468.1 MB, free: 9.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2823, allocations: 63.08 MB / 0.5187 GB, free: 37.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002345/0.2847, allocations: 2.672 MB / 0.5213 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009888/0.2857, allocations: 0.8383 MB / 0.5221 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.2859, allocations: 9.562 kB / 0.5222 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.286, allocations: 35.45 kB / 0.5222 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.2863, allocations: 117.3 kB / 0.5223 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.2865, allocations: 104 kB / 0.5224 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.2868, allocations: 461 kB / 0.5228 GB, free: 34.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001976/0.287, allocations: 118.8 kB / 0.523 GB, free: 34.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2872, allocations: 173.9 kB / 0.5231 GB, free: 34.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.2874, allocations: 185.4 kB / 0.5233 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.954e-05/0.2874, allocations: 17.25 kB / 0.5233 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.15e-05/0.2875, allocations: 17.16 kB / 0.5233 GB, free: 34.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.2876, allocations: 67.34 kB / 0.5234 GB, free: 34.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2877, allocations: 222.4 kB / 0.5236 GB, free: 34.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.288, allocations: 379.1 kB / 0.524 GB, free: 34.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.288, allocations: 0 / 0.524 GB, free: 34.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.288, allocations: 0 / 0.524 GB, free: 34.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.288, allocations: 6.938 kB / 0.524 GB, free: 34.03 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009658/0.289, allocations: 0.6773 MB / 0.5246 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.289, allocations: 16.36 kB / 0.5246 GB, free: 33.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.2891, allocations: 51.12 kB / 0.5247 GB, free: 33.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.2895, allocations: 351.3 kB / 0.525 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.2895, allocations: 23.97 kB / 0.5251 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.2896, allocations: 39.62 kB / 0.5251 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.29, allocations: 303.2 kB / 0.5254 GB, free: 32.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.29, allocations: 3.938 kB / 0.5254 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.29, allocations: 10.84 kB / 0.5254 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.29, allocations: 8.781 kB / 0.5254 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.2904, allocations: 203 kB / 0.5256 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2917, allocations: 1.125 MB / 0.5267 GB, free: 32.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.292, allocations: 247.8 kB / 0.5269 GB, free: 32.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.2922, allocations: 120 kB / 0.527 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2922, allocations: 2.875 kB / 0.527 GB, free: 31.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.2923, allocations: 37.56 kB / 0.5271 GB, free: 31.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.2923, allocations: 0 / 0.5271 GB, free: 31.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.001469/0.2937, allocations: 0.9543 MB / 0.528 GB, free: 31.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.055e-05/0.2938, allocations: 54.12 kB / 0.5281 GB, free: 31.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.2941, allocations: 353.4 kB / 0.5284 GB, free: 31.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.2941, allocations: 32.67 kB / 0.5284 GB, free: 31.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.707e-05/0.2942, allocations: 219.1 kB / 0.5286 GB, free: 30.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.545e-05/0.2943, allocations: 113.9 kB / 0.5288 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.2943, allocations: 6.625 kB / 0.5288 GB, free: 30.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.617e-05/0.2943, allocations: 361.5 kB / 0.5291 GB, free: 30.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.2945, allocations: 85.48 kB / 0.5292 GB, free: 30.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.2947, allocations: 139.4 kB / 0.5293 GB, free: 30.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000313/0.295, allocations: 240.3 kB / 0.5295 GB, free: 30.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.295, allocations: 3.031 kB / 0.5296 GB, free: 30.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008102/0.2958, allocations: 418.7 kB / 0.53 GB, free: 29.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2958, allocations: 5.531 kB / 0.53 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2959, allocations: 0 / 0.53 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.2964, allocations: 123.1 kB / 0.5301 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.2969, allocations: 104.8 kB / 0.5302 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.2992, allocations: 3.104 MB / 0.5332 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.2994, allocations: 9.25 kB / 0.5332 GB, free: 27.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.2994, allocations: 11.88 kB / 0.5332 GB, free: 27.02 MB / 378.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 0.0001201/0.2996, allocations: 158.9 kB / 0.5334 GB, free: 26.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.2996, allocations: 45.75 kB / 0.5334 GB, free: 26.85 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.3, allocations: 298.7 kB / 0.5337 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3001, allocations: 2.625 kB / 0.5337 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.3001, allocations: 0 / 0.5337 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3001, allocations: 0 / 0.5337 GB, free: 26.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/0.3009, allocations: 0.7601 MB / 0.5345 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3009, allocations: 2.625 kB / 0.5345 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003708/0.3013, allocations: 74.25 kB / 0.5345 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.3013, allocations: 5.953 kB / 0.5345 GB, free: 26.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.3013, allocations: 10.62 kB / 0.5345 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3013, allocations: 3.938 kB / 0.5345 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3013, allocations: 0 / 0.5345 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005632/0.3019, allocations: 0.4887 MB / 0.535 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.937e-05/0.302, allocations: 136 kB / 0.5352 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3021, allocations: 5.375 kB / 0.5352 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.3023, allocations: 12.83 kB / 0.5352 GB, free: 25.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3023, allocations: 31.16 kB / 0.5352 GB, free: 25.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3024, allocations: 9.781 kB / 0.5352 GB, free: 25.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002118/0.3026, allocations: 250.5 kB / 0.5354 GB, free: 25.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3026, allocations: 0 / 0.5354 GB, free: 25.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.3029, allocations: 90.91 kB / 0.5355 GB, free: 25.64 MB / 378.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 0.0001051/0.303, allocations: 112.9 kB / 0.5356 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000828/0.3039, allocations: 438.1 kB / 0.5361 GB, free: 25.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3039, allocations: 0 / 0.5361 GB, free: 25.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.3041, allocations: 134 kB / 0.5362 GB, free: 25.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.3046, allocations: 67.39 kB / 0.5362 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3062, allocations: 1.349 MB / 0.5376 GB, free: 24.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3064, allocations: 0.8225 MB / 0.5384 GB, free: 23.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.3066, allocations: 40.58 kB / 0.5384 GB, free: 23.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.34e-05/0.3067, allocations: 33.42 kB / 0.5384 GB, free: 23.64 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3067, allocations: 0 / 0.5384 GB, free: 23.64 MB / 378.7 MB Notification: Performance of Templates: time 0.007877/0.3146, allocations: 4.206 MB / 0.5425 GB, free: 23.32 MB / 378.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile (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)