Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Chemical.Examples.H2O_ElectrochemicalCell.conf.json 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) 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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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) Running command: translateModel(Physiolibrary.Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.H2O_ElectrochemicalCell") translateModel(Physiolibrary.Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Chemical.Examples.H2O_ElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 183 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 239.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 103.8 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3718/0.3718, allocations: 36.68 MB / 376.7 MB, free: 41.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 446.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 58.92 MB / 0.4935 GB, free: 0.8516 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Chemical.mo:4671:7-4671:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Chemical.Examples.H2O_ElectrochemicalCell): time 0.2462/0.3657, allocations: 26.27 MB / 0.5191 GB, free: 31.87 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.3847, allocations: 19.34 MB / 0.538 GB, free: 18.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00228/0.3871, allocations: 37.75 kB / 0.5381 GB, free: 18.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3885, allocations: 456.7 kB / 0.5385 GB, free: 17.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.3922, allocations: 1.093 MB / 0.5396 GB, free: 17.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008581/0.4008, allocations: 2.474 MB / 0.542 GB, free: 15.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003236/0.404, allocations: 2.056 MB / 0.544 GB, free: 14.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/0.4059, allocations: 1.161 MB / 0.5451 GB, free: 14.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.4079, allocations: 0.8544 MB / 0.546 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.41, allocations: 1.024 MB / 0.547 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007644/0.4108, allocations: 130.9 kB / 0.5471 GB, free: 13.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008459/0.4193, allocations: 1.977 MB / 0.549 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008013/0.4201, allocations: 408.3 kB / 0.5494 GB, free: 12.71 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.4216, allocations: 0.9161 MB / 0.5503 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009915/0.4315, allocations: 4.037 MB / 0.5542 GB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4315, allocations: 0 / 0.5542 GB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4316, allocations: 0 / 0.5542 GB, free: 10.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-05/0.4316, allocations: 0 / 0.5542 GB, free: 10.05 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004211/0.4358, allocations: 2.358 MB / 0.5565 GB, free: 7.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4359, allocations: 8.031 kB / 0.5565 GB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.4373, allocations: 434.5 kB / 0.557 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4389, allocations: 1.057 MB / 0.558 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.4391, allocations: 193.4 kB / 0.5582 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.4393, allocations: 167.9 kB / 0.5583 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.4423, allocations: 2.215 MB / 0.5605 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.4423, allocations: 7.938 kB / 0.5605 GB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.4425, allocations: 64 kB / 0.5606 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4425, allocations: 44.84 kB / 0.5606 GB, free: 4.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003345/0.4458, allocations: 2.675 MB / 0.5632 GB, free: 1.953 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/0.4569, allocations: 7.275 MB / 0.5703 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.4589, allocations: 1.192 MB / 0.5715 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000898/0.4598, allocations: 0.5565 MB / 0.572 GB, free: 9.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00841/0.4682, allocations: 5.177 MB / 0.5771 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.4683, allocations: 39.12 kB / 0.5771 GB, free: 4.047 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006446/0.4689, allocations: 122.6 kB / 0.5772 GB, free: 3.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=71): time 4.558e-06/0.469, allocations: 11.88 kB / 0.5773 GB, free: 3.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.01911/0.4881, allocations: 5.009 MB / 0.5821 GB, free: 14.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.4882, allocations: 111.8 kB / 0.5823 GB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001988/0.4902, allocations: 1.478 MB / 0.5837 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.4903, allocations: 45.7 kB / 0.5837 GB, free: 13.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006305/0.491, allocations: 0.8894 MB / 0.5846 GB, free: 12.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.4913, allocations: 347.2 kB / 0.5849 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/0.4919, allocations: 355.1 kB / 0.5853 GB, free: 11.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.492, allocations: 301.1 kB / 0.5856 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.493, allocations: 0.6247 MB / 0.5862 GB, free: 10.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/0.4946, allocations: 1.328 MB / 0.5875 GB, free: 8.891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.4972, allocations: 1.924 MB / 0.5894 GB, free: 6.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/0.4972, allocations: 4 kB / 0.5894 GB, free: 6.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.005931/0.5031, allocations: 2.429 MB / 0.5917 GB, free: 4.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.5032, allocations: 16 kB / 0.5917 GB, free: 4.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/0.5032, allocations: 24 kB / 0.5918 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/0.506, allocations: 480.1 kB / 0.5922 GB, free: 3.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.5081, allocations: 0.5148 MB / 0.5927 GB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008541/0.5167, allocations: 7.334 MB / 0.5999 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.5182, allocations: 103.8 kB / 0.6 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/0.5185, allocations: 104 kB / 0.6001 GB, free: 11.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (218): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006827/0.5192, allocations: 378 kB / 0.6004 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.5195, allocations: 126.4 kB / 0.6006 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/0.5245, allocations: 1.613 MB / 0.6021 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.5245, allocations: 8 kB / 0.6021 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5245, allocations: 4 kB / 0.6022 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.5246, allocations: 3.984 kB / 0.6022 GB, free: 8.852 MB / 426.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.5282, allocations: 2.159 MB / 0.6043 GB, free: 6.566 MB / 426.7 MB Error: post-optimization module removeSimpleEquations (simulation) failed.