Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Spice3_Examples_CoupledInductors",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.747/1.747, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2204/1.968, allocations: 46.81 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/2.058, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2822/2.341, allocations: 71.89 MB / 365.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/2.341, allocations: 68.55 kB / 365.9 MB, free: 7.102 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.0243/2.365, allocations: 5.696 MB / 371.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/2.365, allocations: 11.56 kB / 371.6 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/2.365, allocations: 42.5 kB / 371.6 MB, free: 6.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/2.366, allocations: 280.5 kB / 371.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/2.366, allocations: 15.38 kB / 371.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.043e-05/2.366, allocations: 30.88 kB / 371.9 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000798/2.367, allocations: 235 kB / 372.2 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/2.368, allocations: 366.4 kB / 372.5 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/2.368, allocations: 3.906 kB / 372.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.493e-05/2.368, allocations: 4 kB / 372.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/2.368, allocations: 11.66 kB / 372.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/2.371, allocations: 1.234 MB / 373.8 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/2.371, allocations: 133.3 kB / 373.9 MB, free: 5.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/2.372, allocations: 190.4 kB / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/2.372, allocations: 0.75 kB / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/2.372, allocations: 37.44 kB / 374.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.986e-06/2.372, allocations: 0 / 374.1 MB, free: 5.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009378/2.373, allocations: 262.9 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/2.373, allocations: 236.6 kB / 374.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/2.373, allocations: 159.6 kB / 374.8 MB, free: 4.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/2.373, allocations: 26.5 kB / 374.8 MB, free: 4.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/2.373, allocations: 196.1 kB / 375 MB, free: 20.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.28e-05/2.373, allocations: 95.83 kB / 375.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/2.373, allocations: 0 / 375.1 MB, free: 20.62 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/2.373, allocations: 331.2 kB / 375.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/2.374, allocations: 64.5 kB / 375.5 MB, free: 20.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/2.374, allocations: 142 kB / 375.6 MB, free: 20.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/2.374, allocations: 80.61 kB / 375.7 MB, free: 20.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/2.374, allocations: 0 / 375.7 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000634/2.375, allocations: 227.9 kB / 375.9 MB, free: 20.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/2.375, allocations: 16.56 kB / 375.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/2.375, allocations: 0 / 375.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/2.375, allocations: 3.906 kB / 375.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007495/2.376, allocations: 82.73 kB / 376 MB, free: 20.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/2.376, allocations: 7.859 kB / 376 MB, free: 20.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/2.376, allocations: 21.08 kB / 376 MB, free: 20.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/2.376, allocations: 16.22 kB / 376 MB, free: 20.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.376, allocations: 121.2 kB / 376.2 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/2.376, allocations: 23.3 kB / 376.2 MB, free: 20 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-05/2.377, allocations: 27.05 kB / 376.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/2.377, allocations: 0 / 376.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/2.377, allocations: 4.516 kB / 376.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/2.377, allocations: 5.078 kB / 376.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/2.378, allocations: 0.6764 MB / 376.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/2.378, allocations: 4.438 kB / 376.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/2.379, allocations: 63.72 kB / 377 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/2.379, allocations: 82.14 kB / 377 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/2.379, allocations: 0.6562 kB / 377 MB, free: 19.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/2.382, allocations: 1.706 MB / 378.8 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/2.382, allocations: 3.938 kB / 378.8 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001126/2.383, allocations: 473.5 kB / 379.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001441/2.385, allocations: 0.9204 MB / 380.1 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.651e-05/2.385, allocations: 106.5 kB / 380.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/2.385, allocations: 0 / 380.2 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/2.385, allocations: 10.12 kB / 380.3 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/2.386, allocations: 14 kB / 380.3 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/2.386, allocations: 16.44 kB / 380.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001402/2.386, allocations: 118.5 kB / 380.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001658/2.387, allocations: 101.2 kB / 380.5 MB, free: 17.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (L1.iinternal,L2.iinternal,C1.vinternal,L3.iinternal,C2.vinternal) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001813/2.388, allocations: 103.9 kB / 380.6 MB, free: 17.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005213/2.388, allocations: 188.5 kB / 380.8 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/2.388, allocations: 3.875 kB / 380.8 MB, free: 17.35 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005421/2.389, allocations: 226 kB / 381 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/2.389, allocations: 9.5 kB / 381 MB, free: 17.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/2.391, allocations: 0.6561 MB / 381.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005638/2.391, allocations: 0.8298 MB / 382.5 MB, free: 16.14 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/2.391, allocations: 0 / 382.5 MB, free: 16.14 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat