Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.CoupledInductors,fileNamePrefix="Modelica_3_2_2_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.767/1.767, allocations: 194.9 MB / 202.5 MB, free: 6.832 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2511/2.018, allocations: 46.83 MB / 249.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/2.122, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.291/2.413, allocations: 71.88 MB / 365.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003688/2.413, allocations: 66.61 kB / 365.8 MB, free: 7.152 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.02434/2.438, allocations: 5.702 MB / 371.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/2.438, allocations: 7.844 kB / 371.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/2.438, allocations: 46.84 kB / 371.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/2.438, allocations: 274.6 kB / 371.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/2.438, allocations: 12.41 kB / 371.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/2.438, allocations: 27.38 kB / 371.9 MB, free: 6.102 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007444/2.439, allocations: 241.4 kB / 372.1 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/2.44, allocations: 369.5 kB / 372.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/2.44, allocations: 0 / 372.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/2.44, allocations: 3.938 kB / 372.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/2.44, allocations: 11.62 kB / 372.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002852/2.443, allocations: 1.236 MB / 373.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/2.443, allocations: 137.7 kB / 373.8 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005027/2.444, allocations: 183.2 kB / 374 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/2.444, allocations: 3.812 kB / 374 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/2.444, allocations: 46.06 kB / 374.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 2.756e-06/2.444, allocations: 4 kB / 374.1 MB, free: 5.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009253/2.445, allocations: 254.4 kB / 374.3 MB, free: 5.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/2.445, allocations: 235.8 kB / 374.5 MB, free: 5.012 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/2.445, allocations: 156.1 kB / 374.7 MB, free: 4.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/2.445, allocations: 28.45 kB / 374.7 MB, free: 4.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/2.445, allocations: 193.7 kB / 374.9 MB, free: 20.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/2.446, allocations: 96.62 kB / 375 MB, free: 20.67 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.75e-05/2.446, allocations: 0 / 375 MB, free: 20.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/2.446, allocations: 334.3 kB / 375.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/2.446, allocations: 62.97 kB / 375.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/2.446, allocations: 147 kB / 375.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/2.446, allocations: 85.69 kB / 375.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.446, allocations: 0 / 375.6 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005644/2.447, allocations: 232 kB / 375.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/2.447, allocations: 8.297 kB / 375.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/2.447, allocations: 0 / 375.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/2.447, allocations: 3.875 kB / 375.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/2.448, allocations: 80.92 kB / 375.9 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/2.448, allocations: 12.41 kB / 376 MB, free: 20.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/2.448, allocations: 21.5 kB / 376 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/2.448, allocations: 11.72 kB / 376 MB, free: 20.18 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.0001319/2.448, allocations: 116.5 kB / 376.1 MB, free: 20.06 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.096e-05/2.448, allocations: 20.17 kB / 376.1 MB, free: 20.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/2.448, allocations: 25.05 kB / 376.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/2.448, allocations: 0 / 376.1 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/2.448, allocations: 7.781 kB / 376.2 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/2.449, allocations: 5.547 kB / 376.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/2.45, allocations: 0.6801 MB / 376.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/2.45, allocations: 3.906 kB / 376.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/2.451, allocations: 56.25 kB / 376.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/2.451, allocations: 87.09 kB / 377 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/2.451, allocations: 5.172 kB / 377 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/2.454, allocations: 1.712 MB / 378.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.454, allocations: 0.8438 kB / 378.7 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001049/2.455, allocations: 477.6 kB / 379.2 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001328/2.456, allocations: 0.9153 MB / 380.1 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/2.456, allocations: 105.5 kB / 380.2 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/2.457, allocations: 7.875 kB / 380.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/2.457, allocations: 5.891 kB / 380.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/2.457, allocations: 14.08 kB / 380.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/2.457, allocations: 7.828 kB / 380.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001333/2.457, allocations: 124.6 kB / 380.3 MB, free: 17.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001442/2.459, allocations: 97.95 kB / 380.4 MB, free: 17.5 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.0001849/2.459, allocations: 104 kB / 380.5 MB, free: 17.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004787/2.459, allocations: 186.4 kB / 380.7 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/2.459, allocations: 0 / 380.7 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/2.46, allocations: 222.2 kB / 380.9 MB, free: 17.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/2.46, allocations: 17.7 kB / 381 MB, free: 17.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/2.462, allocations: 0.6561 MB / 381.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/2.462, allocations: 0.8225 MB / 382.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/2.463, allocations: 0 / 382.4 MB, free: 16.19 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CoupledInductors_res.mat does not exist to compare? outputFormat=mat