Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.ShowImpedance,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Batteries_Examples_ShowImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.233e-05, allocations: 7.984 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 50.4 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.5178, allocations: 78.54 MB / 421.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.5181, allocations: 72.22 kB / 421.3 MB, free: 15.23 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[2].C to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].R to false. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Electrical/Batteries/ParameterRecords/TransientData/CellData.mo:8:3-11:59:writable] Notification: Moving binding to initial equation section and setting fixed attribute of rcData[1].C to false. Notification: Performance of FrontEnd - DAE generated: time 0.05619/0.5743, allocations: 13.45 MB / 434.7 MB, free: 3.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.5744, allocations: 4 kB / 434.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.403e-05/0.5745, allocations: 8 kB / 434.7 MB, free: 3.254 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001609/0.5761, allocations: 0.8094 MB / 435.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.5761, allocations: 12.03 kB / 435.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.475e-05/0.5762, allocations: 34.55 kB / 435.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.5764, allocations: 82.97 kB / 435.7 MB, free: 2.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/0.578, allocations: 0.7044 MB / 436.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.578, allocations: 0 / 436.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.578, allocations: 0 / 436.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.5782, allocations: 67.02 kB / 436.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.5782, allocations: 7.938 kB / 436.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5783, allocations: 0 / 436.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.5783, allocations: 3.984 kB / 436.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.5784, allocations: 15.38 kB / 436.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.5802, allocations: 0.9559 MB / 437.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.831e-05/0.5803, allocations: 26.58 kB / 437.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.956e-05/0.5804, allocations: 7.672 kB / 437.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.5804, allocations: 0 / 437.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.5804, allocations: 34.62 kB / 437.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.5804, allocations: 0 / 437.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003294/0.5808, allocations: 119.2 kB / 437.6 MB, free: 452 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.5808, allocations: 55.34 kB / 437.6 MB, free: 384 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002664/0.5835, allocations: 1.277 MB / 438.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.5836, allocations: 29.7 kB / 438.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.584, allocations: 393.5 kB / 439.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.584, allocations: 0 / 439.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.5841, allocations: 0 / 439.3 MB, free: 15.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5842, allocations: 312.9 kB / 439.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.5842, allocations: 3.938 kB / 439.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/0.5843, allocations: 16.59 kB / 439.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.5844, allocations: 15.55 kB / 439.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.5844, allocations: 7.953 kB / 439.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002971/0.5847, allocations: 123.7 kB / 439.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5847, allocations: 8 kB / 439.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5847, allocations: 0 / 439.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.5848, allocations: 0 / 439.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.585, allocations: 11.98 kB / 439.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.585, allocations: 12 kB / 439.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5853, allocations: 15.83 kB / 439.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.5853, allocations: 4 kB / 439.9 MB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.907e-05/0.5854, allocations: 101 kB / 440 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.5855, allocations: 86.42 kB / 440 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.5858, allocations: 97.89 kB / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.5858, allocations: 4 kB / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5858, allocations: 3.984 kB / 440.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5858, allocations: 4 kB / 440.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000716/0.5866, allocations: 478 kB / 440.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5866, allocations: 0 / 440.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.5867, allocations: 15.94 kB / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5868, allocations: 0 / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5868, allocations: 3.984 kB / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5868, allocations: 0 / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.5868, allocations: 4 kB / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.5871, allocations: 229.3 kB / 440.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004524/0.5876, allocations: 212.2 kB / 441.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.5877, allocations: 7.953 kB / 441.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002893/0.588, allocations: 7.984 kB / 441.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.5881, allocations: 0 / 441.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.5881, allocations: 7.984 kB / 441.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002108/0.5902, allocations: 1.001 MB / 442.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5902, allocations: 4.031 kB / 442.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006588/0.5909, allocations: 79.31 kB / 442.2 MB, free: 12.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008766/0.5918, allocations: 0.8447 MB / 443 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001156/0.5919, allocations: 19.69 kB / 443 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5919, allocations: 0 / 443 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.592, allocations: 7.984 kB / 443 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.5927, allocations: 88.34 kB / 443.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.5958, allocations: 1.191 MB / 444.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.5969, allocations: 1.013 MB / 445.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006194/0.5976, allocations: 170.6 kB / 445.5 MB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.598, allocations: 258.2 kB / 445.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.598, allocations: 0 / 445.8 MB, free: 9.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09038/0.6884, allocations: 15.64 MB / 461.4 MB, free: 9.773 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.6887, allocations: 154.3 kB / 461.5 MB, free: 9.551 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.507, allocations: 0 / 461.5 MB, free: 9.551 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Batteries.Examples.ShowImpedance_res.mat does not exist to compare? outputFormat=mat