Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.28e-05, allocations: 4 kB / 255.5 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09489, allocations: 44.51 MB / 300 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5071, allocations: 77.57 MB / 377.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5074, allocations: 68.42 kB / 377.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09842/0.6059, allocations: 28.02 MB / 405.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.6059, allocations: 0 / 405.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.6059, allocations: 7.812 kB / 405.6 MB, free: 9.09 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.0008229/0.6068, allocations: 0.6242 MB / 406.2 MB, free: 8.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.6069, allocations: 10.78 kB / 406.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.429e-05/0.607, allocations: 38.48 kB / 406.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.6071, allocations: 42.94 kB / 406.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.6076, allocations: 262.9 kB / 406.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.6076, allocations: 3.875 kB / 406.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.6077, allocations: 7.75 kB / 406.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.6082, allocations: 146.3 kB / 406.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6083, allocations: 0 / 406.7 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.6084, allocations: 3.875 kB / 406.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6084, allocations: 7.875 kB / 406.8 MB, free: 8.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.6087, allocations: 65.97 kB / 406.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.6099, allocations: 478 kB / 407.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.6103, allocations: 103.6 kB / 407.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.6106, allocations: 89.58 kB / 407.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6106, allocations: 0 / 407.5 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.6111, allocations: 227.3 kB / 407.7 MB, free: 7.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/0.6111, allocations: 0 / 407.7 MB, free: 7.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001224/0.6124, allocations: 435.2 kB / 408.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.6125, allocations: 169.3 kB / 408.3 MB, free: 7.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.6137, allocations: 464.2 kB / 408.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.285e-05/0.6138, allocations: 33.58 kB / 408.8 MB, free: 6.879 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.6139, allocations: 162.7 kB / 408.9 MB, free: 6.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.614, allocations: 34.31 kB / 409 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.614, allocations: 7.812 kB / 409 MB, free: 6.707 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.741e-05/0.6141, allocations: 322.2 kB / 409.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/0.6144, allocations: 61.58 kB / 409.4 MB, free: 6.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.6147, allocations: 64.31 kB / 409.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.615, allocations: 174.7 kB / 409.6 MB, free: 6.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.615, allocations: 0 / 409.6 MB, free: 6.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001095/0.6161, allocations: 404.2 kB / 410 MB, free: 6.043 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.6163, allocations: 130.2 kB / 410.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6163, allocations: 0 / 410.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.6163, allocations: 0 / 410.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.7e-05/0.6164, allocations: 0 / 410.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.6164, allocations: 3.875 kB / 410.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.6168, allocations: 11.69 kB / 410.1 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002093/0.617, allocations: 120.8 kB / 410.2 MB, free: 5.891 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.0002932/0.6173, allocations: 252.2 kB / 410.5 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.6174, allocations: 39.03 kB / 410.5 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.6177, allocations: 65.44 kB / 410.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6177, allocations: 0 / 410.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6178, allocations: 3.938 kB / 410.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.6178, allocations: 0 / 410.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.6197, allocations: 0.8385 MB / 411.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.6197, allocations: 0 / 411.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.6198, allocations: 0 / 411.4 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.6198, allocations: 7.875 kB / 411.4 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.28e-05/0.6199, allocations: 23.39 kB / 411.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.6199, allocations: 0 / 411.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6199, allocations: 0 / 411.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.6212, allocations: 0.5517 MB / 412 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.622, allocations: 253.6 kB / 412.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.6221, allocations: 15.23 kB / 412.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.6226, allocations: 15.81 kB / 412.3 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.6228, allocations: 37.95 kB / 412.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/0.623, allocations: 124.5 kB / 412.5 MB, free: 4.488 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009862/0.624, allocations: 384.2 kB / 412.8 MB, free: 4.309 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6241, allocations: 0 / 412.8 MB, free: 4.309 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007151/0.6248, allocations: 42.78 kB / 412.9 MB, free: 4.309 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.001688/0.6265, allocations: 1.123 MB / 414 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008757/0.6274, allocations: 443.7 kB / 414.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6274, allocations: 0 / 414.4 MB, free: 3.184 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007195/0.6282, allocations: 384.4 kB / 414.8 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.6293, allocations: 110.9 kB / 414.9 MB, free: 18.88 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.6318, allocations: 0.6508 MB / 415.6 MB, free: 18.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007627/0.6327, allocations: 0.8089 MB / 416.4 MB, free: 17.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.6327, allocations: 25.34 kB / 416.4 MB, free: 17.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6328, allocations: 0 / 416.4 MB, free: 17.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.632/3.265, allocations: 4.407 MB / 420.8 MB, free: 15.54 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat