Running command: "" <> buildModelFMU(ElectricalEnergyStorage.Examples.SimpleCellDrivingCycle,fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage_Examples_SimpleCellDrivingCycle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ElectricalEnergyStorage): time 2.172/2.172, allocations: 201.9 MB / 214.1 MB, free: 13.16 MB / 186.9 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.563e-05, allocations: 7.938 kB / 263.1 MB, free: 10.86 MB / 218.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 45.98 MB / 309.1 MB, free: 12.79 MB / 266.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.5647, allocations: 83.68 MB / 392.7 MB, free: 12.83 MB / 314.9 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.565, allocations: 83.77 kB / 392.8 MB, free: 12.83 MB / 314.9 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ElectricalEnergyStorage 3.2.2.mo:2265:13-2265:95:writable] Warning: connect(y, y) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.06876/0.6338, allocations: 18.38 MB / 411.2 MB, free: 6.598 MB / 314.9 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6339, allocations: 0 / 411.2 MB, free: 6.598 MB / 314.9 MB Notification: Performance of Transformations before backend: time 6.611e-05/0.6339, allocations: 15.56 kB / 411.2 MB, free: 6.598 MB / 314.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.003587/0.6375, allocations: 1.221 MB / 412.4 MB, free: 5.652 MB / 314.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.6376, allocations: 15.59 kB / 412.5 MB, free: 5.648 MB / 314.9 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003792/0.638, allocations: 117.4 kB / 412.6 MB, free: 5.582 MB / 314.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003562/0.6384, allocations: 105.9 kB / 412.7 MB, free: 5.527 MB / 314.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.6398, allocations: 0.6148 MB / 413.3 MB, free: 5.172 MB / 314.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/0.6399, allocations: 56.84 kB / 413.3 MB, free: 5.164 MB / 314.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001772/0.6401, allocations: 78.67 kB / 413.4 MB, free: 5.156 MB / 314.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.642, allocations: 0.6798 MB / 414.1 MB, free: 4.996 MB / 314.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.6421, allocations: 4 kB / 414.1 MB, free: 4.992 MB / 314.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.6422, allocations: 26.12 kB / 414.1 MB, free: 4.992 MB / 314.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6422, allocations: 15.53 kB / 414.1 MB, free: 4.992 MB / 314.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/0.6437, allocations: 482.7 kB / 414.6 MB, free: 4.98 MB / 314.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/0.6504, allocations: 2.538 MB / 417.2 MB, free: 3.844 MB / 314.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.6518, allocations: 428.9 kB / 417.6 MB, free: 3.793 MB / 314.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.6523, allocations: 180 kB / 417.7 MB, free: 3.777 MB / 314.9 MB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.6524, allocations: 3.062 kB / 417.8 MB, free: 3.777 MB / 314.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.6531, allocations: 349.5 kB / 418.1 MB, free: 3.633 MB / 314.9 MB Notification: Performance of pre-optimization done (n=46): time 3.627e-06/0.6532, allocations: 0 / 418.1 MB, free: 3.633 MB / 314.9 MB Notification: Performance of matching and sorting (n=46): time 0.001356/0.6545, allocations: 468.4 kB / 418.5 MB, free: 3.52 MB / 314.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.6546, allocations: 140.1 kB / 418.7 MB, free: 3.363 MB / 314.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.6562, allocations: 0.7468 MB / 419.4 MB, free: 3.172 MB / 314.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001887/0.6564, allocations: 48.58 kB / 419.5 MB, free: 3.137 MB / 314.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004168/0.6568, allocations: 419.6 kB / 419.9 MB, free: 2.918 MB / 314.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.657, allocations: 145.9 kB / 420 MB, free: 2.812 MB / 314.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.03e-05/0.6571, allocations: 14.22 kB / 420 MB, free: 2.812 MB / 314.9 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6572, allocations: 386.6 kB / 420.4 MB, free: 2.477 MB / 314.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000603/0.6578, allocations: 211.6 kB / 420.6 MB, free: 2.473 MB / 314.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006483/0.6585, allocations: 316.5 kB / 420.9 MB, free: 2.371 MB / 314.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.6592, allocations: 385.6 kB / 421.3 MB, free: 2.148 MB / 314.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6592, allocations: 0 / 421.3 MB, free: 2.148 MB / 314.9 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001829/0.661, allocations: 0.8479 MB / 422.2 MB, free: 1.82 MB / 314.9 MB Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/0.6611, allocations: 176.9 kB / 422.3 MB, free: 1.629 MB / 314.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.6611, allocations: 0 / 422.3 MB, free: 1.629 MB / 314.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.6615, allocations: 50.92 kB / 422.4 MB, free: 1.613 MB / 314.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6625, allocations: 132.5 kB / 422.5 MB, free: 1.578 MB / 314.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.6643, allocations: 1.544 MB / 424.1 MB, free: 16.18 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.6657, allocations: 120.1 kB / 424.2 MB, free: 16.12 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.6658, allocations: 30.31 kB / 424.2 MB, free: 16.12 MB / 330.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fTP72_1.on,$PRE.fTP72_1.liberal1.polse1C.T_start,fTP72_1.liberal1.polse1C.T_start,$PRE.fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.polse1C.count,$PRE.fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.pulse0_5C.T_start,$PRE.fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_5C.count,$PRE.fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_9C.T_start,$PRE.fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_9C.count,$PRE.fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_45C.T_start,$PRE.fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse0_45C.count,$PRE.fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse1C1.T_start,$PRE.fTP72_1.liberal1.pulse1C1.count,fTP72_1.liberal1.pulse1C1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.6661, allocations: 161.6 kB / 424.4 MB, free: 15.99 MB / 330.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/0.6663, allocations: 77.75 kB / 424.4 MB, free: 15.95 MB / 330.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.6676, allocations: 0.4986 MB / 424.9 MB, free: 15.82 MB / 330.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6677, allocations: 3.75 kB / 424.9 MB, free: 15.82 MB / 330.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6677, allocations: 3.875 kB / 424.9 MB, free: 15.82 MB / 330.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6677, allocations: 0 / 424.9 MB, free: 15.82 MB / 330.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.6701, allocations: 1.344 MB / 426.3 MB, free: 15.24 MB / 330.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6701, allocations: 3.875 kB / 426.3 MB, free: 15.24 MB / 330.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008817/0.671, allocations: 89.38 kB / 426.4 MB, free: 15.22 MB / 330.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/0.6713, allocations: 47.83 kB / 426.4 MB, free: 15.2 MB / 330.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.6713, allocations: 7.188 kB / 426.4 MB, free: 15.2 MB / 330.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.6731, allocations: 1.544 MB / 428 MB, free: 13.8 MB / 330.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6732, allocations: 96 / 428 MB, free: 13.8 MB / 330.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.6751, allocations: 0.7976 MB / 428.8 MB, free: 13.57 MB / 330.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.6755, allocations: 186.5 kB / 429 MB, free: 13.42 MB / 330.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.6756, allocations: 15.34 kB / 429 MB, free: 13.42 MB / 330.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.6767, allocations: 78.02 kB / 429.1 MB, free: 13.4 MB / 330.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/0.6771, allocations: 86.12 kB / 429.1 MB, free: 13.37 MB / 330.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.6771, allocations: 11.66 kB / 429.1 MB, free: 13.37 MB / 330.9 MB Notification: Performance of sorting global known variables: time 0.001109/0.6782, allocations: 0.5749 MB / 429.7 MB, free: 13.23 MB / 330.9 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6783, allocations: 0 / 429.7 MB, free: 13.23 MB / 330.9 MB Notification: Performance of remove unused functions: time 0.001164/0.6794, allocations: 205.1 kB / 429.9 MB, free: 13.19 MB / 330.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (batteryCell.calculator.sOC.integrator.y,batteryCell.calculator.q.absInt.y,batteryCell.calculator.EquivalentCycles.integrator.y) * Number of discrete variables: 16 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fTP72_1.on,fTP72_1.liberal1.polse1C.T_start,fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.T_start,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.T_start,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.T_start,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.T_start,fTP72_1.liberal1.pulse1C1.count) * Number of discrete states: 5 (fTP72_1.liberal1.polse1C.count,fTP72_1.liberal1.pulse0_5C.count,fTP72_1.liberal1.pulse0_9C.count,fTP72_1.liberal1.pulse0_45C.count,fTP72_1.liberal1.pulse1C1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/0.6826, allocations: 1.64 MB / 431.6 MB, free: 12.29 MB / 330.9 MB Notification: Performance of simCode: created initialization part: time 0.001847/0.6845, allocations: 0.9099 MB / 432.5 MB, free: 11.79 MB / 330.9 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6845, allocations: 0 / 432.5 MB, free: 11.79 MB / 330.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0007209/0.6853, allocations: 349.4 kB / 432.8 MB, free: 11.66 MB / 330.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.6867, allocations: 140.8 kB / 433 MB, free: 11.61 MB / 330.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.6906, allocations: 1.185 MB / 434.1 MB, free: 11.02 MB / 330.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008317/0.6915, allocations: 0.9869 MB / 435.1 MB, free: 10.01 MB / 330.9 MB Notification: Performance of simCode: alias equations: time 0.0006692/0.6922, allocations: 88.34 kB / 435.2 MB, free: 9.93 MB / 330.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.6928, allocations: 295.2 kB / 435.5 MB, free: 9.863 MB / 330.9 MB Notification: Performance of SimCode: time 1.363e-06/0.6928, allocations: 4 kB / 435.5 MB, free: 9.859 MB / 330.9 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07637/0.7692, allocations: 17.99 MB / 453.5 MB, free: 7.883 MB / 346.9 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000411/0.7697, allocations: 236.4 kB / 453.7 MB, free: 7.57 MB / 346.9 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/3.914, allocations: 0 / 453.7 MB, free: 7.57 MB / 346.9 MB