Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_SingularTransfomer",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(ModelicaTest): time 2.335/2.335, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.19/2.525, allocations: 57.2 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/2.809, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/2.968, allocations: 81.41 MB / 435.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/2.968, allocations: 63.91 kB / 435.4 MB, free: 11.85 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.02505/2.993, allocations: 4.054 MB / 439.5 MB, free: 7.734 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/2.993, allocations: 11.98 kB / 439.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/2.994, allocations: 31.72 kB / 439.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/2.994, allocations: 255 kB / 439.8 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/2.994, allocations: 4 kB / 439.8 MB, free: 7.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.478e-05/2.994, allocations: 12 kB / 439.8 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006187/2.995, allocations: 116.9 kB / 439.9 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/2.996, allocations: 150.5 kB / 440.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/2.996, allocations: 0 / 440.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/2.996, allocations: 3.938 kB / 440.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/2.996, allocations: 7.938 kB / 440.1 MB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/2.999, allocations: 0.7748 MB / 440.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/2.999, allocations: 45.72 kB / 440.9 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/3, allocations: 36.86 kB / 440.9 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/3, allocations: 4.125 kB / 440.9 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/3, allocations: 42.47 kB / 441 MB, free: 6.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.618e-06/3, allocations: 4 kB / 441 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.003293/3.003, allocations: 0.5938 MB / 441.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/3.003, allocations: 51.41 kB / 441.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/3.004, allocations: 174.7 kB / 441.8 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/3.004, allocations: 29.7 kB / 441.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/3.004, allocations: 155.9 kB / 442 MB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/3.004, allocations: 55.2 kB / 442 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/3.004, allocations: 0 / 442 MB, free: 4.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002398/3.004, allocations: 334.7 kB / 442.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/3.005, allocations: 48 kB / 442.4 MB, free: 4.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/3.005, allocations: 89.08 kB / 442.5 MB, free: 4.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/3.005, allocations: 61.47 kB / 442.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/3.005, allocations: 0 / 442.6 MB, free: 4.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001234/3.006, allocations: 231 kB / 442.8 MB, free: 4.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/3.007, allocations: 4 kB / 442.8 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/3.007, allocations: 8.156 kB / 442.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005936/3.007, allocations: 65.62 kB / 442.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/3.008, allocations: 31.98 kB / 442.9 MB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/3.013, allocations: 2.661 MB / 445.5 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/3.013, allocations: 12.06 kB / 445.6 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.607e-05/3.013, allocations: 7.984 kB / 445.6 MB, free: 1.164 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.0002018/3.014, allocations: 112.8 kB / 445.7 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/3.014, allocations: 15.81 kB / 445.7 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.754e-05/3.014, allocations: 17.66 kB / 445.7 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/3.014, allocations: 4 kB / 445.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/3.014, allocations: 384 / 445.7 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/3.014, allocations: 3.984 kB / 445.7 MB, free: 1.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006472/3.015, allocations: 250 kB / 446 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.015, allocations: 0 / 446 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/3.015, allocations: 23.92 kB / 446 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/3.016, allocations: 69.86 kB / 446.1 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/3.016, allocations: 0 / 446.1 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1606/3.176, allocations: 2.646 MB / 448.7 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/3.176, allocations: 3.688 kB / 448.7 MB, free: 129.7 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008112/3.177, allocations: 351.1 kB / 449 MB, free: 129.6 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008832/3.178, allocations: 0.7756 MB / 449.8 MB, free: 129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/3.178, allocations: 91.14 kB / 449.9 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/3.178, allocations: 0 / 449.9 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/3.178, allocations: 23.33 kB / 449.9 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/3.179, allocations: 17.58 kB / 450 MB, free: 128.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/3.179, allocations: 10.17 kB / 450 MB, free: 128.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001504/3.179, allocations: 134.8 kB / 450.1 MB, free: 128.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001366/3.18, allocations: 56.36 kB / 450.1 MB, free: 128.9 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.0001584/3.18, allocations: 99.5 kB / 450.2 MB, free: 128.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007616/3.181, allocations: 353.1 kB / 450.6 MB, free: 128.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/3.181, allocations: 0 / 450.6 MB, free: 128.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/3.182, allocations: 284.8 kB / 450.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/3.182, allocations: 15.45 kB / 450.9 MB, free: 128.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/3.183, allocations: 326.7 kB / 451.2 MB, free: 128.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/3.184, allocations: 0.7695 MB / 452 MB, free: 127.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/3.184, allocations: 0 / 452 MB, free: 127.6 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat