Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.674/1.674, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.234e-05, allocations: 8 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2572, allocations: 38.76 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.3842, allocations: 72.23 MB / 336.1 MB, free: 1.516 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.3845, allocations: 67.97 kB / 336.1 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1004/0.4849, allocations: 28.47 MB / 364.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.485, allocations: 0 / 364.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.485, allocations: 8 kB / 364.6 MB, free: 5.059 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007354/0.4857, allocations: 0.6137 MB / 365.2 MB, free: 4.375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4858, allocations: 8.031 kB / 365.2 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.514e-05/0.4859, allocations: 42.56 kB / 365.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.66e-05/0.486, allocations: 35.53 kB / 365.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.4864, allocations: 257.5 kB / 365.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.4865, allocations: 7.938 kB / 365.6 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.793e-05/0.4865, allocations: 8 kB / 365.6 MB, free: 3.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.487, allocations: 157.5 kB / 365.7 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.487, allocations: 4 kB / 365.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.487, allocations: 4 kB / 365.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.487, allocations: 4 kB / 365.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4873, allocations: 59.98 kB / 365.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009731/0.4883, allocations: 480.5 kB / 366.3 MB, free: 3.223 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.4885, allocations: 102.5 kB / 366.4 MB, free: 3.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.4888, allocations: 84.91 kB / 366.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.4888, allocations: 4 kB / 366.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.4892, allocations: 226.7 kB / 366.7 MB, free: 2.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 4.819e-06/0.4893, allocations: 3.984 kB / 366.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001037/0.4903, allocations: 439.8 kB / 367.1 MB, free: 2.312 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.4904, allocations: 170.2 kB / 367.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.4913, allocations: 462.5 kB / 367.7 MB, free: 1.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.4914, allocations: 29.81 kB / 367.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.4915, allocations: 167.4 kB / 367.9 MB, free: 1.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.862e-05/0.4916, allocations: 39.56 kB / 368 MB, free: 1.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.4916, allocations: 8 kB / 368 MB, free: 1.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4918, allocations: 310.8 kB / 368.3 MB, free: 1.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.492, allocations: 67.97 kB / 368.3 MB, free: 1.027 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.4922, allocations: 63.98 kB / 368.4 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.4925, allocations: 173.2 kB / 368.6 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4925, allocations: 0 / 368.6 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008829/0.4934, allocations: 400.4 kB / 369 MB, free: 360 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.4935, allocations: 122.8 kB / 369.1 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4935, allocations: 4.062 kB / 369.1 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4935, allocations: 0 / 369.1 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.009e-05/0.4936, allocations: 0 / 369.1 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4936, allocations: 7.984 kB / 369.1 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.4938, allocations: 15.84 kB / 369.1 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.4941, allocations: 127.7 kB / 369.2 MB, free: 56 kB / 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: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.2136/0.7077, allocations: 239.5 kB / 369.5 MB, free: 89.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.7078, allocations: 41.22 kB / 369.5 MB, free: 89.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.708, allocations: 63.94 kB / 369.6 MB, free: 89.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.7081, allocations: 0.5 kB / 369.6 MB, free: 89.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.7081, allocations: 0.5 kB / 369.6 MB, free: 89.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7081, allocations: 0.5 kB / 369.6 MB, free: 89.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.7097, allocations: 0.8382 MB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.7098, allocations: 0.5312 kB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.7098, allocations: 2.766 kB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.7098, allocations: 2.219 kB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.849e-05/0.7099, allocations: 20.16 kB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.7099, allocations: 1.062 kB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7099, allocations: 5.859 kB / 370.4 MB, free: 89.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.7111, allocations: 0.5526 MB / 371 MB, free: 88.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.7117, allocations: 252.9 kB / 371.2 MB, free: 88.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7118, allocations: 14.66 kB / 371.2 MB, free: 88.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.712, allocations: 18.23 kB / 371.3 MB, free: 88.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.7122, allocations: 30.06 kB / 371.3 MB, free: 88.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002245/0.7125, allocations: 122.9 kB / 371.4 MB, free: 88.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006634/0.7132, allocations: 388 kB / 371.8 MB, free: 88.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7132, allocations: 0 / 371.8 MB, free: 88.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003991/0.7136, allocations: 45.97 kB / 371.8 MB, free: 88.59 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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.00116/0.7147, allocations: 1.107 MB / 372.9 MB, free: 87.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.7154, allocations: 445 kB / 373.4 MB, free: 87.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.7154, allocations: 0 / 373.4 MB, free: 87.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.7158, allocations: 382.7 kB / 373.8 MB, free: 87.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.7165, allocations: 110.3 kB / 373.9 MB, free: 87.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.7181, allocations: 0.6577 MB / 374.5 MB, free: 86.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.7185, allocations: 0.8053 MB / 375.3 MB, free: 86.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.7186, allocations: 29.14 kB / 375.3 MB, free: 86.26 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7186, allocations: 0 / 375.3 MB, free: 86.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.578/3.296, allocations: 4.319 MB / 379.7 MB, free: 85.91 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat