Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.192/2.192, allocations: 234.9 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1693/2.362, allocations: 57.22 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/2.632, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/2.812, allocations: 90.04 MB / 444 MB, free: 3.277 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/2.813, allocations: 79.94 kB / 444.1 MB, free: 3.199 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.362/3.175, allocations: 33.05 MB / 477.1 MB, free: 68.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/3.175, allocations: 8 kB / 477.1 MB, free: 68.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/3.194, allocations: 1.095 MB / 478.2 MB, free: 67.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/3.196, allocations: 0.5166 MB / 478.8 MB, free: 66.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.485e-05/3.196, allocations: 43.91 kB / 478.8 MB, free: 66.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004133/3.197, allocations: 75.98 kB / 478.9 MB, free: 66.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0058/3.203, allocations: 1.305 MB / 480.2 MB, free: 65.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004091/3.207, allocations: 0.8713 MB / 481.1 MB, free: 64.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-05/3.207, allocations: 7.906 kB / 481.1 MB, free: 64.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/3.207, allocations: 4 kB / 481.1 MB, free: 64.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/3.207, allocations: 28 kB / 481.1 MB, free: 64.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/3.225, allocations: 4.764 MB / 485.9 MB, free: 59.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003005/3.229, allocations: 0.7019 MB / 486.6 MB, free: 58.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/3.23, allocations: 316.2 kB / 486.9 MB, free: 58.22 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/3.23, allocations: 105.9 kB / 487 MB, free: 58.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/3.23, allocations: 43.34 kB / 487 MB, free: 58.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 5.01e-06/3.23, allocations: 0 / 487 MB, free: 58.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.003817/3.234, allocations: 0.6676 MB / 487.7 MB, free: 57.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/3.234, allocations: 60.19 kB / 487.7 MB, free: 57.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/3.235, allocations: 408.6 kB / 488.1 MB, free: 56.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/3.235, allocations: 33.7 kB / 488.2 MB, free: 56.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/3.236, allocations: 466 kB / 488.6 MB, free: 56.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/3.236, allocations: 303.5 kB / 488.9 MB, free: 56.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/3.236, allocations: 0 / 488.9 MB, free: 56.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/3.237, allocations: 371.1 kB / 489.3 MB, free: 55.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/3.238, allocations: 298.6 kB / 489.6 MB, free: 55.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/3.24, allocations: 0.5491 MB / 490.1 MB, free: 54.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/3.243, allocations: 434.7 kB / 490.5 MB, free: 54.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/3.243, allocations: 0 / 490.5 MB, free: 54.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005918/3.249, allocations: 1.039 MB / 491.6 MB, free: 53.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/3.249, allocations: 4 kB / 491.6 MB, free: 53.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/3.249, allocations: 12.77 kB / 491.6 MB, free: 53.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/3.25, allocations: 65.62 kB / 491.7 MB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/3.253, allocations: 271.6 kB / 491.9 MB, free: 52.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/3.256, allocations: 2.519 MB / 494.5 MB, free: 50.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/3.259, allocations: 99.02 kB / 494.6 MB, free: 50.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003073/3.259, allocations: 48 kB / 494.6 MB, free: 50.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 139 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003767/3.259, allocations: 135.2 kB / 494.7 MB, free: 49.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/3.26, allocations: 67.19 kB / 494.8 MB, free: 49.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004649/3.264, allocations: 1.008 MB / 495.8 MB, free: 48.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.031e-05/3.265, allocations: 8 kB / 495.8 MB, free: 48.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/3.265, allocations: 4 kB / 495.8 MB, free: 48.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/3.265, allocations: 3.984 kB / 495.8 MB, free: 48.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009002/3.274, allocations: 2.942 MB / 498.8 MB, free: 45.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-05/3.274, allocations: 4 kB / 498.8 MB, free: 45.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/3.276, allocations: 199.7 kB / 499 MB, free: 45.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005672/3.277, allocations: 57.69 kB / 499 MB, free: 45.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/3.277, allocations: 20.11 kB / 499 MB, free: 45.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/3.28, allocations: 2.515 MB / 0.4898 GB, free: 42.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-05/3.28, allocations: 11.94 kB / 0.4898 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005587/3.286, allocations: 1.723 MB / 0.4915 GB, free: 40.46 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006674/3.293, allocations: 2.465 MB / 0.4939 GB, free: 37.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005147/3.293, allocations: 188 kB / 0.4941 GB, free: 37.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/3.294, allocations: 8 kB / 0.4941 GB, free: 37.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/3.296, allocations: 48.03 kB / 0.4941 GB, free: 37.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/3.296, allocations: 68.42 kB / 0.4942 GB, free: 37.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/3.296, allocations: 39.98 kB / 0.4942 GB, free: 37.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007583/3.297, allocations: 311.2 kB / 0.4945 GB, free: 37.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004078/3.301, allocations: 298.9 kB / 0.4948 GB, free: 36.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 1 (variableAdmittance.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007424/3.302, allocations: 162.9 kB / 0.495 GB, free: 36.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005929/3.308, allocations: 0.9716 MB / 0.4959 GB, free: 35.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.231e-05/3.308, allocations: 0.8125 kB / 0.4959 GB, free: 35.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/3.31, allocations: 0.5682 MB / 0.4965 GB, free: 34.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/3.311, allocations: 67.22 kB / 0.4965 GB, free: 34.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/3.322, allocations: 1.79 MB / 0.4983 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/3.323, allocations: 1.092 MB / 0.4994 GB, free: 31.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/3.323, allocations: 0 / 0.4994 GB, free: 31.88 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat