Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TestSensors",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.814/1.814, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/1.996, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08835/2.085, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/2.433, allocations: 72.1 MB / 330.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004066/2.433, allocations: 75.14 kB / 330.2 MB, free: 15.91 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.1338/2.567, allocations: 22.46 MB / 352.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/2.567, allocations: 8 kB / 352.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/2.569, allocations: 174.2 kB / 352.8 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004706/2.574, allocations: 0.9427 MB / 353.8 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/2.574, allocations: 44 kB / 353.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007289/2.575, allocations: 83.91 kB / 353.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006283/2.581, allocations: 1.277 MB / 355.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007783/2.589, allocations: 1.606 MB / 356.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.653e-05/2.589, allocations: 0 / 356.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002802/2.589, allocations: 0 / 356.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.918e-05/2.589, allocations: 36 kB / 356.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/2.611, allocations: 4.77 MB / 361.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/2.613, allocations: 466.6 kB / 362 MB, free: 5.109 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/2.615, allocations: 0.5002 MB / 362.5 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/2.615, allocations: 4 kB / 362.5 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.799e-05/2.615, allocations: 34.56 kB / 362.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 5.44e-06/2.615, allocations: 0 / 362.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.006005/2.621, allocations: 1.506 MB / 364.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/2.621, allocations: 59.31 kB / 364.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/2.623, allocations: 0.5763 MB / 364.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/2.623, allocations: 25.7 kB / 364.7 MB, free: 2.305 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006524/2.624, allocations: 0.5405 MB / 365.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/2.624, allocations: 149.8 kB / 365.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/2.624, allocations: 0 / 365.4 MB, free: 1.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003266/2.624, allocations: 370.8 kB / 365.8 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009112/2.625, allocations: 261.1 kB / 366 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009951/2.626, allocations: 389 kB / 366.4 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/2.628, allocations: 328.5 kB / 366.7 MB, free: 224 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-05/2.628, allocations: 11.94 kB / 366.8 MB, free: 212 kB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003764/2.631, allocations: 0.7804 MB / 367.5 MB, free: 15.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/2.632, allocations: 8 kB / 367.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/2.632, allocations: 4 kB / 367.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/2.632, allocations: 84.75 kB / 367.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/2.634, allocations: 127.9 kB / 367.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004131/2.638, allocations: 1.829 MB / 369.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/2.639, allocations: 19.98 kB / 369.6 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/2.639, allocations: 20 kB / 369.6 MB, free: 13.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002957/2.64, allocations: 124.8 kB / 369.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/2.64, allocations: 63.25 kB / 369.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004251/2.64, allocations: 69.78 kB / 369.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/2.64, allocations: 8 kB / 369.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/2.64, allocations: 0 / 369.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/2.64, allocations: 0 / 369.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/2.648, allocations: 1.742 MB / 371.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/2.648, allocations: 4 kB / 371.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/2.649, allocations: 75.89 kB / 371.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/2.649, allocations: 68.81 kB / 371.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.551e-05/2.649, allocations: 16.11 kB / 371.8 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003869/2.653, allocations: 1.794 MB / 373.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/2.653, allocations: 4 kB / 373.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003445/2.657, allocations: 1.109 MB / 374.7 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00472/2.662, allocations: 1.825 MB / 376.5 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/2.663, allocations: 196.3 kB / 376.7 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/2.663, allocations: 7.984 kB / 376.7 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/2.664, allocations: 32.03 kB / 376.7 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/2.664, allocations: 27.91 kB / 376.8 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/2.664, allocations: 19.92 kB / 376.8 MB, free: 5.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001336/2.665, allocations: 458.8 kB / 377.2 MB, free: 5.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003402/2.669, allocations: 183.9 kB / 377.4 MB, free: 5.062 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003776/2.669, allocations: 119.1 kB / 377.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/2.672, allocations: 0.6812 MB / 378.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/2.672, allocations: 4.125 kB / 378.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001418/2.673, allocations: 413.4 kB / 378.6 MB, free: 3.828 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/2.675, allocations: 130.3 kB / 378.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/2.683, allocations: 1.827 MB / 380.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002875/2.686, allocations: 1.49 MB / 382.1 MB, free: 316 kB / 314.7 MB Notification: Performance of SimCode: time 2.063e-06/2.686, allocations: 0 / 382.1 MB, free: 316 kB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat