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.809/1.809, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.72e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3135, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.4498, allocations: 71.58 MB / 329.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4501, allocations: 71.95 kB / 330 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1149/0.565, allocations: 28.25 MB / 358.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5651, allocations: 0 / 358.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.5651, allocations: 11.94 kB / 358.3 MB, free: 9.91 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.0007135/0.5658, allocations: 0.6174 MB / 358.9 MB, free: 9.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5659, allocations: 8.031 kB / 358.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.566, allocations: 39.53 kB / 358.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.5665, allocations: 255.7 kB / 359.2 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.5665, allocations: 4 kB / 359.2 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.147e-05/0.5666, allocations: 12 kB / 359.2 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001982/0.5668, allocations: 55.97 kB / 359.2 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.5671, allocations: 145.5 kB / 359.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5671, allocations: 4 kB / 359.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.814e-05/0.5672, allocations: 0 / 359.4 MB, free: 8.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.5672, allocations: 8 kB / 359.4 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.5681, allocations: 441.2 kB / 359.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.5684, allocations: 94.55 kB / 359.9 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.5686, allocations: 80.86 kB / 360 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.5686, allocations: 8 kB / 360 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003766/0.569, allocations: 218.7 kB / 360.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.569, allocations: 0 / 360.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008655/0.5699, allocations: 317.1 kB / 360.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.57, allocations: 162.2 kB / 360.7 MB, free: 7.242 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008451/0.5709, allocations: 444.9 kB / 361.1 MB, free: 6.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.5709, allocations: 33.7 kB / 361.1 MB, free: 6.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.571, allocations: 105.5 kB / 361.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.898e-05/0.5711, allocations: 35.53 kB / 361.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.5712, allocations: 7.984 kB / 361.3 MB, free: 6.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5713, allocations: 322.8 kB / 361.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.5715, allocations: 55.97 kB / 361.7 MB, free: 6.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.5717, allocations: 59.98 kB / 361.7 MB, free: 6.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.5718, allocations: 50.64 kB / 361.8 MB, free: 6.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5719, allocations: 0 / 361.8 MB, free: 6.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007356/0.5726, allocations: 281.5 kB / 362 MB, free: 5.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5727, allocations: 134.7 kB / 362.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5727, allocations: 0 / 362.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5728, allocations: 0 / 362.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.192e-05/0.5728, allocations: 8 kB / 362.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.5728, allocations: 0 / 362.2 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.573, allocations: 19.89 kB / 362.2 MB, free: 5.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/0.5732, allocations: 123.8 kB / 362.3 MB, free: 5.547 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: 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.0002325/0.5735, allocations: 233.5 kB / 362.6 MB, free: 5.285 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008349/0.5743, allocations: 337.2 kB / 362.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.5744, allocations: 47.48 kB / 362.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.5746, allocations: 63.42 kB / 363 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.5746, allocations: 3.938 kB / 363 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5746, allocations: 0 / 363 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5746, allocations: 3.984 kB / 363 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.5759, allocations: 0.6861 MB / 363.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.576, allocations: 0 / 363.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-06/0.576, allocations: 0 / 363.7 MB, free: 4.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.576, allocations: 4 kB / 363.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.412e-05/0.576, allocations: 19.98 kB / 363.7 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5761, allocations: 0 / 363.7 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5761, allocations: 3.984 kB / 363.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008853/0.577, allocations: 427 kB / 364.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.5775, allocations: 260.3 kB / 364.4 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.5776, allocations: 12 kB / 364.4 MB, free: 3.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.5779, allocations: 15.92 kB / 364.4 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.578, allocations: 35.97 kB / 364.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002063/0.5782, allocations: 119.8 kB / 364.6 MB, free: 3.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000639/0.5789, allocations: 370.7 kB / 364.9 MB, free: 2.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5789, allocations: 0 / 364.9 MB, free: 2.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004355/0.5794, allocations: 44 kB / 365 MB, free: 2.777 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.001239/0.5806, allocations: 0.9853 MB / 366 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.5813, allocations: 433.5 kB / 366.4 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5813, allocations: 0 / 366.4 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.5817, allocations: 369.6 kB / 366.7 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.5825, allocations: 93.77 kB / 366.8 MB, free: 0.793 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.5842, allocations: 0.6062 MB / 367.4 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2616/0.8458, allocations: 0.8132 MB / 368.2 MB, free: 91.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.115e-05/0.846, allocations: 4.172 kB / 368.3 MB, free: 91.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.639e-05/0.8461, allocations: 26.38 kB / 368.3 MB, free: 91.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8461, allocations: 0 / 368.3 MB, free: 91.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04328/0.8894, allocations: 6.478 MB / 374.8 MB, free: 90.75 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.8896, allocations: 123.7 kB / 374.9 MB, free: 90.56 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.168, allocations: 7.938 kB / 374.9 MB, free: 90.55 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