Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_INV3S",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 194.9 MB / 202.6 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2066/1.911, allocations: 46.82 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/2, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/2.284, allocations: 76.84 MB / 370.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/2.284, allocations: 66.34 kB / 370.8 MB, free: 7.133 MB / 298.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.09129/2.376, allocations: 27.87 MB / 398.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/2.376, allocations: 9.375 kB / 398.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/2.376, allocations: 37.66 kB / 398.7 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/2.376, allocations: 271.3 kB / 399 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/2.376, allocations: 4.156 kB / 399 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/2.376, allocations: 7.062 kB / 399 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002283/2.377, allocations: 56.89 kB / 399.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/2.377, allocations: 146 kB / 399.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/2.377, allocations: 1 kB / 399.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/2.377, allocations: 7.625 kB / 399.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/2.377, allocations: 1.25 kB / 399.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/2.378, allocations: 465.3 kB / 399.7 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/2.379, allocations: 96.41 kB / 399.8 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/2.379, allocations: 89.64 kB / 399.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/2.379, allocations: 0.8125 kB / 399.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003523/2.379, allocations: 207.8 kB / 400.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.084e-06/2.379, allocations: 0 / 400.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.000648/2.38, allocations: 218.2 kB / 400.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/2.38, allocations: 164.3 kB / 400.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009347/2.381, allocations: 454.3 kB / 400.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/2.381, allocations: 33.08 kB / 400.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/2.381, allocations: 91.27 kB / 401 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/2.381, allocations: 32.36 kB / 401 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/2.381, allocations: 2.312 kB / 401 MB, free: 14.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/2.381, allocations: 327.8 kB / 401.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/2.382, allocations: 57.23 kB / 401.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/2.382, allocations: 61.56 kB / 401.5 MB, free: 13.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/2.382, allocations: 54.33 kB / 401.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/2.382, allocations: 112 / 401.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000568/2.383, allocations: 210.2 kB / 401.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/2.383, allocations: 5.156 kB / 401.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/2.383, allocations: 5.531 kB / 401.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/2.383, allocations: 0 / 401.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-05/2.383, allocations: 1.281 kB / 401.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/2.383, allocations: 3.906 kB / 401.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/2.383, allocations: 13.5 kB / 401.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/2.383, allocations: 113.7 kB / 401.9 MB, free: 13.75 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.0002948/2.383, allocations: 246.1 kB / 402.1 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/2.384, allocations: 43.08 kB / 402.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/2.384, allocations: 67.38 kB / 402.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/2.384, allocations: 3.938 kB / 402.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/2.384, allocations: 1.25 kB / 402.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/2.384, allocations: 0 / 402.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/2.385, allocations: 0.5943 MB / 402.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/2.385, allocations: 0 / 402.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/2.385, allocations: 1.031 kB / 402.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/2.385, allocations: 5.031 kB / 402.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/2.385, allocations: 19.3 kB / 402.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/2.385, allocations: 0 / 402.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/2.385, allocations: 1 kB / 402.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006986/2.386, allocations: 344.3 kB / 403.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000856/2.387, allocations: 0.7157 MB / 403.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000682/2.388, allocations: 267.2 kB / 404.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/2.388, allocations: 7.562 kB / 404.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/2.388, allocations: 10.56 kB / 404.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/2.388, allocations: 40.08 kB / 404.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/2.388, allocations: 122.9 kB / 404.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0008125/2.389, allocations: 371.8 kB / 404.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001484/2.391, allocations: 40.28 kB / 404.7 MB, free: 11.9 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.0002283/2.391, allocations: 114.9 kB / 404.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006497/2.392, allocations: 275.2 kB / 405.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/2.392, allocations: 0 / 405.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004166/2.392, allocations: 267.2 kB / 405.4 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/2.393, allocations: 98.98 kB / 405.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/2.395, allocations: 0.519 MB / 406 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00068/2.395, allocations: 0.815 MB / 406.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/2.395, allocations: 0 / 406.8 MB, free: 10.48 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Digital.Examples.INV3S_res.mat does not exist to compare? outputFormat=mat