Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Batteries_Examples_CCCV_Stack",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.CCCV_Stack,fileNamePrefix="Modelica_trunk_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.001147/0.001147, allocations: 103 kB / 17.32 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 205.8 kB / 18.26 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 61.16 kB / 306.6 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1032, allocations: 50.52 MB / 357.1 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.01211/0.1154, allocations: 10.01 MB / 367.1 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005866/0.1213, allocations: 3.552 MB / 370.6 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.1225, allocations: 27.81 kB / 370.7 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2015/0.3241, allocations: 1.117 MB / 371.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.3257, allocations: 0.6174 MB / 372.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3268, allocations: 445.6 kB / 372.8 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007517/0.3343, allocations: 7.343 MB / 380.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/0.339, allocations: 4.465 MB / 384.6 MB, free: 9.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005296/0.3444, allocations: 3.58 MB / 388.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004721/0.3491, allocations: 2.935 MB / 391.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.3505, allocations: 0.6714 MB / 391.8 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.3525, allocations: 0.8421 MB / 392.7 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.355, allocations: 5.47 MB / 398.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008858/0.3638, allocations: 6.987 MB / 405.1 MB, free: 11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.3836, allocations: 24.05 MB / 429.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3836, allocations: 0 / 429.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3836, allocations: 0 / 429.2 MB, free: 3.336 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0006843/0.3843, allocations: 0 / 429.2 MB, free: 3.336 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.0494/0.4337, allocations: 18.21 MB / 447.4 MB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.697e-05/0.4338, allocations: 9.812 kB / 447.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002912/0.4367, allocations: 495.6 kB / 447.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006761/0.4435, allocations: 1.486 MB / 449.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04219/0.4857, allocations: 17.55 MB / 466.9 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001699/0.4875, allocations: 0.7534 MB / 467.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001655/0.4892, allocations: 352 kB / 468 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.5058, allocations: 6.485 MB / 474.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.506, allocations: 0 / 474.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/0.5076, allocations: 148 kB / 474.6 MB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.5077, allocations: 87.94 kB / 474.7 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/0.5192, allocations: 5.111 MB / 479.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07362/0.5928, allocations: 34.56 MB / 0.5023 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008765/0.6016, allocations: 4.314 MB / 0.5066 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004817/0.6065, allocations: 2.566 MB / 0.5091 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.6067, allocations: 23.33 kB / 0.5091 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.958e-05/0.6068, allocations: 75.81 kB / 0.5092 GB, free: 6.859 MB / 430.1 MB Notification: Performance of pre-optimization done (n=156): time 6.152e-06/0.6068, allocations: 0 / 0.5092 GB, free: 6.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.02037/0.6272, allocations: 7.456 MB / 0.5164 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004884/0.6277, allocations: 0.9863 MB / 0.5174 GB, free: 14.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.42/1.048, allocations: 37 MB / 0.5535 GB, free: 112.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008141/1.049, allocations: 84.83 kB / 0.5536 GB, free: 112.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008393/1.057, allocations: 4.577 MB / 0.5581 GB, free: 110.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001352/1.058, allocations: 0.9986 MB / 0.559 GB, free: 109.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02531/1.084, allocations: 8.523 MB / 0.5674 GB, free: 106.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/1.084, allocations: 301.8 kB / 0.5677 GB, free: 106.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03057/1.114, allocations: 20.07 MB / 0.5873 GB, free: 90.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03588/1.15, allocations: 24.68 MB / 0.6114 GB, free: 64.71 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 14.78/15.93, allocations: 8.703 GB / 9.314 GB, free: 113.2 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