Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Batteries.Examples.CCCV_Stack.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_4_1_0-beta_om_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 trunk/package.mo): time 0.00151/0.001509, allocations: 110.7 kB / 17.33 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 213.8 kB / 18.27 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.574/1.574, allocations: 227.7 MB / 246.7 MB, free: 10.5 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 66.58 kB / 306.9 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1513, allocations: 50.54 MB / 357.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01452/0.1659, allocations: 10 MB / 367.4 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007196/0.1732, allocations: 3.556 MB / 371 MB, free: 500 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1743, allocations: 27.81 kB / 371 MB, free: 472 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2619/0.4362, allocations: 1.114 MB / 372.1 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.4392, allocations: 0.6229 MB / 372.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.4408, allocations: 441.5 kB / 373.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.452, allocations: 7.345 MB / 380.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007239/0.4593, allocations: 4.483 MB / 385 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008687/0.468, allocations: 3.58 MB / 388.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006185/0.4742, allocations: 2.934 MB / 391.5 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002795/0.477, allocations: 0.6687 MB / 392.2 MB, free: 6.828 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/0.4815, allocations: 0.8474 MB / 393 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004482/0.486, allocations: 5.475 MB / 398.5 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01516/0.5012, allocations: 6.985 MB / 405.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03411/0.5354, allocations: 24.04 MB / 429.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.091e-05/0.5355, allocations: 0 / 429.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.5355, allocations: 4 kB / 429.5 MB, free: 3.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.001326/0.5369, allocations: 0 / 429.5 MB, free: 3.043 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.06082/0.5977, allocations: 18.21 MB / 447.7 MB, free: 0.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001195/0.5979, allocations: 8.031 kB / 447.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002502/0.6004, allocations: 0.4918 MB / 448.2 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006082/0.6065, allocations: 1.486 MB / 449.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04768/0.6542, allocations: 17.54 MB / 467.2 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001946/0.6562, allocations: 0.7456 MB / 468 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.6584, allocations: 351.9 kB / 468.3 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01578/0.6741, allocations: 6.488 MB / 474.8 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.577e-05/0.6743, allocations: 3.938 kB / 474.8 MB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005467/0.6748, allocations: 144 kB / 475 MB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-05/0.6749, allocations: 84 kB / 475.1 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.6863, allocations: 5.123 MB / 480.2 MB, free: 260 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08844/0.7748, allocations: 34.57 MB / 0.5027 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008794/0.7836, allocations: 4.297 MB / 0.5069 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00471/0.7884, allocations: 2.562 MB / 0.5094 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.7885, allocations: 24.89 kB / 0.5094 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.678e-05/0.7886, allocations: 71.81 kB / 0.5095 GB, free: 6.562 MB / 430.1 MB Notification: Performance of pre-optimization done (n=156): time 7.093e-06/0.7887, allocations: 0 / 0.5095 GB, free: 6.562 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.02138/0.81, allocations: 7.467 MB / 0.5168 GB, free: 15.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007549/0.8108, allocations: 0.9863 MB / 0.5177 GB, free: 13.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6128/1.424, allocations: 36.99 MB / 0.5538 GB, free: 112.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009233/1.425, allocations: 85.77 kB / 0.5539 GB, free: 112.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.009817/1.434, allocations: 4.584 MB / 0.5584 GB, free: 110.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00169/1.436, allocations: 0.995 MB / 0.5594 GB, free: 109.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.03504/1.471, allocations: 8.52 MB / 0.5677 GB, free: 106.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.569e-05/1.471, allocations: 305.1 kB / 0.568 GB, free: 106.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04927/1.521, allocations: 20.07 MB / 0.5876 GB, free: 90.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05571/1.576, allocations: 24.69 MB / 0.6117 GB, free: 64.29 MB / 446.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 18.08/19.66, allocations: 8.703 GB / 9.315 GB, free: 118.9 MB / 0.5763 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