Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.H2O_ElectrochemicalCell.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") translateModel(Chemical.Examples.H2O_ElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.H2O_ElectrochemicalCell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1158/0.1158, allocations: 15.26 MB / 22.74 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 189 kB / 27.52 MB, free: 6.117 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 253.7 MB, free: 10.37 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.0009508/0.0009508, allocations: 85.78 kB / 308.8 MB, free: 10.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.466e-05, allocations: 0 / 369.6 MB, free: 53.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 54.64 MB / 424.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4827, allocations: 103.6 MB / 0.5154 GB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001546/0.4829, allocations: 70.98 kB / 0.5155 GB, free: 12.43 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System cathode.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$cathode. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System anode.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$anode. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solution1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$solution1. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.ExternalIdealGasSubstance$H2. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System electrone.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.ElectronTransfer. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System electrone1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.ElectronTransfer. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System O2_.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.ExternalIdealGasSubstance$O2_. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.1411/0.6239, allocations: 58.88 MB / 0.573 GB, free: 3.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.624, allocations: 4 kB / 0.573 GB, free: 3.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001663/0.6242, allocations: 39.75 kB / 0.573 GB, free: 3.91 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.00641/0.6306, allocations: 2.029 MB / 0.575 GB, free: 1.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.6307, allocations: 12.02 kB / 0.575 GB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002264/0.6329, allocations: 0.5009 MB / 0.5755 GB, free: 1.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.6358, allocations: 1.175 MB / 0.5767 GB, free: 100 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001996/0.636, allocations: 130.7 kB / 0.5768 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004581/0.6365, allocations: 99.91 kB / 0.5769 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005416/0.6419, allocations: 3.505 MB / 0.5803 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003713/0.6456, allocations: 2.012 MB / 0.5823 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.6457, allocations: 3.938 kB / 0.5823 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.6459, allocations: 4 kB / 0.5823 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.6459, allocations: 40 kB / 0.5823 GB, free: 10.23 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01377/0.6597, allocations: 8.358 MB / 0.5905 GB, free: 1.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.6619, allocations: 1.77 MB / 0.5922 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.663, allocations: 0.8621 MB / 0.5931 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000416/0.6634, allocations: 304.5 kB / 0.5933 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.6635, allocations: 47.81 kB / 0.5934 GB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000936/0.6644, allocations: 130.8 kB / 0.5935 GB, free: 14.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=109): time 5.62e-06/0.6645, allocations: 0 / 0.5935 GB, free: 14.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.03711/0.7016, allocations: 11.65 MB / 0.6049 GB, free: 2.668 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.191e-05/0.7017, allocations: 124.1 kB / 0.605 GB, free: 2.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/0.7042, allocations: 1.438 MB / 0.6064 GB, free: 1.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003168/0.7045, allocations: 25.7 kB / 0.6064 GB, free: 1.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007612/0.7053, allocations: 0.943 MB / 0.6074 GB, free: 88 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006927/0.706, allocations: 0.5236 MB / 0.6079 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.7062, allocations: 7.938 kB / 0.6079 GB, free: 15.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.7064, allocations: 394 kB / 0.6083 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.7084, allocations: 1.355 MB / 0.6096 GB, free: 13.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.7108, allocations: 1.894 MB / 0.6114 GB, free: 11.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/0.7152, allocations: 1.932 MB / 0.6133 GB, free: 9.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.7153, allocations: 4 kB / 0.6133 GB, free: 9.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01086/0.7261, allocations: 4.452 MB / 0.6177 GB, free: 5.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.7262, allocations: 12 kB / 0.6177 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.7263, allocations: 16 kB / 0.6177 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004243/0.7305, allocations: 0.9447 MB / 0.6186 GB, free: 4.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/0.7327, allocations: 479.2 kB / 0.6191 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007575/0.7402, allocations: 4.973 MB / 0.6239 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/0.7433, allocations: 167.5 kB / 0.6241 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005678/0.7439, allocations: 119.9 kB / 0.6242 GB, free: 14.28 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H.solution.n:DUMMY_STATE(flow=false min = 0.0 max = 0.0 unit = "mol" ) "Amount of the solution" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: H.solution.I:VARIABLE(flow=false min = 0.0 max = 0.0 unit = "1" ) "Mole fraction based ionic strength of the solution" type: Real voltageSensor.v:VARIABLE(unit = "V" ) "Voltage between pin p and n (= p.v - n.v) as output signal" type: Real H.solution.v:DUMMY_STATE(flow=false unit = "V" ) "Electric potential in the solution" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (226): * Single equations (assignments): 220 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 2 {3 26,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007491/0.7447, allocations: 170 kB / 0.6244 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006541/0.7454, allocations: 169.8 kB / 0.6245 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009345/0.7547, allocations: 3.672 MB / 0.6281 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008318/0.7631, allocations: 3.398 MB / 0.6314 GB, free: 6.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/0.7632, allocations: 3.938 kB / 0.6314 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-05/0.7632, allocations: 12.06 kB / 0.6314 GB, free: 6.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01849/0.7817, allocations: 7.234 MB / 0.6385 GB, free: 15.42 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/0.7818, allocations: 7.984 kB / 0.6385 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.783, allocations: 259.6 kB / 0.6388 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0072/0.7902, allocations: 1.556 MB / 0.6403 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/0.7906, allocations: 31.95 kB / 0.6403 GB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006838/0.7974, allocations: 4.22 MB / 0.6444 GB, free: 9.203 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:376:7-379:62:writable] Error: Model is structurally singular, error found sorting equations 36: H2O.SelfClustering_dG = $cse15 - solution1.temperature * $cse14; 38: H2O.amountOfBaseMolecules = exp(H2O.logn); 37: H.amountOfBaseMolecules = exp(H.logn); 18: H.amountOfBaseMolecules + H2O.solution.nj - H.solution.n = 0.0; 35: H2O.SelfClustering_K = exp((-0.120272355042726) * H2O.SelfClustering_dG / solution1.temperature); 17: H2O.x = 0.5 * (2.0 * H2O.SelfClustering_K + H.solution.n / H2O.amountOfBaseMolecules - sqrt(4.0 * H2O.SelfClustering_K * H.solution.n / H2O.amountOfBaseMolecules + (H.solution.n / H2O.amountOfBaseMolecules) ^ 2.0)) / H2O.SelfClustering_K ^ 2.0; 47: $STATESET3.J[4] = H2O.x - H2O.amountOfFreeMolecule / H.solution.n; 16: H2O.solution.nj * (1.0 - H2O.SelfClustering_K * H2O.x) = H2O.amountOfFreeMolecule; for variables H2O.SelfClustering_dG(11), H2O.amountOfBaseMolecules(9), H.amountOfBaseMolecules(10), H.solution.n(29), H2O.SelfClustering_K(12), H2O.x(30), H2O.amountOfFreeMolecule(31), $STATESET3.J[3](3), electrodeReaction1.products[3].u(16) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005196/0.8027, allocations: 1.76 MB / 0.6462 GB, free: 7.414 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/0.8141, allocations: 5.834 MB / 0.6518 GB, free: 1.285 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008237/0.8149, allocations: 267 kB / 0.6521 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005112/0.8155, allocations: 11.95 kB / 0.6521 GB, free: 0.9922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.8172, allocations: 83.89 kB / 0.6522 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.8175, allocations: 140.9 kB / 0.6523 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001591/0.8177, allocations: 67.95 kB / 0.6524 GB, free: 0.707 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001854/0.8196, allocations: 1.091 MB / 0.6535 GB, free: 15.62 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.8196, allocations: 4 kB / 0.6535 GB, free: 15.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003733/0.8233, allocations: 0.9837 MB / 0.6544 GB, free: 14.63 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 ($STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],cathode.temperature) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {9 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/0.8256, allocations: 0.8497 MB / 0.6553 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005765/0.8314, allocations: 3.27 MB / 0.6584 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8314, allocations: 0 / 0.6584 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.8345, allocations: 1.704 MB / 0.6601 GB, free: 8.723 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002983/0.8376, allocations: 494.5 kB / 0.6606 GB, free: 8.246 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3851:9-3851:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]