Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Electrical_QuasiStatic_SinglePhase_SerialConnection",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.32/2.32, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1924/2.512, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/2.779, allocations: 54.84 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/2.949, allocations: 90.04 MB / 444.1 MB, free: 3.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/2.95, allocations: 79.95 kB / 444.2 MB, free: 3.148 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.3301/3.28, allocations: 33.05 MB / 477.2 MB, free: 68.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/3.28, allocations: 12 kB / 477.2 MB, free: 68.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/3.294, allocations: 1.091 MB / 478.3 MB, free: 67.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/3.296, allocations: 0.5087 MB / 478.8 MB, free: 66.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.42e-05/3.296, allocations: 43.91 kB / 478.9 MB, free: 66.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/3.296, allocations: 72 kB / 479 MB, free: 66.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004716/3.301, allocations: 1.309 MB / 480.3 MB, free: 65.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/3.305, allocations: 0.8791 MB / 481.1 MB, free: 64.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/3.305, allocations: 7.906 kB / 481.2 MB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/3.305, allocations: 0 / 481.2 MB, free: 64.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/3.305, allocations: 32 kB / 481.2 MB, free: 64.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/3.319, allocations: 4.764 MB / 486 MB, free: 59.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/3.321, allocations: 0.7077 MB / 486.7 MB, free: 58.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/3.322, allocations: 315 kB / 487 MB, free: 58.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/3.322, allocations: 101.9 kB / 487.1 MB, free: 58.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/3.322, allocations: 43.34 kB / 487.1 MB, free: 57.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 3.897e-06/3.322, allocations: 0 / 487.1 MB, free: 57.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=91): time 0.002813/3.325, allocations: 0.6676 MB / 487.8 MB, free: 57.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/3.325, allocations: 68.19 kB / 487.8 MB, free: 57.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007997/3.326, allocations: 408.6 kB / 488.2 MB, free: 56.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.074e-05/3.326, allocations: 25.7 kB / 488.3 MB, free: 56.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/3.326, allocations: 470.4 kB / 488.7 MB, free: 56.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/3.327, allocations: 299.5 kB / 489 MB, free: 56 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/3.327, allocations: 0 / 489 MB, free: 56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/3.327, allocations: 378.6 kB / 489.4 MB, free: 55.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000963/3.328, allocations: 294.6 kB / 489.7 MB, free: 55.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/3.329, allocations: 0.5491 MB / 490.2 MB, free: 54.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/3.331, allocations: 426.8 kB / 490.6 MB, free: 54.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/3.331, allocations: 7.938 kB / 490.7 MB, free: 54.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003855/3.335, allocations: 1.032 MB / 491.7 MB, free: 53.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/3.335, allocations: 8.094 kB / 491.7 MB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/3.335, allocations: 8 kB / 491.7 MB, free: 53.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004617/3.335, allocations: 65.67 kB / 491.8 MB, free: 53.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002534/3.338, allocations: 271.6 kB / 492 MB, free: 52.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/3.34, allocations: 2.531 MB / 494.6 MB, free: 50.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/3.342, allocations: 86.88 kB / 494.6 MB, free: 50.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/3.342, allocations: 47.98 kB / 494.7 MB, free: 49.96 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.0002665/3.343, allocations: 136.6 kB / 494.8 MB, free: 49.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/3.343, allocations: 63.34 kB / 494.9 MB, free: 49.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/3.346, allocations: 1.015 MB / 495.9 MB, free: 48.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/3.346, allocations: 8 kB / 495.9 MB, free: 48.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/3.346, allocations: 3.984 kB / 495.9 MB, free: 48.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/3.346, allocations: 7.984 kB / 495.9 MB, free: 48.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006594/3.353, allocations: 2.934 MB / 498.9 MB, free: 45.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/3.353, allocations: 8 kB / 498.9 MB, free: 45.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/3.355, allocations: 187.7 kB / 499 MB, free: 45.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/3.356, allocations: 70.14 kB / 499.1 MB, free: 45.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/3.356, allocations: 12 kB / 499.1 MB, free: 45.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002486/3.358, allocations: 2.515 MB / 0.4899 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/3.358, allocations: 11.94 kB / 0.4899 GB, free: 42.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004076/3.362, allocations: 1.739 MB / 0.4916 GB, free: 40.36 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005015/3.367, allocations: 2.461 MB / 0.494 GB, free: 37.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/3.368, allocations: 180 kB / 0.4942 GB, free: 37.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/3.368, allocations: 11.98 kB / 0.4942 GB, free: 37.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/3.37, allocations: 48.03 kB / 0.4942 GB, free: 37.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/3.37, allocations: 72.42 kB / 0.4943 GB, free: 37.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/3.37, allocations: 32 kB / 0.4943 GB, free: 37.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0005974/3.37, allocations: 315.2 kB / 0.4946 GB, free: 36.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00291/3.373, allocations: 299 kB / 0.4949 GB, free: 36.64 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.0003886/3.374, allocations: 178.8 kB / 0.4951 GB, free: 36.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002623/3.376, allocations: 0.9604 MB / 0.496 GB, free: 35.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/3.376, allocations: 4 kB / 0.496 GB, free: 35.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/3.378, allocations: 0.5701 MB / 0.4966 GB, free: 34.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007769/3.379, allocations: 61.67 kB / 0.4966 GB, free: 34.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009229/3.388, allocations: 1.79 MB / 0.4984 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/3.39, allocations: 1.092 MB / 0.4995 GB, free: 31.79 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/3.39, allocations: 0 / 0.4995 GB, free: 31.79 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat