Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_CharacteristicIdealDiodes",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.706/1.706, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2063/1.912, allocations: 46.82 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/2, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2737/2.273, allocations: 72.33 MB / 366.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/2.274, allocations: 70.09 kB / 366.3 MB, free: 7.223 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.02585/2.3, allocations: 6.554 MB / 372.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/2.3, allocations: 8.266 kB / 372.9 MB, free: 6.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/2.3, allocations: 46.75 kB / 372.9 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004742/2.3, allocations: 303 kB / 373.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/2.3, allocations: 11.62 kB / 373.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/2.3, allocations: 19.38 kB / 373.2 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006706/2.301, allocations: 210.5 kB / 373.4 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/2.302, allocations: 288.5 kB / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/2.302, allocations: 3.844 kB / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/2.302, allocations: 0 / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/2.302, allocations: 7.906 kB / 373.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/2.305, allocations: 1.36 MB / 375.1 MB, free: 5.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/2.305, allocations: 189.3 kB / 375.3 MB, free: 5.094 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/2.305, allocations: 89.11 kB / 375.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/2.306, allocations: 3.875 kB / 375.4 MB, free: 5.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/2.306, allocations: 42.83 kB / 375.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/2.306, allocations: 3.875 kB / 375.4 MB, free: 5.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0006991/2.306, allocations: 233.9 kB / 375.6 MB, free: 4.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/2.306, allocations: 63.17 kB / 375.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003354/2.307, allocations: 241.1 kB / 375.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/2.307, allocations: 25.7 kB / 376 MB, free: 4.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/2.307, allocations: 177 kB / 376.1 MB, free: 20.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.535e-05/2.307, allocations: 78.94 kB / 376.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/2.307, allocations: 0 / 376.2 MB, free: 20.58 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/2.307, allocations: 334.5 kB / 376.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/2.307, allocations: 62.12 kB / 376.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002142/2.308, allocations: 104.6 kB / 376.7 MB, free: 20.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/2.308, allocations: 64.91 kB / 376.8 MB, free: 20.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/2.308, allocations: 3.906 kB / 376.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009624/2.309, allocations: 305.5 kB / 377.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/2.309, allocations: 7.812 kB / 377.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.309, allocations: 0 / 377.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/2.309, allocations: 109.4 kB / 377.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/2.31, allocations: 37.31 kB / 377.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/2.314, allocations: 3.978 MB / 381.2 MB, free: 16.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/2.315, allocations: 29.69 kB / 381.2 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/2.315, allocations: 8.531 kB / 381.2 MB, free: 16.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000145/2.315, allocations: 121.1 kB / 381.4 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.312e-05/2.315, allocations: 30.91 kB / 381.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/2.315, allocations: 29.67 kB / 381.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/2.315, allocations: 7.781 kB / 381.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/2.315, allocations: 1.031 kB / 381.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/2.315, allocations: 0.7969 kB / 381.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005458/2.316, allocations: 318 kB / 381.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/2.316, allocations: 3.906 kB / 381.7 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/2.316, allocations: 24.42 kB / 381.8 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005306/2.316, allocations: 116.4 kB / 381.9 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/2.317, allocations: 0.7969 kB / 381.9 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/2.321, allocations: 3.978 MB / 385.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/2.321, allocations: 0 / 385.9 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007083/2.322, allocations: 344.8 kB / 386.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007842/2.322, allocations: 0.7236 MB / 386.9 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/2.323, allocations: 128.9 kB / 387 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.1e-05/2.323, allocations: 4.562 kB / 387 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/2.323, allocations: 27.86 kB / 387.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/2.323, allocations: 14.75 kB / 387.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/2.323, allocations: 9.219 kB / 387.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002733/2.324, allocations: 184.9 kB / 387.3 MB, free: 11.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001611/2.325, allocations: 104.9 kB / 387.4 MB, free: 11.52 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: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001551/2.325, allocations: 105.9 kB / 387.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009366/2.326, allocations: 485.1 kB / 388 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/2.326, allocations: 0 / 388 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005811/2.327, allocations: 404.5 kB / 388.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/2.327, allocations: 30.62 kB / 388.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/2.329, allocations: 398.7 kB / 388.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/2.329, allocations: 0.8227 MB / 389.6 MB, free: 9.934 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/2.33, allocations: 0 / 389.6 MB, free: 9.934 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes_res.mat does not exist to compare? outputFormat=mat