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.614/1.614, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.116e-05, allocations: 7.438 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 38.77 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.3796, allocations: 72.25 MB / 336.1 MB, free: 1.508 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.3799, allocations: 67.95 kB / 336.2 MB, free: 1.441 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1031/0.483, allocations: 28.45 MB / 364.6 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.876e-06/0.4831, allocations: 3.984 kB / 364.6 MB, free: 5.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.4831, allocations: 4 kB / 364.6 MB, free: 5.062 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.000747/0.4839, allocations: 0.6136 MB / 365.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.4839, allocations: 12.03 kB / 365.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.28e-05/0.484, allocations: 38.56 kB / 365.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.4841, allocations: 39.53 kB / 365.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.4845, allocations: 257.5 kB / 365.6 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.4846, allocations: 11.94 kB / 365.6 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.4846, allocations: 8 kB / 365.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.4851, allocations: 153.5 kB / 365.8 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4851, allocations: 0 / 365.8 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.121e-05/0.4851, allocations: 8 kB / 365.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4852, allocations: 0 / 365.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000214/0.4854, allocations: 63.97 kB / 365.8 MB, free: 3.742 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.4864, allocations: 472.7 kB / 366.3 MB, free: 3.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.4867, allocations: 98.56 kB / 366.4 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.487, allocations: 92.89 kB / 366.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.487, allocations: 3.984 kB / 366.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.4874, allocations: 226.6 kB / 366.7 MB, free: 2.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.357e-06/0.4874, allocations: 0 / 366.7 MB, free: 2.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001028/0.4885, allocations: 435.9 kB / 367.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.4886, allocations: 166.2 kB / 367.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.4896, allocations: 466.5 kB / 367.7 MB, free: 1.664 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.4896, allocations: 33.81 kB / 367.8 MB, free: 1.625 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.711e-05/0.4898, allocations: 167.4 kB / 367.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.4899, allocations: 35.58 kB / 368 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.4899, allocations: 4 kB / 368 MB, free: 1.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4901, allocations: 318.8 kB / 368.3 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.4903, allocations: 59.98 kB / 368.3 MB, free: 1.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.4905, allocations: 67.97 kB / 368.4 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4908, allocations: 165 kB / 368.6 MB, free: 0.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4908, allocations: 4 kB / 368.6 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008998/0.4917, allocations: 404.3 kB / 369 MB, free: 372 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4918, allocations: 122.8 kB / 369.1 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4918, allocations: 0 / 369.1 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4919, allocations: 0 / 369.1 MB, free: 224 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.81e-05/0.4919, allocations: 8 kB / 369.1 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4919, allocations: 0 / 369.1 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4922, allocations: 19.89 kB / 369.1 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000196/0.4924, allocations: 127.7 kB / 369.2 MB, free: 68 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.2607/0.7531, allocations: 237.8 kB / 369.5 MB, free: 89.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.7532, allocations: 39.81 kB / 369.5 MB, free: 89.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.7534, allocations: 67.5 kB / 369.6 MB, free: 89.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.7535, allocations: 1.906 kB / 369.6 MB, free: 89.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.7535, allocations: 0.625 kB / 369.6 MB, free: 89.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7535, allocations: 0.5938 kB / 369.6 MB, free: 89.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/0.7552, allocations: 0.8346 MB / 370.4 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.7553, allocations: 0.5938 kB / 370.4 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.7553, allocations: 1.516 kB / 370.4 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/0.7553, allocations: 2.406 kB / 370.4 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.385e-05/0.7554, allocations: 24.77 kB / 370.4 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7554, allocations: 4.547 kB / 370.5 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7555, allocations: 0.5938 kB / 370.5 MB, free: 89.11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.7566, allocations: 0.5561 MB / 371 MB, free: 88.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.7572, allocations: 253.1 kB / 371.3 MB, free: 88.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7573, allocations: 15.84 kB / 371.3 MB, free: 88.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002909/0.7576, allocations: 12.36 kB / 371.3 MB, free: 88.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.7579, allocations: 33.48 kB / 371.3 MB, free: 88.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002226/0.7581, allocations: 118.6 kB / 371.4 MB, free: 88.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007/0.7588, allocations: 394.2 kB / 371.8 MB, free: 88.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7588, allocations: 3.875 kB / 371.8 MB, free: 88.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004484/0.7593, allocations: 38.75 kB / 371.9 MB, free: 88.56 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.001171/0.7605, allocations: 1.109 MB / 373 MB, free: 87.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006224/0.7611, allocations: 441 kB / 373.4 MB, free: 87.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7611, allocations: 7.594 kB / 373.4 MB, free: 87.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003677/0.7615, allocations: 380.8 kB / 373.8 MB, free: 87.26 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.7623, allocations: 99.84 kB / 373.9 MB, free: 87.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.764, allocations: 0.6617 MB / 374.5 MB, free: 86.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.7644, allocations: 0.8088 MB / 375.3 MB, free: 86.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.7645, allocations: 28.59 kB / 375.4 MB, free: 86.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7645, allocations: 0 / 375.4 MB, free: 86.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.625/3.39, allocations: 4.311 MB / 379.7 MB, free: 85.88 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