Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Electrical_SingularTransfomer",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(ModelicaTest): time 2.53/2.53, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1726/2.702, allocations: 57.19 MB / 299.2 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/2.96, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/3.109, allocations: 81.41 MB / 435.5 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/3.109, allocations: 67.89 kB / 435.5 MB, free: 11.81 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.01925/3.129, allocations: 4.054 MB / 439.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/3.129, allocations: 8 kB / 439.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/3.129, allocations: 27.7 kB / 439.6 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/3.129, allocations: 259 kB / 439.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/3.13, allocations: 4 kB / 439.9 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/3.13, allocations: 12 kB / 439.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004419/3.13, allocations: 116.9 kB / 440 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/3.131, allocations: 150.5 kB / 440.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/3.131, allocations: 0 / 440.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/3.131, allocations: 3.984 kB / 440.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/3.131, allocations: 4 kB / 440.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/3.133, allocations: 0.7786 MB / 441 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/3.133, allocations: 45.72 kB / 441 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/3.133, allocations: 36.86 kB / 441 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/3.133, allocations: 0 / 441 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/3.133, allocations: 46.47 kB / 441.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/3.133, allocations: 0 / 441.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002477/3.136, allocations: 0.6007 MB / 441.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/3.136, allocations: 51.41 kB / 441.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/3.136, allocations: 182.7 kB / 441.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/3.136, allocations: 25.7 kB / 441.9 MB, free: 5.152 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/3.137, allocations: 151.9 kB / 442.1 MB, free: 5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/3.137, allocations: 55.2 kB / 442.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/3.137, allocations: 0 / 442.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/3.137, allocations: 334.7 kB / 442.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/3.137, allocations: 48 kB / 442.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/3.137, allocations: 89.08 kB / 442.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/3.137, allocations: 55.98 kB / 442.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/3.137, allocations: 0 / 442.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008951/3.138, allocations: 234.2 kB / 442.9 MB, free: 4.164 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/3.138, allocations: 8.156 kB / 442.9 MB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/3.138, allocations: 4 kB / 442.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/3.139, allocations: 61.69 kB / 443 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/3.139, allocations: 39.92 kB / 443 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/3.143, allocations: 2.661 MB / 445.7 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/3.143, allocations: 12.06 kB / 445.7 MB, free: 1.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/3.143, allocations: 7.984 kB / 445.7 MB, free: 1.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/3.143, allocations: 108.9 kB / 445.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/3.143, allocations: 15.81 kB / 445.8 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.09e-05/3.144, allocations: 25.59 kB / 445.8 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/3.144, allocations: 4.281 kB / 445.8 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/3.144, allocations: 4 kB / 445.8 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/3.144, allocations: 11.97 kB / 445.8 MB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004203/3.144, allocations: 242 kB / 446.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/3.144, allocations: 0 / 446.1 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/3.144, allocations: 19.98 kB / 446.1 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003688/3.145, allocations: 65.67 kB / 446.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/3.145, allocations: 0 / 446.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1494/3.294, allocations: 2.651 MB / 448.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/3.294, allocations: 0 / 448.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008085/3.295, allocations: 340.9 kB / 449.1 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009465/3.296, allocations: 0.7785 MB / 449.9 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.96e-05/3.296, allocations: 95.95 kB / 450 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/3.296, allocations: 3.609 kB / 450 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/3.297, allocations: 21.72 kB / 450 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.371e-05/3.297, allocations: 13.03 kB / 450.1 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/3.297, allocations: 8.828 kB / 450.1 MB, free: 129.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001588/3.297, allocations: 136 kB / 450.2 MB, free: 129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001527/3.298, allocations: 57.36 kB / 450.2 MB, free: 129 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/3.299, allocations: 103.9 kB / 450.4 MB, free: 128.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007799/3.299, allocations: 352.8 kB / 450.7 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/3.299, allocations: 3.328 kB / 450.7 MB, free: 128.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/3.3, allocations: 273 kB / 451 MB, free: 128.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/3.3, allocations: 20.73 kB / 451 MB, free: 128.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/3.301, allocations: 333 kB / 451.3 MB, free: 128.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/3.302, allocations: 0.7693 MB / 452.1 MB, free: 127.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.083e-06/3.302, allocations: 0 / 452.1 MB, free: 127.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat