Running command: "" <> buildModelFMU(Modelica.Electrical.Batteries.Examples.ShowImpedance,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Batteries_Examples_ShowImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.776e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1101, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.5862, allocations: 78.59 MB / 421.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.5864, allocations: 71.52 kB / 421.3 MB, free: 15.16 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.05076/0.6372, allocations: 13.46 MB / 434.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6373, allocations: 0 / 434.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.569e-05/0.6373, allocations: 12 kB / 434.8 MB, free: 3.18 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.001694/0.639, allocations: 0.8136 MB / 435.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6391, allocations: 8.031 kB / 435.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.6391, allocations: 30.56 kB / 435.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001792/0.6393, allocations: 82.97 kB / 435.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.6409, allocations: 0.6963 MB / 436.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.641, allocations: 4 kB / 436.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.641, allocations: 7.672 kB / 436.4 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.6412, allocations: 63.53 kB / 436.5 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6412, allocations: 4 kB / 436.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6412, allocations: 0 / 436.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6412, allocations: 0 / 436.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-05/0.6413, allocations: 15.8 kB / 436.5 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.6431, allocations: 0.958 MB / 437.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.721e-05/0.6432, allocations: 26.08 kB / 437.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.6432, allocations: 12.91 kB / 437.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.6432, allocations: 0 / 437.5 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.6433, allocations: 34.56 kB / 437.5 MB, free: 500 kB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 1.923e-06/0.6433, allocations: 0 / 437.5 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0003188/0.6436, allocations: 127.7 kB / 437.6 MB, free: 368 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.6437, allocations: 51.41 kB / 437.7 MB, free: 304 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.6462, allocations: 1.278 MB / 439 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6463, allocations: 25.7 kB / 439 MB, free: 15.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.6466, allocations: 360 kB / 439.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.6467, allocations: 4 kB / 439.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.6467, allocations: 0 / 439.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6468, allocations: 314.2 kB / 439.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.6469, allocations: 8.031 kB / 439.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.6469, allocations: 17.09 kB / 439.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.787e-05/0.647, allocations: 7.984 kB / 439.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.647, allocations: 3.953 kB / 439.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001415/0.6471, allocations: 49.56 kB / 439.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6472, allocations: 4 kB / 439.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6472, allocations: 3.938 kB / 439.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6472, allocations: 4.125 kB / 439.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.6474, allocations: 18.67 kB / 439.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.6474, allocations: 0 / 439.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.6477, allocations: 23.84 kB / 439.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.6478, allocations: 0 / 439.8 MB, free: 14.6 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 7.415e-05/0.6478, allocations: 101 kB / 439.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.648, allocations: 86.83 kB / 440 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002063/0.6482, allocations: 108.5 kB / 440.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.6482, allocations: 0 / 440.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6483, allocations: 3.984 kB / 440.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.6483, allocations: 0 / 440.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000671/0.649, allocations: 477.8 kB / 440.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.649, allocations: 0 / 440.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.6491, allocations: 15.94 kB / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6491, allocations: 0 / 440.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6492, allocations: 3.984 kB / 440.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6492, allocations: 4 kB / 440.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6492, allocations: 7.938 kB / 440.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.6495, allocations: 213.5 kB / 440.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000461/0.65, allocations: 219.6 kB / 441 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.6501, allocations: 3.953 kB / 441 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.6504, allocations: 7.984 kB / 441 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.6505, allocations: 8.031 kB / 441 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.6505, allocations: 3.984 kB / 441 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002038/0.6526, allocations: 1.002 MB / 442 MB, free: 12.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.6526, allocations: 0 / 442 MB, free: 12.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005977/0.6532, allocations: 79 kB / 442.1 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.000849/0.654, allocations: 0.8421 MB / 442.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.6542, allocations: 11 kB / 443 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6542, allocations: 8 kB / 443 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/0.6542, allocations: 10.8 kB / 443 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.655, allocations: 96.64 kB / 443.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/0.6581, allocations: 1.245 MB / 444.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008852/0.659, allocations: 1.016 MB / 445.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000458/0.6595, allocations: 255 kB / 445.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6595, allocations: 0 / 445.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.666/3.325, allocations: 13.11 MB / 458.7 MB, free: 12.41 MB / 378.7 MB