Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",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.746/1.746, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2209/1.967, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/2.064, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3059/2.37, allocations: 80.32 MB / 374.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/2.37, allocations: 81 kB / 374.3 MB, free: 7.047 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.1106/2.481, allocations: 29.14 MB / 403.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/2.481, allocations: 9.781 kB / 403.5 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009558/2.49, allocations: 0.7612 MB / 404.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/2.492, allocations: 440.9 kB / 404.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/2.492, allocations: 35.59 kB / 404.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/2.492, allocations: 60.78 kB / 404.7 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003548/2.496, allocations: 1.013 MB / 405.8 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/2.499, allocations: 0.8871 MB / 406.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/2.499, allocations: 1.188 kB / 406.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/2.499, allocations: 4.438 kB / 406.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.756e-05/2.499, allocations: 25.81 kB / 406.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/2.51, allocations: 4.38 MB / 411.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/2.512, allocations: 0.6393 MB / 411.7 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006775/2.513, allocations: 247.7 kB / 411.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/2.513, allocations: 108.7 kB / 412 MB, free: 7.797 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/2.513, allocations: 50.47 kB / 412.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.607e-06/2.513, allocations: 0 / 412.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.002338/2.516, allocations: 0.547 MB / 412.6 MB, free: 7.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/2.516, allocations: 115.4 kB / 412.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005063/2.516, allocations: 260.4 kB / 413 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/2.516, allocations: 25.7 kB / 413 MB, free: 6.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/2.517, allocations: 430.4 kB / 413.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/2.517, allocations: 242.9 kB / 413.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/2.517, allocations: 4.062 kB / 413.7 MB, free: 6.352 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/2.517, allocations: 349.5 kB / 414 MB, free: 6.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007203/2.518, allocations: 220.6 kB / 414.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009805/2.519, allocations: 0.5292 MB / 414.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/2.521, allocations: 346.9 kB / 415.1 MB, free: 4.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/2.521, allocations: 4 kB / 415.1 MB, free: 4.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002976/2.524, allocations: 0.8241 MB / 415.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/2.524, allocations: 12.02 kB / 416 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/2.524, allocations: 15.94 kB / 416 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.811e-05/2.524, allocations: 16 kB / 416 MB, free: 3.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/2.526, allocations: 235.6 kB / 416.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.87e-05/2.526, allocations: 19.94 kB / 416.2 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/2.527, allocations: 90.95 kB / 416.3 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/2.527, allocations: 47.98 kB / 416.4 MB, free: 3.555 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.0002324/2.527, allocations: 136.4 kB / 416.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/2.527, allocations: 47.44 kB / 416.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/2.53, allocations: 0.6721 MB / 417.2 MB, free: 2.695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/2.53, allocations: 8 kB / 417.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/2.53, allocations: 0 / 417.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/2.53, allocations: 3.984 kB / 417.2 MB, free: 2.684 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004429/2.535, allocations: 1.531 MB / 418.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/2.535, allocations: 0 / 418.8 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/2.536, allocations: 151.8 kB / 418.9 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-05/2.536, allocations: 7.906 kB / 418.9 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/2.536, allocations: 7.984 kB / 418.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.377e-06/2.536, allocations: 4 kB / 418.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.536, allocations: 0 / 418.9 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003113/2.54, allocations: 1.145 MB / 420.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004149/2.544, allocations: 1.814 MB / 421.9 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000229/2.544, allocations: 128.4 kB / 422 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/2.544, allocations: 3.984 kB / 422 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/2.545, allocations: 16.06 kB / 422 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/2.545, allocations: 48.48 kB / 422.1 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/2.545, allocations: 23.94 kB / 422.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0003188/2.546, allocations: 183.1 kB / 422.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002342/2.548, allocations: 235 kB / 422.5 MB, free: 13.26 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.000354/2.548, allocations: 142.6 kB / 422.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/2.55, allocations: 0.6409 MB / 423.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.55, allocations: 0 / 423.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007948/2.551, allocations: 298.3 kB / 423.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/2.552, allocations: 20.98 kB / 423.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006846/2.559, allocations: 1.516 MB / 425.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/2.56, allocations: 1.01 MB / 426.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/2.56, allocations: 0 / 426.1 MB, free: 9.582 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat