Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_CoupledInductors",fmuType="me",version="2.0",platforms={"static"}) [: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.761/1.761, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1983/1.959, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/2.061, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3146/2.375, allocations: 66.99 MB / 325 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/2.376, allocations: 64.75 kB / 325.1 MB, free: 5.066 MB / 266.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.02947/2.405, allocations: 5.774 MB / 330.8 MB, free: 180 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/2.405, allocations: 12 kB / 330.8 MB, free: 168 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/2.405, allocations: 43.53 kB / 330.9 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000748/2.406, allocations: 277.1 kB / 331.2 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/2.406, allocations: 18.52 kB / 331.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/2.406, allocations: 27.88 kB / 331.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008605/2.407, allocations: 238.4 kB / 331.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000921/2.408, allocations: 366.9 kB / 331.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/2.408, allocations: 0 / 331.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.471e-05/2.408, allocations: 0 / 331.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/2.408, allocations: 15.91 kB / 331.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/2.411, allocations: 1.241 MB / 333.1 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005744/2.412, allocations: 142.9 kB / 333.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/2.413, allocations: 181.2 kB / 333.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/2.413, allocations: 8.438 kB / 333.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/2.413, allocations: 37.75 kB / 333.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/2.413, allocations: 0 / 333.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.000968/2.414, allocations: 256.7 kB / 333.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/2.414, allocations: 246.6 kB / 333.9 MB, free: 13.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/2.414, allocations: 153.5 kB / 334.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/2.414, allocations: 25.7 kB / 334.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/2.414, allocations: 191.1 kB / 334.3 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/2.415, allocations: 103.8 kB / 334.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/2.415, allocations: 0 / 334.4 MB, free: 13.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/2.415, allocations: 333.3 kB / 334.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/2.415, allocations: 65.12 kB / 334.8 MB, free: 12.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/2.415, allocations: 135.6 kB / 334.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/2.416, allocations: 85.86 kB / 335 MB, free: 12.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/2.416, allocations: 0 / 335 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006898/2.416, allocations: 236.2 kB / 335.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.416, allocations: 4 kB / 335.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/2.416, allocations: 0 / 335.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/2.416, allocations: 4 kB / 335.2 MB, free: 12.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007437/2.417, allocations: 79.89 kB / 335.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/2.417, allocations: 0 / 335.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003427/2.418, allocations: 31.11 kB / 335.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/2.418, allocations: 8 kB / 335.3 MB, free: 12.17 MB / 282.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.0001553/2.418, allocations: 108.9 kB / 335.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/2.418, allocations: 23.72 kB / 335.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/2.418, allocations: 27.78 kB / 335.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/2.418, allocations: 4 kB / 335.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/2.418, allocations: 0 / 335.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/2.418, allocations: 3.984 kB / 335.5 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/2.42, allocations: 0.6809 MB / 336.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/2.42, allocations: 0 / 336.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/2.42, allocations: 51.91 kB / 336.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005544/2.421, allocations: 89.69 kB / 336.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/2.421, allocations: 0 / 336.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/2.424, allocations: 1.7 MB / 338 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/2.424, allocations: 4 kB / 338 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00162/2.426, allocations: 479 kB / 338.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002191/2.428, allocations: 0.923 MB / 339.4 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/2.428, allocations: 119.4 kB / 339.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.671e-05/2.428, allocations: 7.984 kB / 339.5 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/2.429, allocations: 11.94 kB / 339.5 MB, free: 8.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.133e-05/2.429, allocations: 19.91 kB / 339.6 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/2.429, allocations: 7.688 kB / 339.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001941/2.429, allocations: 124 kB / 339.7 MB, free: 8.211 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002352/2.432, allocations: 99.53 kB / 339.8 MB, free: 8.113 MB / 282.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.0003085/2.432, allocations: 110.7 kB / 339.9 MB, free: 8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007828/2.433, allocations: 184 kB / 340.1 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/2.433, allocations: 0 / 340.1 MB, free: 7.871 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008157/2.434, allocations: 214.9 kB / 340.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/2.434, allocations: 15 kB / 340.3 MB, free: 7.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/2.437, allocations: 0.6589 MB / 341 MB, free: 7.035 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007774/2.438, allocations: 0.8289 MB / 341.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.493e-06/2.438, allocations: 3.938 kB / 341.8 MB, free: 6.176 MB / 282.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat