Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.972/1.972, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.53e-05, allocations: 8 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.09443, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.5102, allocations: 77.58 MB / 377.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.5105, allocations: 68.59 kB / 377.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08846/0.5989, allocations: 28.01 MB / 405.6 MB, free: 9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.599, allocations: 7.875 kB / 405.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.599, allocations: 4.125 kB / 405.7 MB, free: 8.996 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.0006252/0.5997, allocations: 0.6216 MB / 406.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5997, allocations: 11.62 kB / 406.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.5998, allocations: 38.09 kB / 406.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.747e-05/0.5999, allocations: 39 kB / 406.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.6003, allocations: 265 kB / 406.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.6003, allocations: 7.25 kB / 406.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.6004, allocations: 7.75 kB / 406.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003643/0.6008, allocations: 147.9 kB / 406.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.6008, allocations: 0 / 406.8 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.6008, allocations: 7.859 kB / 406.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.6009, allocations: 4 kB / 406.8 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.6011, allocations: 62.42 kB / 406.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009173/0.602, allocations: 482 kB / 407.3 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.6022, allocations: 105.1 kB / 407.4 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.6025, allocations: 84.31 kB / 407.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.6025, allocations: 3.875 kB / 407.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003514/0.6028, allocations: 225.7 kB / 407.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.917e-06/0.6029, allocations: 3.984 kB / 407.7 MB, free: 7.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008997/0.6038, allocations: 435.4 kB / 408.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.6039, allocations: 169.8 kB / 408.3 MB, free: 7.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/0.6047, allocations: 471.5 kB / 408.8 MB, free: 6.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.6048, allocations: 29.36 kB / 408.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.6048, allocations: 99.69 kB / 408.9 MB, free: 6.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.6049, allocations: 31 kB / 408.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.6049, allocations: 3.938 kB / 408.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.605, allocations: 325.4 kB / 409.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.6052, allocations: 72.69 kB / 409.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6054, allocations: 61.39 kB / 409.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.6056, allocations: 170.1 kB / 409.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6056, allocations: 0 / 409.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007823/0.6064, allocations: 408.7 kB / 410 MB, free: 6.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.6065, allocations: 132.5 kB / 410.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.6065, allocations: 0 / 410.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.6066, allocations: 0 / 410.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.335e-05/0.6066, allocations: 0 / 410.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6066, allocations: 0 / 410.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.6069, allocations: 23.58 kB / 410.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.607, allocations: 116.3 kB / 410.2 MB, free: 5.844 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.0001949/0.6073, allocations: 246.2 kB / 410.5 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.6073, allocations: 38.97 kB / 410.5 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.6075, allocations: 65.8 kB / 410.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6076, allocations: 0 / 410.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6076, allocations: 7.75 kB / 410.6 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.6076, allocations: 0 / 410.6 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.6089, allocations: 0.8344 MB / 411.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6089, allocations: 0 / 411.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.6089, allocations: 0 / 411.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.609, allocations: 0 / 411.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.609, allocations: 22.83 kB / 411.4 MB, free: 4.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.609, allocations: 7.875 kB / 411.4 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.609, allocations: 3.984 kB / 411.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.61, allocations: 0.553 MB / 412 MB, free: 4.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005443/0.6105, allocations: 256.2 kB / 412.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.707e-05/0.6107, allocations: 11.22 kB / 412.3 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.6109, allocations: 22.83 kB / 412.3 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.6111, allocations: 29.78 kB / 412.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/0.6113, allocations: 119.6 kB / 412.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006787/0.612, allocations: 388.1 kB / 412.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.612, allocations: 0 / 412.8 MB, free: 4.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.6125, allocations: 45.94 kB / 412.8 MB, free: 4.27 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.001213/0.6138, allocations: 1.124 MB / 414 MB, free: 3.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007558/0.6145, allocations: 439 kB / 414.4 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.6146, allocations: 0 / 414.4 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004445/0.615, allocations: 381.2 kB / 414.8 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008055/0.6158, allocations: 99.55 kB / 414.9 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.6175, allocations: 0.6261 MB / 415.5 MB, free: 18.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.6181, allocations: 0.8021 MB / 416.3 MB, free: 17.76 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.6182, allocations: 12.48 kB / 416.3 MB, free: 17.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.53e-05/0.6182, allocations: 29.67 kB / 416.3 MB, free: 17.73 MB / 330.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6183, allocations: 0 / 416.3 MB, free: 17.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.6537, allocations: 7.024 MB / 423.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/0.654, allocations: 143.1 kB / 423.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.288, allocations: 4 kB / 423.5 MB, free: 13.95 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat