Running command: "" <> buildModelFMU(Physiolibrary.Types.Examples.Units,fileNamePrefix="Physiolibrary_Physiolibrary_Types_Examples_Units",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.115/2.115, allocations: 210.4 MB / 222.5 MB, free: 4.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.567e-05/4.583e-05, allocations: 4 kB / 273.9 MB, free: 1.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.35 MB / 322.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4663/0.5705, allocations: 75.03 MB / 397.3 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5708, allocations: 80.16 kB / 397.4 MB, free: 2.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005342/0.5762, allocations: 1.5 MB / 398.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5762, allocations: 0 / 398.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.5763, allocations: 0 / 398.9 MB, free: 1.199 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003131/0.5766, allocations: 354.3 kB / 399.2 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.5767, allocations: 12.03 kB / 399.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.858e-05/0.5767, allocations: 109.8 kB / 399.3 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.953e-05/0.5768, allocations: 87.09 kB / 399.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.577, allocations: 262.1 kB / 399.7 MB, free: 308 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.495e-05/0.5771, allocations: 154.5 kB / 399.8 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.5772, allocations: 154.6 kB / 400 MB, free: 16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.772e-05/0.5773, allocations: 107.7 kB / 400.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/0.5773, allocations: 75.28 kB / 400.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.5774, allocations: 154.2 kB / 400.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.742e-05/0.5775, allocations: 150.6 kB / 400.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.5775, allocations: 150.6 kB / 400.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.5779, allocations: 472.2 kB / 401 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.938e-05/0.578, allocations: 173.1 kB / 401.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.5781, allocations: 80.14 kB / 401.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.5781, allocations: 75.28 kB / 401.4 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/0.5782, allocations: 110.4 kB / 401.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.505e-06/0.5782, allocations: 0 / 401.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.718e-05/0.5783, allocations: 33.61 kB / 401.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.5784, allocations: 138.2 kB / 401.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.5786, allocations: 142 kB / 401.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.5787, allocations: 25.7 kB / 401.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.223e-05/0.5787, allocations: 109.4 kB / 401.9 MB, free: 13.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.5788, allocations: 4 kB / 401.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-07/0.5788, allocations: 0 / 401.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5789, allocations: 322.6 kB / 402.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-06/0.5789, allocations: 4 kB / 402.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.5789, allocations: 240 / 402.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.051e-05/0.579, allocations: 75.28 kB / 402.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-05/0.5791, allocations: 75.28 kB / 402.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.469e-05/0.5791, allocations: 37.61 kB / 402.4 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.5792, allocations: 89.62 kB / 402.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-05/0.5793, allocations: 83.16 kB / 402.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.775e-05/0.5793, allocations: 154.1 kB / 402.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.294e-05/0.5794, allocations: 79.27 kB / 402.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.237e-05/0.5794, allocations: 158.5 kB / 403 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.5796, allocations: 75.28 kB / 403 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.5796, allocations: 79.28 kB / 403.1 MB, free: 12.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.0001253/0.5798, allocations: 259.5 kB / 403.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.5799, allocations: 116.7 kB / 403.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.5799, allocations: 117.3 kB / 403.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.58, allocations: 180.3 kB / 403.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-05/0.5801, allocations: 180.2 kB / 404 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.898e-05/0.5802, allocations: 180.3 kB / 404.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.5805, allocations: 431.8 kB / 404.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-05/0.5806, allocations: 108.9 kB / 404.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.266e-05/0.5806, allocations: 101 kB / 404.8 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.281e-05/0.5807, allocations: 180.3 kB / 404.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.714e-05/0.5808, allocations: 188.2 kB / 405.1 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.576e-05/0.5809, allocations: 176.3 kB / 405.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.807e-05/0.581, allocations: 180.1 kB / 405.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.5812, allocations: 315.6 kB / 405.8 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.5813, allocations: 194 kB / 406 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.5814, allocations: 180.2 kB / 406.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.5815, allocations: 108.3 kB / 406.2 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.5816, allocations: 176.7 kB / 406.4 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/0.5817, allocations: 108.9 kB / 406.5 MB, free: 9.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000148/0.5818, allocations: 125.4 kB / 406.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5818, allocations: 0 / 406.6 MB, free: 9.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000331/0.5822, allocations: 16 kB / 406.7 MB, free: 9.012 MB / 330.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 (0): * Single equations (assignments): 0 * 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.0004587/0.5827, allocations: 0.8125 MB / 407.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 4.059e-05/0.5827, allocations: 7.672 kB / 407.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5827, allocations: 0 / 407.5 MB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.258e-06/0.5827, allocations: 7.938 kB / 407.5 MB, free: 8.156 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.5833, allocations: 0.5366 MB / 408 MB, free: 7.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.5839, allocations: 214 kB / 408.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.5842, allocations: 0.7004 MB / 408.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.783e-05/0.5843, allocations: 4 kB / 408.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.655e-05/0.5843, allocations: 23.05 kB / 409 MB, free: 6.629 MB / 330.7 MB Notification: Performance of SimCode: time 8.52e-07/0.5843, allocations: 0 / 409 MB, free: 6.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.6053, allocations: 1.977 MB / 410.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/0.6057, allocations: 137 kB / 411.1 MB, free: 4.492 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.789, allocations: 0 / 411.1 MB, free: 4.492 MB / 330.7 MB