Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",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.786/1.786, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2401/2.026, allocations: 46.82 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09313/2.119, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3204/2.44, allocations: 85.28 MB / 379.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/2.44, allocations: 74.33 kB / 379.3 MB, free: 6.164 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.1546/2.595, allocations: 42.26 MB / 421.5 MB, free: 424 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/2.595, allocations: 8 kB / 421.5 MB, free: 416 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/2.595, allocations: 112.2 kB / 421.6 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001997/2.597, allocations: 0.7314 MB / 422.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/2.597, allocations: 8 kB / 422.4 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/2.597, allocations: 16 kB / 422.4 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007728/2.598, allocations: 217.2 kB / 422.6 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/2.599, allocations: 244.8 kB / 422.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/2.599, allocations: 4 kB / 422.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.766e-05/2.599, allocations: 0 / 422.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/2.599, allocations: 4 kB / 422.9 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/2.603, allocations: 1.351 MB / 424.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/2.603, allocations: 221.9 kB / 424.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/2.604, allocations: 200.8 kB / 424.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008436/2.612, allocations: 4.21 MB / 428.8 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004162/2.613, allocations: 160.2 kB / 429 MB, free: 8.176 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.206e-06/2.613, allocations: 0 / 429 MB, free: 8.176 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001426/2.614, allocations: 406.5 kB / 429.4 MB, free: 7.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/2.614, allocations: 51.59 kB / 429.4 MB, free: 7.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/2.616, allocations: 0.6493 MB / 430.1 MB, free: 7.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/2.616, allocations: 29.69 kB / 430.1 MB, free: 7.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/2.616, allocations: 260.2 kB / 430.4 MB, free: 6.746 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/2.616, allocations: 90.66 kB / 430.5 MB, free: 6.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/2.616, allocations: 0 / 430.5 MB, free: 6.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/2.617, allocations: 325.9 kB / 430.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/2.617, allocations: 84.77 kB / 430.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/2.617, allocations: 192.4 kB / 431 MB, free: 6.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/2.618, allocations: 163.7 kB / 431.2 MB, free: 5.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/2.618, allocations: 0 / 431.2 MB, free: 5.859 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00154/2.619, allocations: 493.3 kB / 431.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/2.619, allocations: 4 kB / 431.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001048/2.62, allocations: 35.98 kB / 431.7 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003373/2.62, allocations: 49.7 kB / 431.8 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/2.621, allocations: 84.28 kB / 431.9 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/2.623, allocations: 2.541 MB / 434.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008011/2.624, allocations: 43.78 kB / 434.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-05/2.624, allocations: 23.98 kB / 434.5 MB, free: 2.352 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/2.625, allocations: 124.5 kB / 434.6 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/2.625, allocations: 102.8 kB / 434.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/2.627, allocations: 0.5016 MB / 435.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/2.627, allocations: 8 kB / 435.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/2.627, allocations: 0 / 435.2 MB, free: 1.598 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/2.627, allocations: 4 kB / 435.2 MB, free: 1.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/2.628, allocations: 0.5182 MB / 435.7 MB, free: 1.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.119e-05/2.628, allocations: 28 kB / 435.7 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/2.629, allocations: 55.89 kB / 435.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/2.629, allocations: 49.67 kB / 435.8 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/2.629, allocations: 7.938 kB / 435.9 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00287/2.632, allocations: 2.532 MB / 438.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/2.632, allocations: 7.844 kB / 438.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001833/2.634, allocations: 0.5612 MB / 439 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002213/2.636, allocations: 1.053 MB / 440 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/2.637, allocations: 191.7 kB / 440.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/2.637, allocations: 4 kB / 440.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/2.638, allocations: 24.09 kB / 440.2 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/2.638, allocations: 23.91 kB / 440.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/2.638, allocations: 12 kB / 440.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001169/2.639, allocations: 0.4957 MB / 440.8 MB, free: 11.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002238/2.641, allocations: 271.5 kB / 441 MB, free: 11.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/2.642, allocations: 0.4995 MB / 441.5 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/2.644, allocations: 0.4934 MB / 442 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/2.644, allocations: 0 / 442 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000807/2.645, allocations: 385.2 kB / 442.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/2.645, allocations: 84.47 kB / 442.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/2.649, allocations: 1.048 MB / 443.5 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009591/2.65, allocations: 1.032 MB / 444.5 MB, free: 7.836 MB / 346.7 MB Notification: Performance of SimCode: time 1.252e-06/2.65, allocations: 0 / 444.5 MB, free: 7.836 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter_res.mat does not exist to compare? outputFormat=mat