Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.ShowImpedance,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Batteries_Examples_ShowImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.212/2.212, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.107e-05, allocations: 2.812 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 50.4 MB / 343.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.5729, allocations: 78.52 MB / 421.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5732, allocations: 70.16 kB / 421.7 MB, free: 15.66 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/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 trunk/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 trunk/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.05267/0.6259, allocations: 13.46 MB / 435.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.626, allocations: 0 / 435.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.658e-05/0.626, allocations: 15.94 kB / 435.2 MB, free: 3.684 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.001626/0.6277, allocations: 0.807 MB / 436 MB, free: 2.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/0.6278, allocations: 8.031 kB / 436 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.6278, allocations: 38.55 kB / 436.1 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.628, allocations: 82.97 kB / 436.1 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.6298, allocations: 0.6985 MB / 436.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.6298, allocations: 7.125 kB / 436.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.6298, allocations: 0 / 436.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.63, allocations: 71.52 kB / 436.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.6301, allocations: 3.984 kB / 436.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.6301, allocations: 3.375 kB / 436.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.6301, allocations: 4 kB / 436.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.046e-05/0.6302, allocations: 7.375 kB / 436.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.6322, allocations: 0.9563 MB / 437.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.483e-05/0.6323, allocations: 25.64 kB / 437.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.6323, allocations: 8.922 kB / 437.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.6324, allocations: 0 / 437.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.6324, allocations: 30.56 kB / 438 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.6324, allocations: 4 kB / 438 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003789/0.6328, allocations: 124.3 kB / 438.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.6329, allocations: 51.41 kB / 438.1 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/0.6355, allocations: 1.283 MB / 439.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.6356, allocations: 25.7 kB / 439.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004564/0.6361, allocations: 393.4 kB / 439.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.6361, allocations: 0 / 439.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.6361, allocations: 0 / 439.8 MB, free: 15.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6363, allocations: 310 kB / 440.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.614e-05/0.6363, allocations: 11 kB / 440.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.968e-05/0.6364, allocations: 13.72 kB / 440.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.791e-05/0.6364, allocations: 11.48 kB / 440.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6364, allocations: 3.953 kB / 440.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000305/0.6368, allocations: 128.5 kB / 440.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.6368, allocations: 8.125 kB / 440.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6368, allocations: 0 / 440.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.6368, allocations: 4 kB / 440.3 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.637, allocations: 11.98 kB / 440.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6371, allocations: 0 / 440.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.6374, allocations: 23.77 kB / 440.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.6374, allocations: 0 / 440.3 MB, free: 15.04 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.883e-05/0.6375, allocations: 108 kB / 440.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.6376, allocations: 86.92 kB / 440.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.6379, allocations: 96.95 kB / 440.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.6379, allocations: 0 / 440.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.6379, allocations: 3.984 kB / 440.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6379, allocations: 0 / 440.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.6386, allocations: 478.3 kB / 441.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.6386, allocations: 0 / 441.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.6388, allocations: 19.88 kB / 441.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.6388, allocations: 4 kB / 441.1 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.6388, allocations: 7.984 kB / 441.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6388, allocations: 0 / 441.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6389, allocations: 0 / 441.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.6392, allocations: 218.4 kB / 441.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.6397, allocations: 214 kB / 441.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.6398, allocations: 3.953 kB / 441.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.6401, allocations: 20.02 kB / 441.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.6401, allocations: 3.625 kB / 441.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.6402, allocations: 3.984 kB / 441.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002037/0.6422, allocations: 1.002 MB / 442.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6422, allocations: 0 / 442.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005919/0.6428, allocations: 80 kB / 442.7 MB, free: 12.97 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.0009116/0.6438, allocations: 0.8464 MB / 443.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001155/0.6439, allocations: 15.94 kB / 443.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6439, allocations: 0 / 443.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.157e-05/0.644, allocations: 11.17 kB / 443.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007734/0.6447, allocations: 97.16 kB / 443.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.648, allocations: 1.188 MB / 444.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/0.6491, allocations: 1.014 MB / 445.8 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006985/0.6498, allocations: 170.6 kB / 446 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.6503, allocations: 257.8 kB / 446.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.6503, allocations: 0 / 446.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05834/0.7086, allocations: 15.64 MB / 461.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/0.709, allocations: 162.2 kB / 462 MB, free: 9.965 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/3.641, allocations: 0 / 462 MB, free: 9.965 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Batteries.Examples.ShowImpedance_res.mat does not exist to compare? outputFormat=mat