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: translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") translateModel(Modelica.Electrical.Batteries.Examples.CCCV_Stack,tolerance=1e-06,outputFormat="mat",numberOfIntervals=24000,variableFilter="time|energy.y|stack.cell.1, 1..cell.limIntegrator.y|stack.cell.1, 1..limIntegrator.y|stack.cell.1, 2..cell.limIntegrator.y|stack.cell.1, 2..limIntegrator.y|stack.cell.2, 1..cell.limIntegrator.y|stack.cell.2, 1..limIntegrator.y|stack.cell.2, 2..cell.limIntegrator.y|stack.cell.2, 2..limIntegrator.y|stack.cell.3, 1..cell.limIntegrator.y|stack.cell.3, 1..limIntegrator.y|stack.cell.3, 2..cell.limIntegrator.y|stack.cell.3, 2..limIntegrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Batteries.Examples.CCCV_Stack") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001501/0.001501, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247.1 MB, free: 10.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 56.25 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09429/0.09548, allocations: 50.52 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Batteries.Examples.CCCV_Stack): time 0.0108/0.1063, allocations: 10 MB / 367.6 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.1116, allocations: 3.567 MB / 371.2 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.1126, allocations: 23.88 kB / 371.2 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1632/0.2758, allocations: 1.111 MB / 372.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.278, allocations: 0.6158 MB / 373 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2792, allocations: 445.1 kB / 373.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009394/0.2886, allocations: 7.332 MB / 380.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005167/0.2938, allocations: 4.484 MB / 385.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006252/0.3001, allocations: 3.583 MB / 388.8 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005604/0.3057, allocations: 2.933 MB / 391.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002538/0.3083, allocations: 0.6742 MB / 392.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.312, allocations: 0.8398 MB / 393.2 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004171/0.3162, allocations: 5.465 MB / 398.7 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01124/0.3275, allocations: 6.995 MB / 405.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01955/0.3471, allocations: 21.4 MB / 427.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.3471, allocations: 4 kB / 427.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3471, allocations: 0 / 427.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0007829/0.3479, allocations: 0 / 427.1 MB, free: 6.188 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.04932/0.3973, allocations: 18.21 MB / 445.3 MB, free: 3.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.3973, allocations: 12.03 kB / 445.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.4028, allocations: 1.483 MB / 446.8 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03898/0.4418, allocations: 17.54 MB / 464.3 MB, free: 1.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001643/0.4435, allocations: 0.7533 MB / 465.1 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/0.4452, allocations: 348 kB / 465.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.4591, allocations: 6.487 MB / 471.9 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.4592, allocations: 7.938 kB / 471.9 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004801/0.4597, allocations: 148 kB / 472.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.138e-05/0.4598, allocations: 80 kB / 472.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4698, allocations: 5.115 MB / 477.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07113/0.5409, allocations: 34.56 MB / 0.4998 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007584/0.5486, allocations: 4.315 MB / 0.504 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004375/0.553, allocations: 2.564 MB / 0.5065 GB, free: 10.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.5531, allocations: 24.2 kB / 0.5066 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.724e-05/0.5532, allocations: 67.81 kB / 0.5066 GB, free: 10.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=156): time 3.286e-06/0.5532, allocations: 0 / 0.5066 GB, free: 10.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.01767/0.5709, allocations: 7.468 MB / 0.5139 GB, free: 2.699 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004398/0.5714, allocations: 0.9825 MB / 0.5149 GB, free: 1.484 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4063/0.9777, allocations: 36.99 MB / 0.551 GB, free: 111.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007624/0.9785, allocations: 92.36 kB / 0.5511 GB, free: 111.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008054/0.9866, allocations: 4.573 MB / 0.5556 GB, free: 109 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009374/0.9875, allocations: 0.9986 MB / 0.5565 GB, free: 108.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02361/1.011, allocations: 8.521 MB / 0.5649 GB, free: 105.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/1.011, allocations: 308 kB / 0.5652 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02597/1.037, allocations: 20.07 MB / 0.5848 GB, free: 94.03 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03045/1.068, allocations: 24.68 MB / 0.6089 GB, free: 68.14 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 16.59/17.66, allocations: 8.703 GB / 9.312 GB, free: 98.72 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