Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.ExothermicReaction,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_ExothermicReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.025/2.025, allocations: 210.4 MB / 222.5 MB, free: 4.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.545e-05, allocations: 4 kB / 273.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.35 MB / 322.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.472/0.5787, allocations: 94.7 MB / 416.9 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.5791, allocations: 73.66 kB / 417 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2893/0.8684, allocations: 61.72 MB / 478.7 MB, free: 8.254 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.8685, allocations: 0 / 478.7 MB, free: 8.254 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.8685, allocations: 8 kB / 478.7 MB, free: 8.246 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001625/0.8702, allocations: 0.5406 MB / 479.3 MB, free: 7.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.8702, allocations: 11.97 kB / 479.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.591e-05/0.8703, allocations: 54.55 kB / 479.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.8706, allocations: 31.58 kB / 479.4 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.8712, allocations: 274.4 kB / 479.6 MB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.8713, allocations: 16 kB / 479.7 MB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.8714, allocations: 16 kB / 479.7 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/0.8717, allocations: 133.5 kB / 479.8 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.8718, allocations: 4 kB / 479.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.8718, allocations: 4 kB / 479.8 MB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.8718, allocations: 4 kB / 479.8 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.8722, allocations: 91.88 kB / 479.9 MB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.8742, allocations: 0.5779 MB / 480.5 MB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.8745, allocations: 118.5 kB / 480.6 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.8747, allocations: 48.84 kB / 480.6 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.8747, allocations: 288 / 480.6 MB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.8748, allocations: 38.5 kB / 480.7 MB, free: 6.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.8748, allocations: 0 / 480.7 MB, free: 6.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005063/0.8753, allocations: 137.3 kB / 480.8 MB, free: 5.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.8753, allocations: 51.41 kB / 480.9 MB, free: 5.926 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/0.8758, allocations: 243.4 kB / 481.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.8758, allocations: 25.7 kB / 481.1 MB, free: 5.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.876, allocations: 156.2 kB / 481.3 MB, free: 5.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.8762, allocations: 43.41 kB / 481.3 MB, free: 5.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.8762, allocations: 4 kB / 481.3 MB, free: 5.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.8764, allocations: 334.8 kB / 481.7 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.8765, allocations: 39.98 kB / 481.7 MB, free: 5.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.8767, allocations: 81.14 kB / 481.8 MB, free: 4.973 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.8769, allocations: 55.97 kB / 481.8 MB, free: 4.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.8769, allocations: 0 / 481.8 MB, free: 4.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006077/0.8775, allocations: 185.1 kB / 482 MB, free: 4.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.8776, allocations: 6.344 kB / 482 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.8776, allocations: 4 kB / 482 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.8776, allocations: 0 / 482 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.878, allocations: 40.08 kB / 482.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.878, allocations: 7.984 kB / 482.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.8792, allocations: 19.75 kB / 482.1 MB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.8792, allocations: 8 kB / 482.1 MB, free: 4.648 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.0001227/0.8793, allocations: 105 kB / 482.2 MB, free: 4.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.8795, allocations: 27.67 kB / 482.2 MB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.8796, allocations: 29.95 kB / 482.3 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.8796, allocations: 3.938 kB / 482.3 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8796, allocations: 4 kB / 482.3 MB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8797, allocations: 4 kB / 482.3 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.8805, allocations: 273.5 kB / 482.5 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.8805, allocations: 0 / 482.5 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.8808, allocations: 19.94 kB / 482.5 MB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.8808, allocations: 3.984 kB / 482.6 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.8808, allocations: 7.953 kB / 482.6 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.8808, allocations: 0 / 482.6 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8808, allocations: 0 / 482.6 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.8815, allocations: 279.3 kB / 482.8 MB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.8818, allocations: 112.8 kB / 482.9 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.8818, allocations: 3.938 kB / 482.9 MB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.8825, allocations: 15.86 kB / 483 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.8825, allocations: 4 kB / 483 MB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.8825, allocations: 0 / 483 MB, free: 3.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000337/0.8829, allocations: 195.1 kB / 483.2 MB, free: 3.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8829, allocations: 0 / 483.2 MB, free: 3.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.8834, allocations: 52 kB / 483.2 MB, free: 3.438 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.state,B.state) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001011/0.8845, allocations: 0.8255 MB / 484 MB, free: 2.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.8849, allocations: 104.6 kB / 484.1 MB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8849, allocations: 0 / 484.1 MB, free: 2.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.885, allocations: 43.92 kB / 484.2 MB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006864/0.8857, allocations: 73.22 kB / 484.3 MB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.887, allocations: 347.5 kB / 484.6 MB, free: 1.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.8874, allocations: 0.7599 MB / 485.3 MB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.8878, allocations: 46.03 kB / 485.4 MB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.888, allocations: 75.41 kB / 485.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.888, allocations: 0 / 485.5 MB, free: 1.094 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03498/0.923, allocations: 5.256 MB / 490.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/0.9234, allocations: 154.2 kB / 490.9 MB, free: 11.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.521, allocations: 3.938 kB / 490.9 MB, free: 11.68 MB / 410.7 MB