Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingDelta",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(Modelica): time 1.822/1.822, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2476/2.07, allocations: 46.83 MB / 249.3 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/2.173, allocations: 44.51 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3355/2.509, allocations: 84.22 MB / 378.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/2.509, allocations: 84.47 kB / 378.1 MB, free: 6.527 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.6484/3.157, allocations: 143.7 MB / 0.5096 GB, free: 48.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/3.157, allocations: 9.656 kB / 0.5096 GB, free: 48.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02481/3.182, allocations: 1.768 MB / 0.5113 GB, free: 48.26 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007347/3.19, allocations: 2.442 MB / 0.5137 GB, free: 47.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004196/3.19, allocations: 145 kB / 0.5139 GB, free: 47.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001677/3.192, allocations: 244.7 kB / 0.5141 GB, free: 47.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0161/3.208, allocations: 5.328 MB / 0.5193 GB, free: 47.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/3.229, allocations: 6.245 MB / 0.5254 GB, free: 47.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/3.229, allocations: 13.17 kB / 0.5254 GB, free: 47.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008777/3.23, allocations: 0 / 0.5254 GB, free: 47.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003227/3.231, allocations: 281 kB / 0.5257 GB, free: 47.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05465/3.285, allocations: 21.65 MB / 0.5468 GB, free: 43.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008078/3.293, allocations: 3.495 MB / 0.5502 GB, free: 43.01 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007103/3.301, allocations: 2.903 MB / 0.5531 GB, free: 41.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02722/3.328, allocations: 11.05 MB / 0.5639 GB, free: 35.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.716e-05/3.328, allocations: 66.16 kB / 0.5639 GB, free: 35.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=280): time 8.186e-06/3.328, allocations: 7.594 kB / 0.5639 GB, free: 35.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=280): time 0.01187/3.34, allocations: 4.545 MB / 0.5684 GB, free: 33.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/3.34, allocations: 72.28 kB / 0.5684 GB, free: 33.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/3.343, allocations: 1.135 MB / 0.5695 GB, free: 32.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006744/3.343, allocations: 32.12 kB / 0.5696 GB, free: 32.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/3.344, allocations: 1.568 MB / 0.5711 GB, free: 31.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001473/3.346, allocations: 0.9085 MB / 0.572 GB, free: 30.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003643/3.346, allocations: 0 / 0.572 GB, free: 30.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004175/3.347, allocations: 0.4892 MB / 0.5725 GB, free: 30.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005023/3.352, allocations: 2.049 MB / 0.5745 GB, free: 29.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005699/3.357, allocations: 2.819 MB / 0.5772 GB, free: 28.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007408/3.365, allocations: 2.615 MB / 0.5798 GB, free: 27.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.146e-05/3.365, allocations: 6.219 kB / 0.5798 GB, free: 27.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01746/3.382, allocations: 5.793 MB / 0.5854 GB, free: 24.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/3.382, allocations: 5.875 kB / 0.5854 GB, free: 24.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.327e-05/3.382, allocations: 22.09 kB / 0.5855 GB, free: 24.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003155/3.386, allocations: 1.064 MB / 0.5865 GB, free: 24.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00564/3.391, allocations: 0.5837 MB / 0.5871 GB, free: 24.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007383/3.399, allocations: 4.084 MB / 0.5911 GB, free: 21.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/3.403, allocations: 310.4 kB / 0.5914 GB, free: 21.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/3.404, allocations: 146.6 kB / 0.5915 GB, free: 21.43 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[2].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008791/3.405, allocations: 227.5 kB / 0.5917 GB, free: 21.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/3.405, allocations: 169.8 kB / 0.5919 GB, free: 21.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/3.419, allocations: 4.887 MB / 0.5967 GB, free: 16.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01025/3.429, allocations: 4.478 MB / 0.601 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/3.43, allocations: 0 / 0.601 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/3.43, allocations: 7.641 kB / 0.601 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02234/3.452, allocations: 9.168 MB / 0.61 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.287e-05/3.452, allocations: 0 / 0.61 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/3.455, allocations: 292 kB / 0.6103 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002707/3.458, allocations: 1.027 MB / 0.6113 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005467/3.458, allocations: 36.25 kB / 0.6113 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005894/3.464, allocations: 4.038 MB / 0.6152 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/3.464, allocations: 0 / 0.6152 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02918/3.494, allocations: 8.058 MB / 0.6231 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02823/3.522, allocations: 10.76 MB / 0.6336 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/3.523, allocations: 318 kB / 0.6339 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/3.524, allocations: 0.7969 kB / 0.6339 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/3.526, allocations: 37.31 kB / 0.634 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007914/3.527, allocations: 206.5 kB / 0.6342 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003218/3.527, allocations: 68.77 kB / 0.6342 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001984/3.529, allocations: 0.8008 MB / 0.635 GB, free: 60 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.00656/3.536, allocations: 0.9786 MB / 0.636 GB, free: 15.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009923/3.537, allocations: 173.3 kB / 0.6361 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01491/3.552, allocations: 4.697 MB / 0.6407 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/3.552, allocations: 4.125 kB / 0.6407 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006838/3.559, allocations: 2.163 MB / 0.6428 GB, free: 8.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003165/3.562, allocations: 226.2 kB / 0.643 GB, free: 8.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/3.588, allocations: 7.578 MB / 0.6504 GB, free: 1.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1734/3.761, allocations: 3.2 MB / 0.6536 GB, free: 141.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/3.761, allocations: 2.281 kB / 0.6536 GB, free: 141.7 MB / 426.7 MB