Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008738/0.0008739, allocations: 186.2 kB / 16.71 MB, free: 4.961 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.297/1.297, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0007858/0.000786, allocations: 93.41 kB / 294.4 MB, free: 9.488 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.3467/0.3467, allocations: 48.79 MB / 394.3 MB, free: 33.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 468.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2716, allocations: 63.08 MB / 0.5187 GB, free: 37.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.001809/0.2734, allocations: 2.016 MB / 0.5207 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008265/0.2743, allocations: 0.6678 MB / 0.5213 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2744, allocations: 9.781 kB / 0.5214 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.2745, allocations: 18.23 kB / 0.5214 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.2747, allocations: 69.52 kB / 0.5214 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.2748, allocations: 57.81 kB / 0.5215 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.2751, allocations: 259.4 kB / 0.5217 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.2752, allocations: 53.45 kB / 0.5218 GB, free: 35.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2753, allocations: 104.3 kB / 0.5219 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2755, allocations: 95.62 kB / 0.522 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.2755, allocations: 8.406 kB / 0.522 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.2756, allocations: 14.16 kB / 0.522 GB, free: 35.31 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.2756, allocations: 47.41 kB / 0.522 GB, free: 35.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.733e-05/0.2757, allocations: 134.1 kB / 0.5222 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.2759, allocations: 207 kB / 0.5224 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2759, allocations: 0 / 0.5224 GB, free: 35.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2759, allocations: 0 / 0.5224 GB, free: 35.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2759, allocations: 0 / 0.5224 GB, free: 35.11 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006622/0.2766, allocations: 0.5223 MB / 0.5229 GB, free: 34.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2766, allocations: 16.48 kB / 0.5229 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.2767, allocations: 31.97 kB / 0.5229 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.277, allocations: 262.8 kB / 0.5232 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.277, allocations: 12.72 kB / 0.5232 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.277, allocations: 19.72 kB / 0.5232 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.2773, allocations: 187.2 kB / 0.5234 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2773, allocations: 0 / 0.5234 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2773, allocations: 6.844 kB / 0.5234 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.2774, allocations: 2.906 kB / 0.5234 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2776, allocations: 121.2 kB / 0.5235 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.2784, allocations: 0.6617 MB / 0.5242 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.2786, allocations: 141.8 kB / 0.5243 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.2788, allocations: 85.45 kB / 0.5244 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.2788, allocations: 2.906 kB / 0.5244 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2788, allocations: 33.5 kB / 0.5244 GB, free: 33.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.2788, allocations: 0 / 0.5244 GB, free: 33.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008906/0.2797, allocations: 0.5744 MB / 0.525 GB, free: 33.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.2797, allocations: 54.53 kB / 0.525 GB, free: 33.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.2799, allocations: 237.3 kB / 0.5252 GB, free: 32.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2799, allocations: 33.7 kB / 0.5253 GB, free: 32.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.28, allocations: 138.8 kB / 0.5254 GB, free: 32.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.28, allocations: 63.8 kB / 0.5255 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.2801, allocations: 6.688 kB / 0.5255 GB, free: 32.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.218e-05/0.2801, allocations: 343.3 kB / 0.5258 GB, free: 32.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.2802, allocations: 52.02 kB / 0.5259 GB, free: 32.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2804, allocations: 83.86 kB / 0.5259 GB, free: 32.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.2806, allocations: 140.9 kB / 0.5261 GB, free: 32.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2806, allocations: 0 / 0.5261 GB, free: 32.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002964/0.2809, allocations: 199.8 kB / 0.5263 GB, free: 32.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2809, allocations: 8.875 kB / 0.5263 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2809, allocations: 3.938 kB / 0.5263 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.281, allocations: 3 kB / 0.5263 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.2813, allocations: 73.92 kB / 0.5263 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007347/0.2821, allocations: 1.347 MB / 0.5277 GB, free: 30.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2822, allocations: 16.12 kB / 0.5277 GB, free: 30.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.2822, allocations: 3.031 kB / 0.5277 GB, free: 30.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 8.376e-05/0.2823, allocations: 130.2 kB / 0.5278 GB, free: 30.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.2824, allocations: 25.72 kB / 0.5278 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002995/0.2827, allocations: 202.5 kB / 0.528 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2827, allocations: 2.969 kB / 0.528 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2827, allocations: 0 / 0.528 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.2827, allocations: 3.938 kB / 0.528 GB, free: 30.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.2833, allocations: 0.5359 MB / 0.5286 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2833, allocations: 0 / 0.5286 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.2835, allocations: 45.77 kB / 0.5286 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2835, allocations: 2.906 kB / 0.5286 GB, free: 30.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2835, allocations: 3.938 kB / 0.5286 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2836, allocations: 0 / 0.5286 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2836, allocations: 2.875 kB / 0.5286 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.284, allocations: 356.2 kB / 0.5289 GB, free: 29.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.284, allocations: 109.2 kB / 0.5291 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2841, allocations: 10.94 kB / 0.5291 GB, free: 29.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.2842, allocations: 17.05 kB / 0.5291 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.626e-05/0.2843, allocations: 8.844 kB / 0.5291 GB, free: 29.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.2843, allocations: 6.75 kB / 0.5291 GB, free: 29.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.2844, allocations: 167.5 kB / 0.5293 GB, free: 29.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2844, allocations: 0 / 0.5293 GB, free: 29.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.2847, allocations: 47.03 kB / 0.5293 GB, free: 29.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.771e-05/0.2848, allocations: 104.8 kB / 0.5294 GB, free: 29.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.2853, allocations: 178.1 kB / 0.5296 GB, free: 29.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2853, allocations: 0 / 0.5296 GB, free: 29.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2854, allocations: 77.2 kB / 0.5296 GB, free: 29.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.2858, allocations: 38.75 kB / 0.5297 GB, free: 29.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.2868, allocations: 0.827 MB / 0.5305 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.287, allocations: 0.7551 MB / 0.5312 GB, free: 28.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.948e-05/0.2871, allocations: 33.67 kB / 0.5313 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.894e-05/0.2871, allocations: 18.69 kB / 0.5313 GB, free: 28.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2872, allocations: 0 / 0.5313 GB, free: 28.22 MB / 378.7 MB Notification: Performance of Templates: time 0.004465/0.2916, allocations: 2.14 MB / 0.5334 GB, free: 28.04 MB / 378.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1)