Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 111.6 kB / 16.62 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 43.44 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1048, allocations: 49.45 MB / 349.7 MB, free: 4.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01131/0.1162, allocations: 9.942 MB / 359.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00513/0.1213, allocations: 3.408 MB / 363 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009614/0.1223, allocations: 19.94 kB / 363.1 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002694/0.125, allocations: 1.117 MB / 364.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1266, allocations: 0.5873 MB / 364.8 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.1278, allocations: 443.8 kB / 365.2 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.209/0.3368, allocations: 7.327 MB / 372.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005133/0.342, allocations: 4.468 MB / 377 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005898/0.3479, allocations: 3.568 MB / 380.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005555/0.3535, allocations: 2.934 MB / 383.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.3551, allocations: 0.6649 MB / 384.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.3572, allocations: 0.8472 MB / 385 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003943/0.3611, allocations: 5.457 MB / 390.5 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007926/0.3691, allocations: 6.992 MB / 397.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02234/0.3914, allocations: 23.99 MB / 421.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3914, allocations: 0 / 421.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3915, allocations: 0 / 421.4 MB, free: 13.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007234/0.3922, allocations: 0 / 421.4 MB, free: 13.39 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 837 * Number of variables: 837 Notification: Performance of Generate backend data structure: time 0.05016/0.4424, allocations: 18.16 MB / 439.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.4424, allocations: 8.031 kB / 439.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00102/0.4435, allocations: 0.4957 MB / 440.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003272/0.4467, allocations: 1.478 MB / 441.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03589/0.4826, allocations: 17.5 MB / 459.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001804/0.4845, allocations: 0.7495 MB / 459.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00156/0.4861, allocations: 348 kB / 460.2 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.4991, allocations: 6.488 MB / 466.7 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.208e-05/0.4993, allocations: 11.69 kB / 466.7 MB, free: 176 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004789/0.4997, allocations: 148 kB / 466.8 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.541e-05/0.4998, allocations: 84.03 kB / 466.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009757/0.5096, allocations: 5.114 MB / 472 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06796/0.5776, allocations: 34.57 MB / 0.4947 GB, free: 8.211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007776/0.5854, allocations: 4.31 MB / 0.4989 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004337/0.5898, allocations: 2.554 MB / 0.5014 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.59, allocations: 24.78 kB / 0.5014 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/0.5901, allocations: 75.8 kB / 0.5015 GB, free: 1.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 3.727e-06/0.5901, allocations: 0 / 0.5015 GB, free: 1.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=156): time 0.0205/0.6106, allocations: 7.459 MB / 0.5088 GB, free: 9.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004454/0.611, allocations: 0.9824 MB / 0.5097 GB, free: 8.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4239/1.035, allocations: 36.87 MB / 0.5457 GB, free: 105.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007779/1.036, allocations: 87.45 kB / 0.5458 GB, free: 105.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008398/1.044, allocations: 4.557 MB / 0.5503 GB, free: 102.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001313/1.045, allocations: 1.003 MB / 0.5513 GB, free: 101.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03129/1.077, allocations: 8.52 MB / 0.5596 GB, free: 95.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.379e-05/1.077, allocations: 309 kB / 0.5599 GB, free: 94.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03006/1.107, allocations: 20.04 MB / 0.5794 GB, free: 74.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03515/1.142, allocations: 24.66 MB / 0.6035 GB, free: 49.05 MB / 430.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendEquation.mo:2511:7-2511:76:writable] Error: Internal error function solveEquation failed Notification: Performance of analyzeInitialSystem (initialization): time 14.28/15.42, allocations: 8.741 GB / 9.345 GB, free: 116.4 MB / 0.5607 GB Warning: It was not possible to solve the under-determined initial system (2202 equations and 2274 variables) Error: No system for the symbolic initialization was generated