Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.683/2.683, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.619e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4651/0.4652, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.6379, allocations: 79.72 MB / 439.6 MB, free: 1.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.6383, allocations: 63.97 kB / 439.7 MB, free: 1.035 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.6489, allocations: 1.659 MB / 441.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.649, allocations: 0 / 441.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.649, allocations: 0.6562 kB / 441.3 MB, free: 15.39 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.0004473/0.6495, allocations: 352.2 kB / 441.7 MB, free: 14.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.715e-05/0.6496, allocations: 8.031 kB / 441.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.6497, allocations: 40.12 kB / 441.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.6497, allocations: 11.89 kB / 441.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.6499, allocations: 159.1 kB / 441.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.6499, allocations: 3.5 kB / 441.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.65, allocations: 0 / 441.9 MB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.6501, allocations: 29.7 kB / 441.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.6501, allocations: 0 / 441.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.6502, allocations: 0 / 441.9 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.6502, allocations: 7.938 kB / 441.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.6502, allocations: 3.984 kB / 441.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.6505, allocations: 149.7 kB / 442.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.6506, allocations: 18.52 kB / 442.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.6506, allocations: 8.859 kB / 442.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.6507, allocations: 4.094 kB / 442.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/0.6507, allocations: 56.27 kB / 442.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.607e-06/0.6508, allocations: 0 / 442.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000245/0.651, allocations: 63.39 kB / 442.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.6511, allocations: 83.77 kB / 442.3 MB, free: 14.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.6512, allocations: 85 kB / 442.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6513, allocations: 25.7 kB / 442.4 MB, free: 14.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.6513, allocations: 80.14 kB / 442.5 MB, free: 14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.6514, allocations: 0 / 442.5 MB, free: 14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.6514, allocations: 0 / 442.5 MB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6516, allocations: 318.8 kB / 442.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.738e-05/0.6516, allocations: 4 kB / 442.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.994e-05/0.6517, allocations: 4 kB / 442.8 MB, free: 13.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.6517, allocations: 29.64 kB / 442.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6518, allocations: 0 / 442.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000149/0.6519, allocations: 63.39 kB / 442.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.652, allocations: 35.42 kB / 442.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6521, allocations: 0 / 442.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.6521, allocations: 0 / 442.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.399e-06/0.6521, allocations: 0.5625 kB / 442.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.6521, allocations: 0 / 442.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.6522, allocations: 0 / 442.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6522, allocations: 7.375 kB / 442.9 MB, free: 13.52 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.0001553/0.6524, allocations: 138.6 kB / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.6524, allocations: 0 / 443.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.6525, allocations: 11.64 kB / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.6525, allocations: 0 / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6525, allocations: 0 / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6526, allocations: 4 kB / 443.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.6527, allocations: 149.6 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6528, allocations: 2.938 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-06/0.6528, allocations: 4 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6528, allocations: 1.031 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.6528, allocations: 0 / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6529, allocations: 4 kB / 443.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.6529, allocations: 5.031 kB / 443.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.6531, allocations: 90.78 kB / 443.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.6532, allocations: 81.11 kB / 443.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.6532, allocations: 0 / 443.4 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.6533, allocations: 4.031 kB / 443.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.6533, allocations: 0 / 443.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.6534, allocations: 0 / 443.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.975e-05/0.6534, allocations: 75.28 kB / 443.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.011e-06/0.6535, allocations: 4.656 kB / 443.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005348/0.654, allocations: 35.97 kB / 443.5 MB, free: 12.82 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.001611/0.6556, allocations: 0.8016 MB / 444.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.6559, allocations: 63.39 kB / 444.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.6559, allocations: 4 kB / 444.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.255e-05/0.656, allocations: 51.41 kB / 444.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.6562, allocations: 8 kB / 444.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.6567, allocations: 94.58 kB / 444.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.6571, allocations: 0.6692 MB / 445.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.636e-06/0.6571, allocations: 4 kB / 445.2 MB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.6571, allocations: 7.562 kB / 445.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.803e-06/0.6572, allocations: 7.938 kB / 445.2 MB, free: 11.06 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.6795, allocations: 1.348 MB / 446.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.6798, allocations: 186.7 kB / 446.8 MB, free: 9.527 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.015, allocations: 0 / 446.8 MB, free: 9.527 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat