Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.707/1.707, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.7e-05, allocations: 0 / 225.1 MB, free: 2.219 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2986, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.4488, allocations: 72.25 MB / 336.1 MB, free: 1.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4491, allocations: 67.97 kB / 336.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1009/0.55, allocations: 28.46 MB / 364.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5501, allocations: 0 / 364.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5501, allocations: 4 kB / 364.6 MB, free: 5.016 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.0007565/0.5509, allocations: 0.6215 MB / 365.2 MB, free: 4.324 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5509, allocations: 8.031 kB / 365.3 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/0.551, allocations: 42.56 kB / 365.3 MB, free: 4.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.5511, allocations: 39.53 kB / 365.3 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004146/0.5516, allocations: 253.5 kB / 365.6 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.5516, allocations: 11.94 kB / 365.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.5517, allocations: 4 kB / 365.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.5521, allocations: 145.5 kB / 365.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.5521, allocations: 0 / 365.7 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.5522, allocations: 11.98 kB / 365.8 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5522, allocations: 0 / 365.8 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.5524, allocations: 71.97 kB / 365.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5534, allocations: 468.7 kB / 366.3 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.5537, allocations: 98.55 kB / 366.4 MB, free: 3.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.554, allocations: 96.83 kB / 366.5 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.554, allocations: 4 kB / 366.5 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004252/0.5544, allocations: 230.6 kB / 366.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.385e-06/0.5544, allocations: 0 / 366.7 MB, free: 2.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001036/0.5555, allocations: 431.9 kB / 367.1 MB, free: 2.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.5556, allocations: 170.2 kB / 367.3 MB, free: 2.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.5565, allocations: 458.5 kB / 367.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.774e-05/0.5566, allocations: 29.81 kB / 367.8 MB, free: 1.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.795e-05/0.5567, allocations: 109 kB / 367.9 MB, free: 1.473 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.891e-05/0.5568, allocations: 39.56 kB / 367.9 MB, free: 1.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.5568, allocations: 4 kB / 367.9 MB, free: 1.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.557, allocations: 322.8 kB / 368.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.5572, allocations: 59.98 kB / 368.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.5574, allocations: 67.97 kB / 368.4 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.5577, allocations: 166.8 kB / 368.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5577, allocations: 0 / 368.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0009099/0.5586, allocations: 412.2 kB / 368.9 MB, free: 368 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.5587, allocations: 122.8 kB / 369 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5587, allocations: 0 / 369 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5588, allocations: 0 / 369 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.584e-05/0.5588, allocations: 7.938 kB / 369 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5588, allocations: 3.984 kB / 369.1 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.5591, allocations: 11.91 kB / 369.1 MB, free: 196 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5593, 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.2108/0.7701, allocations: 233.1 kB / 369.4 MB, free: 89.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.7702, allocations: 44.28 kB / 369.5 MB, free: 89.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.7705, allocations: 68.02 kB / 369.5 MB, free: 89.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.7705, allocations: 1.094 kB / 369.5 MB, free: 89.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.7705, allocations: 0 / 369.5 MB, free: 89.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7705, allocations: 1.094 kB / 369.5 MB, free: 89.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.7722, allocations: 0.8337 MB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.7723, allocations: 5.25 kB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.7723, allocations: 0.5312 kB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.7723, allocations: 0.5 kB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.835e-05/0.7724, allocations: 28.77 kB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.7724, allocations: 0.5625 kB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7724, allocations: 0.6562 kB / 370.4 MB, free: 89.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.7736, allocations: 0.5502 MB / 370.9 MB, free: 88.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005971/0.7742, allocations: 258.4 kB / 371.2 MB, free: 88.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.7743, allocations: 14.06 kB / 371.2 MB, free: 88.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.7746, allocations: 15.94 kB / 371.2 MB, free: 88.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.7748, allocations: 33.05 kB / 371.3 MB, free: 88.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/0.7751, allocations: 124.9 kB / 371.4 MB, free: 88.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007091/0.7758, allocations: 388.4 kB / 371.8 MB, free: 88.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7758, allocations: 0 / 371.8 MB, free: 88.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004074/0.7762, allocations: 41.12 kB / 371.8 MB, free: 88.57 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.001193/0.7774, allocations: 1.114 MB / 372.9 MB, free: 87.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006356/0.7781, allocations: 443.1 kB / 373.4 MB, free: 87.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.7781, allocations: 0 / 373.4 MB, free: 87.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.7785, allocations: 379.2 kB / 373.7 MB, free: 87.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.7793, allocations: 110.3 kB / 373.8 MB, free: 87.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.7808, allocations: 0.6043 MB / 374.4 MB, free: 87.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.7813, allocations: 0.8141 MB / 375.2 MB, free: 86.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.406e-05/0.7813, allocations: 4.609 kB / 375.3 MB, free: 86.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/0.7814, allocations: 28.52 kB / 375.3 MB, free: 86.27 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.7814, allocations: 3.469 kB / 375.3 MB, free: 86.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/0.8139, allocations: 6.919 MB / 382.2 MB, free: 85.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/0.8142, allocations: 144 kB / 382.3 MB, free: 85.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/3.203, allocations: 3.938 kB / 382.3 MB, free: 85.32 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat