Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.SimpleReaction,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.053/2.053, allocations: 210.4 MB / 222.5 MB, free: 4.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.955e-05/3.967e-05, allocations: 4 kB / 273.9 MB, free: 1.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.34 MB / 322.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.6191, allocations: 93.77 MB / 416 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/0.6195, allocations: 67.09 kB / 416.1 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.248/0.8674, allocations: 60.86 MB / 476.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.8675, allocations: 4 kB / 476.9 MB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.8675, allocations: 8 kB / 476.9 MB, free: 10.17 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00142/0.869, allocations: 0.5056 MB / 477.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.869, allocations: 8.031 kB / 477.5 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.715e-05/0.8691, allocations: 42.55 kB / 477.5 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.8693, allocations: 27.67 kB / 477.5 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005819/0.8699, allocations: 269.6 kB / 477.8 MB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.8699, allocations: 8 kB / 477.8 MB, free: 9.215 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.87, allocations: 16 kB / 477.8 MB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.8703, allocations: 109.6 kB / 477.9 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.8703, allocations: 0 / 477.9 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.8704, allocations: 4 kB / 477.9 MB, free: 9.082 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.8704, allocations: 7.984 kB / 477.9 MB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.8706, allocations: 71.92 kB / 478 MB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/0.8724, allocations: 0.5079 MB / 478.5 MB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.8727, allocations: 110.6 kB / 478.6 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.8729, allocations: 53.12 kB / 478.7 MB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.8729, allocations: 3.938 kB / 478.7 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.873, allocations: 34.56 kB / 478.7 MB, free: 8.227 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 3.396e-06/0.873, allocations: 0 / 478.7 MB, free: 8.227 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004761/0.8735, allocations: 125.3 kB / 478.8 MB, free: 8.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.8735, allocations: 59.34 kB / 478.9 MB, free: 8.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.8739, allocations: 231 kB / 479.1 MB, free: 7.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.8739, allocations: 29.7 kB / 479.1 MB, free: 7.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.8741, allocations: 144.3 kB / 479.3 MB, free: 7.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.8742, allocations: 35.45 kB / 479.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.8742, allocations: 0 / 479.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8744, allocations: 334.8 kB / 479.6 MB, free: 7.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.8745, allocations: 39.98 kB / 479.7 MB, free: 7.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.8747, allocations: 81.14 kB / 479.8 MB, free: 7.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/0.8749, allocations: 55.97 kB / 479.8 MB, free: 7.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8749, allocations: 0 / 479.8 MB, free: 7.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005631/0.8755, allocations: 177.2 kB / 480 MB, free: 6.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.8755, allocations: 14.5 kB / 480 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.8756, allocations: 0 / 480 MB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.8756, allocations: 4 kB / 480 MB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.8759, allocations: 35.92 kB / 480 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.876, allocations: 3.984 kB / 480 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.8771, allocations: 19.84 kB / 480.1 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.8771, allocations: 7.953 kB / 480.1 MB, free: 6.797 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.0001062/0.8772, allocations: 112.9 kB / 480.2 MB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.8774, allocations: 19.72 kB / 480.2 MB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.903e-05/0.8775, allocations: 33.83 kB / 480.2 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.8775, allocations: 0 / 480.2 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.8775, allocations: 0 / 480.2 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8775, allocations: 0 / 480.2 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/0.8782, allocations: 261.5 kB / 480.5 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.8782, allocations: 0 / 480.5 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8785, allocations: 16 kB / 480.5 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.8785, allocations: 0 / 480.5 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.8785, allocations: 7.938 kB / 480.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.8785, allocations: 0 / 480.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8785, allocations: 0 / 480.5 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.8791, allocations: 283.2 kB / 480.8 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.8793, allocations: 108.9 kB / 480.9 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.8794, allocations: 7.938 kB / 480.9 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.88, allocations: 4 kB / 480.9 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.8801, allocations: 3.984 kB / 480.9 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.8801, allocations: 4 kB / 480.9 MB, free: 5.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002793/0.8804, allocations: 179.1 kB / 481.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8804, allocations: 4.062 kB / 481.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000454/0.8808, allocations: 47.98 kB / 481.1 MB, free: 5.633 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.0009236/0.8818, allocations: 0.8374 MB / 482 MB, free: 4.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.8821, allocations: 100.6 kB / 482.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.8822, allocations: 0 / 482.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.8823, allocations: 39.92 kB / 482.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005532/0.8829, allocations: 56.83 kB / 482.2 MB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.8839, allocations: 316 kB / 482.5 MB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.8843, allocations: 0.7485 MB / 483.2 MB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.8846, allocations: 34.06 kB / 483.3 MB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.8847, allocations: 75.28 kB / 483.3 MB, free: 3.352 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.8847, allocations: 0 / 483.3 MB, free: 3.352 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.9156, allocations: 4.604 MB / 487.9 MB, free: 14.82 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/0.916, allocations: 141.9 kB / 488.1 MB, free: 14.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.489, allocations: 0 / 488.1 MB, free: 14.6 MB / 410.7 MB