Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",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.751/1.751, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.233/1.984, allocations: 46.84 MB / 249.3 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/2.09, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2978/2.388, allocations: 80.32 MB / 374.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/2.388, allocations: 77.62 kB / 374.2 MB, free: 7.02 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.1019/2.49, allocations: 29.13 MB / 403.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/2.49, allocations: 9.156 kB / 403.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008638/2.498, allocations: 0.7623 MB / 404.2 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/2.5, allocations: 445.9 kB / 404.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/2.5, allocations: 38.81 kB / 404.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/2.5, allocations: 65.05 kB / 404.7 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003601/2.504, allocations: 1.014 MB / 405.7 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002906/2.507, allocations: 0.8824 MB / 406.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.923e-05/2.507, allocations: 5.125 kB / 406.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/2.507, allocations: 5.094 kB / 406.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/2.507, allocations: 25.69 kB / 406.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/2.518, allocations: 4.371 MB / 411 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/2.52, allocations: 0.6364 MB / 411.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006395/2.521, allocations: 257.7 kB / 411.9 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/2.521, allocations: 100.7 kB / 412 MB, free: 7.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/2.521, allocations: 53.69 kB / 412 MB, free: 7.844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.737e-06/2.521, allocations: 0 / 412 MB, free: 7.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.00228/2.524, allocations: 0.5456 MB / 412.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/2.524, allocations: 116.3 kB / 412.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/2.524, allocations: 260.2 kB / 412.9 MB, free: 7.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/2.524, allocations: 25.7 kB / 413 MB, free: 7.055 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/2.525, allocations: 434.2 kB / 413.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/2.525, allocations: 238.9 kB / 413.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/2.525, allocations: 0 / 413.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/2.525, allocations: 353.2 kB / 414 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/2.526, allocations: 219.6 kB / 414.2 MB, free: 5.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009548/2.527, allocations: 0.53 MB / 414.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/2.528, allocations: 342.9 kB / 415 MB, free: 4.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/2.528, allocations: 11.88 kB / 415.1 MB, free: 4.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002804/2.531, allocations: 0.8234 MB / 415.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/2.531, allocations: 8 kB / 415.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/2.531, allocations: 8 kB / 415.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.423e-05/2.531, allocations: 20.78 kB / 415.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/2.533, allocations: 235.6 kB / 416.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.971e-05/2.533, allocations: 23.92 kB / 416.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/2.534, allocations: 82.97 kB / 416.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/2.534, allocations: 47.98 kB / 416.3 MB, free: 3.668 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.000224/2.535, allocations: 144.4 kB / 416.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/2.535, allocations: 43.44 kB / 416.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/2.537, allocations: 0.6682 MB / 417.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/2.537, allocations: 8 kB / 417.2 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/2.537, allocations: 3.938 kB / 417.2 MB, free: 2.797 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/2.537, allocations: 11.98 kB / 417.2 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/2.542, allocations: 1.529 MB / 418.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/2.542, allocations: 0 / 418.7 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/2.543, allocations: 155.8 kB / 418.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.162e-05/2.543, allocations: 7.906 kB / 418.9 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/2.543, allocations: 8 kB / 418.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/2.543, allocations: 4 kB / 418.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.543, allocations: 0 / 418.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002886/2.546, allocations: 1.146 MB / 420 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003849/2.55, allocations: 1.814 MB / 421.8 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/2.551, allocations: 128.4 kB / 422 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/2.551, allocations: 0 / 422 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/2.552, allocations: 23.92 kB / 422 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/2.552, allocations: 48.44 kB / 422 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/2.552, allocations: 24.06 kB / 422.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003358/2.552, allocations: 175.1 kB / 422.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00366/2.556, allocations: 235 kB / 422.5 MB, free: 13.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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 Backend phase and start with SimCode phase: time 0.0004175/2.556, allocations: 142.9 kB / 422.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001818/2.558, allocations: 0.6341 MB / 423.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/2.558, allocations: 0 / 423.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007429/2.559, allocations: 302.5 kB / 423.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/2.559, allocations: 21.11 kB / 423.5 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006335/2.566, allocations: 1.508 MB / 425.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/2.567, allocations: 1.01 MB / 426.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/2.567, allocations: 0 / 426.1 MB, free: 9.691 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat