Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009458/0.0009459, allocations: 180 kB / 16.71 MB, free: 5.074 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.295/1.295, allocations: 225.7 MB / 243.2 MB, free: 10.17 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.0007697/0.0007698, allocations: 93.69 kB / 294.4 MB, free: 9.727 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.3704/0.3704, allocations: 48.8 MB / 394.3 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003404, allocations: 12.16 kB / 468.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 63.08 MB / 0.5187 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.002536/0.2839, allocations: 2.886 MB / 0.5215 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.285, allocations: 0.8636 MB / 0.5224 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.2852, allocations: 12.22 kB / 0.5224 GB, free: 34.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2854, allocations: 43.16 kB / 0.5224 GB, free: 34.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.2857, allocations: 121.4 kB / 0.5225 GB, free: 34.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001861/0.2859, allocations: 107.4 kB / 0.5226 GB, free: 34.02 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.2862, allocations: 0.4993 MB / 0.5231 GB, free: 33.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2864, allocations: 129.2 kB / 0.5233 GB, free: 33.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2866, allocations: 173.6 kB / 0.5234 GB, free: 33.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.2868, allocations: 199.1 kB / 0.5236 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.2869, allocations: 17.31 kB / 0.5236 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.616e-05/0.2869, allocations: 20.44 kB / 0.5237 GB, free: 33.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.527e-05/0.287, allocations: 75.45 kB / 0.5237 GB, free: 33.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.2872, allocations: 232.2 kB / 0.5239 GB, free: 33.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.2875, allocations: 406.7 kB / 0.5243 GB, free: 33.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2875, allocations: 4 kB / 0.5243 GB, free: 33.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2875, allocations: 2.688 kB / 0.5243 GB, free: 33.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.2875, allocations: 0 / 0.5243 GB, free: 33.19 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001071/0.2886, allocations: 0.7109 MB / 0.525 GB, free: 32.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.2886, allocations: 13.95 kB / 0.525 GB, free: 32.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.2888, allocations: 57.34 kB / 0.5251 GB, free: 32.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.2891, allocations: 368.3 kB / 0.5255 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.2892, allocations: 23.19 kB / 0.5255 GB, free: 32.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.935e-05/0.2892, allocations: 54.31 kB / 0.5255 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.2897, allocations: 315.2 kB / 0.5258 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2897, allocations: 4 kB / 0.5258 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.2897, allocations: 11.06 kB / 0.5258 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.2897, allocations: 5.5 kB / 0.5258 GB, free: 32.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/0.2901, allocations: 219.6 kB / 0.5261 GB, free: 32.03 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.2916, allocations: 1.184 MB / 0.5272 GB, free: 31.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000425/0.2921, allocations: 254.3 kB / 0.5275 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.2923, allocations: 137.2 kB / 0.5276 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2923, allocations: 6.656 kB / 0.5276 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.2923, allocations: 33.72 kB / 0.5276 GB, free: 31.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.2923, allocations: 0 / 0.5276 GB, free: 31.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001845/0.2942, allocations: 1.102 MB / 0.5287 GB, free: 30.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.2942, allocations: 57.53 kB / 0.5288 GB, free: 30.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.2945, allocations: 370.8 kB / 0.5291 GB, free: 30.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2945, allocations: 33.7 kB / 0.5291 GB, free: 29.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.999e-05/0.2946, allocations: 220.3 kB / 0.5294 GB, free: 29.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-05/0.2947, allocations: 125.3 kB / 0.5295 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.2947, allocations: 10.62 kB / 0.5295 GB, free: 29.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.704e-05/0.2948, allocations: 356.9 kB / 0.5298 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.295, allocations: 92.58 kB / 0.5299 GB, free: 29.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.2952, allocations: 146.7 kB / 0.53 GB, free: 29.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.2955, allocations: 249.6 kB / 0.5303 GB, free: 29.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2955, allocations: 0 / 0.5303 GB, free: 29.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004555/0.296, allocations: 350.1 kB / 0.5306 GB, free: 28.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.296, allocations: 8.562 kB / 0.5306 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.296, allocations: 2.719 kB / 0.5306 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.296, allocations: 2.875 kB / 0.5306 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.2967, allocations: 146.6 kB / 0.5308 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007095/0.2975, allocations: 1.344 MB / 0.5321 GB, free: 27.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.2977, allocations: 21.53 kB / 0.5321 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.2977, allocations: 16.38 kB / 0.5321 GB, free: 27.52 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 (48): * Single equations (assignments): 47 * 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 0.0001254/0.2979, allocations: 162.5 kB / 0.5323 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.2979, allocations: 40.53 kB / 0.5323 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004386/0.2984, allocations: 317.9 kB / 0.5326 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.2984, allocations: 5.25 kB / 0.5326 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.2984, allocations: 0 / 0.5326 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2984, allocations: 7.422 kB / 0.5326 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.2993, allocations: 0.795 MB / 0.5334 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2993, allocations: 3.984 kB / 0.5334 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.2997, allocations: 83.89 kB / 0.5335 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2997, allocations: 2.312 kB / 0.5335 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.2997, allocations: 9.641 kB / 0.5335 GB, free: 26.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2997, allocations: 4 kB / 0.5335 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2998, allocations: 6.25 kB / 0.5335 GB, free: 26.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.3003, allocations: 0.5162 MB / 0.534 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3005, allocations: 128.9 kB / 0.5341 GB, free: 26.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.3005, allocations: 10.59 kB / 0.5342 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3007, allocations: 28.61 kB / 0.5342 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.3008, allocations: 17.77 kB / 0.5342 GB, free: 26.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.3008, allocations: 12.36 kB / 0.5342 GB, free: 26.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3011, allocations: 262 kB / 0.5345 GB, free: 26.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3011, allocations: 0 / 0.5345 GB, free: 26.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.3014, allocations: 86.12 kB / 0.5345 GB, free: 26.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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.215e-05/0.3015, allocations: 107.5 kB / 0.5346 GB, free: 26 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006085/0.3021, allocations: 288.2 kB / 0.5349 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3021, allocations: 3.938 kB / 0.5349 GB, free: 25.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000186/0.3023, allocations: 135.5 kB / 0.535 GB, free: 25.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.3028, allocations: 86.64 kB / 0.5351 GB, free: 25.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.3046, allocations: 1.409 MB / 0.5365 GB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002313/0.3048, allocations: 0.8254 MB / 0.5373 GB, free: 24.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.305, allocations: 48.12 kB / 0.5374 GB, free: 24.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.3051, allocations: 31.22 kB / 0.5374 GB, free: 24.19 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3051, allocations: 0 / 0.5374 GB, free: 24.19 MB / 378.7 MB Notification: Performance of Templates: time 0.007501/0.3126, allocations: 3.96 MB / 0.5413 GB, free: 23.88 MB / 378.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)