Running command: "" <> buildModelFMU(Physiolibrary.Chemical.Examples.SimpleReaction2,fileNamePrefix="Physiolibrary_Physiolibrary_Chemical_Examples_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.012/2.012, allocations: 210.4 MB / 222.5 MB, free: 4.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.377e-05, allocations: 0 / 273.9 MB, free: 1.188 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 48.35 MB / 322.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4515/0.5882, allocations: 93.8 MB / 416 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/0.5885, allocations: 75.77 kB / 416.1 MB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3963/0.9848, allocations: 89.88 MB / 0.4941 GB, free: 13.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.9849, allocations: 0 / 0.4941 GB, free: 13.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.832e-05/0.9849, allocations: 12 kB / 0.4941 GB, free: 13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001755/0.9867, allocations: 0.5604 MB / 0.4947 GB, free: 12.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.039e-05/0.9868, allocations: 15.97 kB / 0.4947 GB, free: 12.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.992e-05/0.9869, allocations: 50.5 kB / 0.4947 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002004/0.9871, allocations: 39.48 kB / 0.4948 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007427/0.9878, allocations: 306.4 kB / 0.4951 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.9879, allocations: 12.28 kB / 0.4951 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.988, allocations: 15.91 kB / 0.4951 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003832/0.9883, allocations: 139.6 kB / 0.4952 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.9884, allocations: 0 / 0.4952 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.9884, allocations: 4 kB / 0.4952 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.9884, allocations: 4 kB / 0.4952 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.9887, allocations: 100.5 kB / 0.4953 GB, free: 11.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.991, allocations: 0.6215 MB / 0.4959 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.9914, allocations: 146.5 kB / 0.4961 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.9916, allocations: 68.89 kB / 0.4962 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.9916, allocations: 3.938 kB / 0.4962 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.9917, allocations: 38.55 kB / 0.4962 GB, free: 10.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.096e-06/0.9917, allocations: 0 / 0.4962 GB, free: 10.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006299/0.9923, allocations: 161.3 kB / 0.4963 GB, free: 10.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.9924, allocations: 55.36 kB / 0.4964 GB, free: 10.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.9929, allocations: 270.7 kB / 0.4967 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.9929, allocations: 33.7 kB / 0.4967 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.9931, allocations: 164.2 kB / 0.4968 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.9932, allocations: 59.14 kB / 0.4969 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-05/0.9933, allocations: 4 kB / 0.4969 GB, free: 9.961 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.9935, allocations: 334.8 kB / 0.4972 GB, free: 9.625 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.9936, allocations: 60.45 kB / 0.4973 GB, free: 9.562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.9939, allocations: 116 kB / 0.4974 GB, free: 9.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.9941, allocations: 80.27 kB / 0.4975 GB, free: 9.348 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.9941, allocations: 0 / 0.4975 GB, free: 9.348 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007599/0.9949, allocations: 240 kB / 0.4977 GB, free: 9.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.995, allocations: 6.344 kB / 0.4977 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.995, allocations: 7.938 kB / 0.4977 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.995, allocations: 8.156 kB / 0.4977 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.9955, allocations: 43.98 kB / 0.4978 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.9955, allocations: 7.938 kB / 0.4978 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.9971, allocations: 31.69 kB / 0.4978 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.9971, allocations: 8 kB / 0.4978 GB, free: 9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.000135/0.9972, allocations: 120.9 kB / 0.4979 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.9974, allocations: 23.72 kB / 0.4979 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.9975, allocations: 34.95 kB / 0.498 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9976, allocations: 3.984 kB / 0.498 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.9976, allocations: 4 kB / 0.498 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9976, allocations: 0 / 0.498 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008848/0.9985, allocations: 305.3 kB / 0.4983 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9985, allocations: 0 / 0.4983 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.9988, allocations: 23.98 kB / 0.4983 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.9989, allocations: 0 / 0.4983 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.9989, allocations: 8 kB / 0.4983 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.9989, allocations: 0 / 0.4983 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9989, allocations: 0 / 0.4983 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.9997, allocations: 351.3 kB / 0.4986 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.9999, allocations: 116.8 kB / 0.4988 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/1, allocations: 0 / 0.4988 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/1.001, allocations: 15.92 kB / 0.4988 GB, free: 7.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/1.001, allocations: 4 kB / 0.4988 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/1.001, allocations: 4 kB / 0.4988 GB, free: 7.914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003706/1.001, allocations: 218.1 kB / 0.499 GB, free: 7.703 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.001, allocations: 0 / 0.499 GB, free: 7.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005304/1.002, allocations: 64 kB / 0.499 GB, free: 7.641 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (A.state,B.state,C.state) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001039/1.003, allocations: 0.8995 MB / 0.4999 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004186/1.003, allocations: 135.9 kB / 0.5001 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.003, allocations: 0 / 0.5001 GB, free: 6.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.004, allocations: 64.72 kB / 0.5001 GB, free: 6.516 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/1.004, allocations: 69.17 kB / 0.5002 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/1.005, allocations: 420.8 kB / 0.5006 GB, free: 6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.006, allocations: 0.7717 MB / 0.5013 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/1.006, allocations: 51.14 kB / 0.5014 GB, free: 5.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/1.006, allocations: 91.39 kB / 0.5015 GB, free: 5.062 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/1.006, allocations: 4 kB / 0.5015 GB, free: 5.059 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/1.332, allocations: 6.105 MB / 0.5074 GB, free: 114 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/1.333, allocations: 146.7 kB / 0.5076 GB, free: 113.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.621/3.954, allocations: 0 / 0.5076 GB, free: 113.8 MB / 426.7 MB