Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_Inverter",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.779/1.779, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2532/2.032, allocations: 46.82 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09398/2.126, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/2.457, allocations: 96.73 MB / 390.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/2.457, allocations: 71.41 kB / 390.7 MB, free: 3.059 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.3322/2.789, allocations: 87.02 MB / 477.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/2.789, allocations: 8 kB / 477.7 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004715/2.79, allocations: 193.7 kB / 477.9 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/2.793, allocations: 1.22 MB / 479.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/2.793, allocations: 15.84 kB / 479.2 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/2.794, allocations: 23.98 kB / 479.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001224/2.795, allocations: 357.3 kB / 479.5 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/2.796, allocations: 402.2 kB / 479.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/2.796, allocations: 4 kB / 479.9 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/2.796, allocations: 4 kB / 479.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/2.796, allocations: 8 kB / 479.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/2.802, allocations: 1.617 MB / 481.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/2.802, allocations: 255.2 kB / 481.8 MB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/2.803, allocations: 341.9 kB / 482.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03209/2.835, allocations: 18.11 MB / 0.4885 GB, free: 244 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005178/2.836, allocations: 195.2 kB / 0.4887 GB, free: 36 kB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 4.718e-06/2.836, allocations: 0 / 0.4887 GB, free: 36 kB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.1427/2.979, allocations: 463.5 kB / 0.4892 GB, free: 129.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.654e-05/2.979, allocations: 170.9 kB / 0.4893 GB, free: 129.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/2.981, allocations: 1.111 MB / 0.4904 GB, free: 128.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.76e-05/2.981, allocations: 32.42 kB / 0.4904 GB, free: 128.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/2.981, allocations: 362.9 kB / 0.4908 GB, free: 128.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/2.981, allocations: 88.66 kB / 0.4909 GB, free: 128.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/2.982, allocations: 0 / 0.4909 GB, free: 128.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.312e-05/2.982, allocations: 322.8 kB / 0.4912 GB, free: 128.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/2.982, allocations: 103.3 kB / 0.4913 GB, free: 128.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/2.982, allocations: 318 kB / 0.4916 GB, free: 128.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/2.983, allocations: 151 kB / 0.4917 GB, free: 128.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-06/2.983, allocations: 2.031 kB / 0.4917 GB, free: 128.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001512/2.984, allocations: 0.603 MB / 0.4923 GB, free: 128 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/2.984, allocations: 3.938 kB / 0.4923 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/2.985, allocations: 43.64 kB / 0.4924 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004888/2.985, allocations: 132.3 kB / 0.4925 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/2.986, allocations: 125.2 kB / 0.4926 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/2.987, allocations: 0.6961 MB / 0.4933 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/2.988, allocations: 86.03 kB / 0.4934 GB, free: 127.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/2.988, allocations: 41.02 kB / 0.4934 GB, free: 127.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001861/2.989, allocations: 128.8 kB / 0.4935 GB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/2.989, allocations: 188.7 kB / 0.4937 GB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003984/2.993, allocations: 0.7818 MB / 0.4945 GB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/2.993, allocations: 3.344 kB / 0.4945 GB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/2.993, allocations: 3.469 kB / 0.4945 GB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/2.993, allocations: 0 / 0.4945 GB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/2.996, allocations: 1.161 MB / 0.4956 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.643e-05/2.996, allocations: 33.94 kB / 0.4956 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005907/2.996, allocations: 72.72 kB / 0.4957 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004048/2.997, allocations: 122.2 kB / 0.4958 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/2.997, allocations: 18.78 kB / 0.4958 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008719/2.998, allocations: 0.6959 MB / 0.4965 GB, free: 126.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/2.998, allocations: 2.25 kB / 0.4965 GB, free: 126.3 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001204/2.999, allocations: 0.6113 MB / 0.4971 GB, free: 126 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001241/3, allocations: 1.034 MB / 0.4981 GB, free: 125.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006147/3.001, allocations: 288.9 kB / 0.4984 GB, free: 125.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/3.001, allocations: 6.062 kB / 0.4984 GB, free: 125.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/3.002, allocations: 41.89 kB / 0.4985 GB, free: 125.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/3.003, allocations: 39.48 kB / 0.4985 GB, free: 125.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/3.003, allocations: 25.06 kB / 0.4985 GB, free: 125.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001692/3.004, allocations: 0.8354 MB / 0.4993 GB, free: 125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002486/3.007, allocations: 357.3 kB / 0.4997 GB, free: 125 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/3.008, allocations: 0.7224 MB / 0.5004 GB, free: 124.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/3.01, allocations: 387.4 kB / 0.5007 GB, free: 124.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/3.01, allocations: 0 / 0.5007 GB, free: 124.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006593/3.01, allocations: 231.6 kB / 0.501 GB, free: 124.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/3.012, allocations: 223.5 kB / 0.5012 GB, free: 124.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/3.016, allocations: 1.527 MB / 0.5027 GB, free: 124.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009609/3.017, allocations: 1.263 MB / 0.5039 GB, free: 123.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.222e-06/3.017, allocations: 0.5625 kB / 0.5039 GB, free: 123.5 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.Inverter_res.mat does not exist to compare? outputFormat=mat