Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 182.6 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.334/1.334, allocations: 225.7 MB / 243.2 MB, free: 8.516 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.0007425/0.0007425, allocations: 105 kB / 294.4 MB, free: 9.508 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.3539/0.3539, allocations: 48.8 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004481, allocations: 8 kB / 468.1 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2968, allocations: 63.07 MB / 0.5187 GB, free: 37.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.001754/0.2986, allocations: 1.935 MB / 0.5206 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007508/0.2994, allocations: 0.6339 MB / 0.5212 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.2995, allocations: 6.812 kB / 0.5212 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.2996, allocations: 21.47 kB / 0.5213 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.2998, allocations: 58.03 kB / 0.5213 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.2999, allocations: 46.92 kB / 0.5214 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3001, allocations: 241.4 kB / 0.5216 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3003, allocations: 46.91 kB / 0.5216 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3004, allocations: 88.42 kB / 0.5217 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3005, allocations: 92.88 kB / 0.5218 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3005, allocations: 12.75 kB / 0.5218 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.174e-05/0.3006, allocations: 8.656 kB / 0.5218 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.3006, allocations: 39.53 kB / 0.5219 GB, free: 35.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.97e-05/0.3007, allocations: 123.9 kB / 0.522 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.3009, allocations: 183.5 kB / 0.5222 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3009, allocations: 0 / 0.5222 GB, free: 35.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3009, allocations: 0 / 0.5222 GB, free: 35.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3009, allocations: 0 / 0.5222 GB, free: 35.16 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006143/0.3015, allocations: 0.4984 MB / 0.5226 GB, free: 34.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.3016, allocations: 13.98 kB / 0.5227 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.3016, allocations: 27.22 kB / 0.5227 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.3019, allocations: 255.6 kB / 0.5229 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3019, allocations: 10.12 kB / 0.5229 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.3019, allocations: 19.69 kB / 0.523 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.3022, allocations: 159.1 kB / 0.5231 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3022, allocations: 0 / 0.5231 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.3022, allocations: 6.844 kB / 0.5231 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3022, allocations: 2.906 kB / 0.5231 GB, free: 34.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.3024, allocations: 114.9 kB / 0.5232 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006479/0.3031, allocations: 0.613 MB / 0.5238 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3033, allocations: 132 kB / 0.5239 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3035, allocations: 78.95 kB / 0.524 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3035, allocations: 3 kB / 0.524 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.121e-05/0.3035, allocations: 30.56 kB / 0.5241 GB, free: 33.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.3035, allocations: 0 / 0.5241 GB, free: 33.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008694/0.3044, allocations: 0.5706 MB / 0.5246 GB, free: 33.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.622e-05/0.3044, allocations: 54.25 kB / 0.5247 GB, free: 33.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3046, allocations: 227.6 kB / 0.5249 GB, free: 33.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.3046, allocations: 37.64 kB / 0.5249 GB, free: 33.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.3047, allocations: 135.8 kB / 0.525 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.3047, allocations: 62.66 kB / 0.5251 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.3047, allocations: 4 kB / 0.5251 GB, free: 32.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.3048, allocations: 334.5 kB / 0.5254 GB, free: 32.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3049, allocations: 53.27 kB / 0.5255 GB, free: 32.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.305, allocations: 84.48 kB / 0.5256 GB, free: 32.48 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.1591549430918953 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3061, allocations: 448 kB / 0.526 GB, free: 32.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3061, allocations: 0 / 0.526 GB, free: 32.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002917/0.3064, allocations: 205 kB / 0.5262 GB, free: 32.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3064, allocations: 5.406 kB / 0.5262 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3064, allocations: 0 / 0.5262 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3064, allocations: 3.062 kB / 0.5262 GB, free: 32.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3067, allocations: 59.39 kB / 0.5262 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.3067, allocations: 2.656 kB / 0.5263 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.3068, allocations: 17.45 kB / 0.5263 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.3069, allocations: 13.78 kB / 0.5263 GB, free: 32.15 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 prepare postOptimizeDAE: time 8.394e-05/0.3069, allocations: 130.6 kB / 0.5264 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.307, allocations: 23.34 kB / 0.5264 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.307, allocations: 27.61 kB / 0.5265 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.307, allocations: 2.656 kB / 0.5265 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3071, allocations: 0 / 0.5265 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3071, allocations: 0 / 0.5265 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.3076, allocations: 0.5352 MB / 0.527 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3076, allocations: 0 / 0.527 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3079, allocations: 57.52 kB / 0.527 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3079, allocations: 2.938 kB / 0.527 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3079, allocations: 0 / 0.527 GB, free: 31.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3079, allocations: 8 kB / 0.527 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.308, allocations: 2.844 kB / 0.527 GB, free: 31.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.3084, allocations: 350 kB / 0.5274 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.3084, allocations: 112.3 kB / 0.5275 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3085, allocations: 0 / 0.5275 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3086, allocations: 9.875 kB / 0.5275 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3087, allocations: 12.56 kB / 0.5275 GB, free: 31.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.3087, allocations: 6.969 kB / 0.5275 GB, free: 31.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3088, allocations: 166.5 kB / 0.5277 GB, free: 31.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3088, allocations: 0 / 0.5277 GB, free: 31.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.309, allocations: 38.97 kB / 0.5277 GB, free: 31.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (18): * Single equations (assignments): 18 * 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 6.965e-05/0.3091, allocations: 109.2 kB / 0.5278 GB, free: 31.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3094, allocations: 142.2 kB / 0.528 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3094, allocations: 2.938 kB / 0.528 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.3096, allocations: 77.34 kB / 0.528 GB, free: 30.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.3099, allocations: 34 kB / 0.5281 GB, free: 30.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.3107, allocations: 0.713 MB / 0.5288 GB, free: 30.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.3109, allocations: 0.7379 MB / 0.5295 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.398e-05/0.311, allocations: 23 kB / 0.5295 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.402e-05/0.311, allocations: 17.94 kB / 0.5295 GB, free: 29.75 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.311, allocations: 2.625 kB / 0.5295 GB, free: 29.75 MB / 378.7 MB Notification: Performance of Templates: time 0.003899/0.3149, allocations: 1.824 MB / 0.5313 GB, free: 29.58 MB / 378.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)