Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Utilities_TestInternal",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.812/2.812, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.497e-05/2.496e-05, allocations: 0 / 299.6 MB, free: 220 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4091, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.6186, allocations: 79.05 MB / 433.5 MB, free: 48 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.619, allocations: 56.03 kB / 433.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009864/0.6289, allocations: 1.648 MB / 435.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6289, allocations: 4 kB / 435.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.629, allocations: 4 kB / 435.2 MB, free: 14.33 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004977/0.6295, allocations: 356.9 kB / 435.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.282e-05/0.6296, allocations: 8.031 kB / 435.6 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.6297, allocations: 3.953 kB / 435.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.6298, allocations: 159.1 kB / 435.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.6299, allocations: 8 kB / 435.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.6299, allocations: 0 / 435.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.521e-05/0.63, allocations: 3.984 kB / 435.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.6301, allocations: 33.7 kB / 435.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6302, allocations: 7.938 kB / 435.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6302, allocations: 0 / 435.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.6302, allocations: 3.953 kB / 435.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.6304, allocations: 122.2 kB / 435.9 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.6305, allocations: 14.67 kB / 435.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.6306, allocations: 8.859 kB / 435.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.6306, allocations: 0 / 435.9 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.552e-05/0.6307, allocations: 64.25 kB / 436 MB, free: 13.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.196e-06/0.6307, allocations: 3.938 kB / 436 MB, free: 13.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002706/0.631, allocations: 37.7 kB / 436 MB, free: 13.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.6311, allocations: 81.05 kB / 436.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.6312, allocations: 88.91 kB / 436.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.6313, allocations: 25.7 kB / 436.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.6314, allocations: 80.14 kB / 436.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.6314, allocations: 0 / 436.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/0.6314, allocations: 4.031 kB / 436.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.6317, allocations: 318.8 kB / 436.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.6317, allocations: 0 / 436.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-06/0.6317, allocations: 0 / 436.6 MB, free: 12.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.686e-05/0.6318, allocations: 3.984 kB / 436.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6318, allocations: 3.938 kB / 436.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001808/0.632, allocations: 37.7 kB / 436.6 MB, free: 12.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.6321, allocations: 30.33 kB / 436.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6322, allocations: 0 / 436.7 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.6322, allocations: 8.094 kB / 436.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.906e-06/0.6322, allocations: 0 / 436.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6323, allocations: 0 / 436.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.6323, allocations: 0 / 436.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.6324, allocations: 0 / 436.7 MB, free: 12.62 MB / 378.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001734/0.6326, allocations: 138.6 kB / 436.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001975/0.6328, allocations: 41.62 kB / 436.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.6329, allocations: 0 / 436.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.6329, allocations: 7.703 kB / 436.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6329, allocations: 4.031 kB / 436.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.6329, allocations: 3.984 kB / 436.9 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.633, allocations: 4 kB / 436.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.6331, allocations: 134.2 kB / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6332, allocations: 0 / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-06/0.6332, allocations: 0 / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6332, allocations: 0 / 437 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.6332, allocations: 3.984 kB / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6333, allocations: 0 / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6333, allocations: 4 kB / 437 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002139/0.6335, allocations: 69.02 kB / 437.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.6336, allocations: 77.11 kB / 437.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.6336, allocations: 0 / 437.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.732e-05/0.6337, allocations: 8 kB / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.6337, allocations: 4 kB / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.6338, allocations: 0 / 437.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.522e-05/0.6338, allocations: 75.28 kB / 437.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.6339, allocations: 7.969 kB / 437.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007098/0.6346, allocations: 27.98 kB / 437.3 MB, free: 11.94 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001904/0.6365, allocations: 0.7747 MB / 438.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.6367, allocations: 59.41 kB / 438.1 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6368, allocations: 4 kB / 438.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.705e-05/0.6368, allocations: 51.41 kB / 438.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.6371, allocations: 11.88 kB / 438.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.6377, allocations: 85.72 kB / 438.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.6382, allocations: 0.6729 MB / 438.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.399e-05/0.6382, allocations: 0 / 438.9 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.6383, allocations: 11.38 kB / 438.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.6383, allocations: 8.125 kB / 439 MB, free: 10.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04797/0.6863, allocations: 1.086 MB / 440 MB, free: 9.133 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003171/0.6867, allocations: 174.3 kB / 440.2 MB, free: 8.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.694/3.381, allocations: 0 / 440.2 MB, free: 8.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat