Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.251/2.251, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.748e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3274, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.4595, allocations: 70.66 MB / 364.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.4598, allocations: 63.97 kB / 364.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005725/0.4655, allocations: 1.249 MB / 366.2 MB, free: 9.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4656, allocations: 0 / 366.2 MB, free: 9.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.4656, allocations: 0 / 366.2 MB, free: 9.934 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006843/0.4663, allocations: 378.3 kB / 366.5 MB, free: 9.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4664, allocations: 8.031 kB / 366.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.4664, allocations: 4 kB / 366.5 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4666, allocations: 174.9 kB / 366.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4666, allocations: 0 / 366.7 MB, free: 9.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.4666, allocations: 4 kB / 366.7 MB, free: 9.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001662/0.4668, allocations: 40.58 kB / 366.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.467, allocations: 49.69 kB / 366.8 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.467, allocations: 0 / 366.8 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.467, allocations: 0 / 366.8 MB, free: 9.199 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.467, allocations: 8 kB / 366.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.4676, allocations: 281.2 kB / 367.1 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.4678, allocations: 50.52 kB / 367.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.989e-05/0.4679, allocations: 24.97 kB / 367.2 MB, free: 8.793 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.4679, allocations: 4 kB / 367.2 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.468, allocations: 30.56 kB / 367.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.364e-06/0.468, allocations: 4 kB / 367.2 MB, free: 8.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000261/0.4683, allocations: 53.7 kB / 367.2 MB, free: 8.688 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.4683, allocations: 55.41 kB / 367.3 MB, free: 8.621 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4684, allocations: 109 kB / 367.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4685, allocations: 25.7 kB / 367.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.629e-05/0.4686, allocations: 162.4 kB / 367.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.4686, allocations: 19.8 kB / 367.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.4686, allocations: 0 / 367.6 MB, free: 8.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4688, allocations: 318.8 kB / 367.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.4689, allocations: 12 kB / 367.9 MB, free: 7.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.404e-05/0.4689, allocations: 12 kB / 367.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.729e-05/0.469, allocations: 16.19 kB / 368 MB, free: 7.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.469, allocations: 0 / 368 MB, free: 7.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.4692, allocations: 57.69 kB / 368 MB, free: 7.875 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4692, allocations: 8 kB / 368 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4693, allocations: 4 kB / 368 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4693, allocations: 0 / 368 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.4696, allocations: 23.97 kB / 368.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4696, allocations: 3.938 kB / 368.1 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.4698, allocations: 19.98 kB / 368.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.4698, allocations: 4 kB / 368.1 MB, free: 7.812 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0001028/0.4699, allocations: 112.7 kB / 368.2 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001854/0.4701, allocations: 65.59 kB / 368.3 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.4702, allocations: 4 kB / 368.3 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.4704, allocations: 89.84 kB / 368.3 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4704, allocations: 3.984 kB / 368.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4705, allocations: 0 / 368.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4705, allocations: 3.953 kB / 368.4 MB, free: 7.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.4707, allocations: 158.2 kB / 368.5 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4708, allocations: 4 kB / 368.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002498/0.471, allocations: 27.97 kB / 368.5 MB, free: 7.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.471, allocations: 7.938 kB / 368.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.4711, allocations: 0 / 368.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4711, allocations: 0 / 368.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4711, allocations: 0 / 368.5 MB, free: 7.293 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.4714, allocations: 171.4 kB / 368.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.4714, allocations: 77.11 kB / 368.8 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.4715, allocations: 3.984 kB / 368.8 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4717, allocations: 15.98 kB / 368.8 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.4718, allocations: 11.98 kB / 368.8 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4718, allocations: 4.062 kB / 368.8 MB, free: 6.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.874e-05/0.4719, allocations: 91.59 kB / 368.9 MB, free: 6.891 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4719, allocations: 4 kB / 368.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.4722, allocations: 16 kB / 368.9 MB, free: 6.871 MB / 314.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 (7): * Single equations (assignments): 7 * 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.0006747/0.4729, allocations: 0.7124 MB / 369.6 MB, free: 6.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001904/0.4731, allocations: 47.94 kB / 369.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.713e-05/0.4732, allocations: 0 / 369.7 MB, free: 6.082 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.893e-05/0.4733, allocations: 20 kB / 369.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.4736, allocations: 4 kB / 369.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006282/0.4742, allocations: 156.9 kB / 369.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.4745, allocations: 0.6885 MB / 370.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.15e-05/0.4747, allocations: 19.44 kB / 370.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4747, allocations: 4 kB / 370.6 MB, free: 5.121 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.579/3.053, allocations: 1.258 MB / 371.8 MB, free: 3.863 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat does not exist to compare? outputFormat=mat