Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_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.933/1.933, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2496/2.182, allocations: 46.83 MB / 249.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/2.281, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2878/2.569, allocations: 77.14 MB / 371 MB, free: 7.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/2.569, allocations: 75.33 kB / 371.1 MB, free: 7.113 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: 354 * Number of variables: 354 Notification: Performance of Generate backend data structure: time 0.08057/2.65, allocations: 22.15 MB / 393.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/2.65, allocations: 9.031 kB / 393.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/2.651, allocations: 175.9 kB / 393.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/2.654, allocations: 0.939 MB / 394.3 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-05/2.654, allocations: 44.62 kB / 394.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003868/2.655, allocations: 83.09 kB / 394.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00451/2.659, allocations: 1.269 MB / 395.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/2.665, allocations: 1.618 MB / 397.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.169e-05/2.665, allocations: 0 / 397.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/2.665, allocations: 1 kB / 397.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/2.665, allocations: 33.81 kB / 397.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/2.68, allocations: 4.757 MB / 402.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/2.681, allocations: 472.8 kB / 402.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001361/2.682, allocations: 0.4974 MB / 403.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.203e-05/2.682, allocations: 7.219 kB / 403.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/2.682, allocations: 39.91 kB / 403.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.387e-06/2.682, allocations: 0 / 403.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.004234/2.687, allocations: 1.495 MB / 404.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/2.687, allocations: 55.72 kB / 404.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/2.688, allocations: 0.571 MB / 405.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.601e-05/2.688, allocations: 29.7 kB / 405.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000475/2.689, allocations: 0.5406 MB / 405.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/2.689, allocations: 146.3 kB / 406 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/2.689, allocations: 0 / 406 MB, free: 11.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/2.689, allocations: 374 kB / 406.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/2.69, allocations: 260 kB / 406.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/2.691, allocations: 388 kB / 407 MB, free: 10.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008396/2.691, allocations: 331 kB / 407.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/2.691, allocations: 0.9375 kB / 407.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002239/2.694, allocations: 0.7877 MB / 408.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/2.694, allocations: 5.281 kB / 408.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/2.694, allocations: 3.406 kB / 408.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003815/2.694, allocations: 84.47 kB / 408.2 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/2.695, allocations: 122.9 kB / 408.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/2.698, allocations: 1.827 MB / 410.1 MB, free: 8.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008586/2.699, allocations: 17.45 kB / 410.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/2.699, allocations: 23 kB / 410.2 MB, free: 8.738 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.0002058/2.699, allocations: 123.6 kB / 410.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/2.7, allocations: 60.72 kB / 410.3 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/2.7, allocations: 73.73 kB / 410.4 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/2.7, allocations: 4 kB / 410.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/2.7, allocations: 0 / 410.4 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/2.7, allocations: 3.984 kB / 410.4 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/2.705, allocations: 1.744 MB / 412.2 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/2.705, allocations: 4 kB / 412.2 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/2.705, allocations: 79.52 kB / 412.2 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/2.706, allocations: 76.77 kB / 412.3 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.052e-05/2.706, allocations: 7.984 kB / 412.3 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/2.709, allocations: 1.795 MB / 414.1 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/2.709, allocations: 4.062 kB / 414.1 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002487/2.711, allocations: 1.114 MB / 415.2 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003317/2.714, allocations: 1.819 MB / 417 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/2.715, allocations: 188.3 kB / 417.2 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/2.715, allocations: 11.98 kB / 417.2 MB, free: 2.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/2.716, allocations: 28.05 kB / 417.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/2.716, allocations: 35.8 kB / 417.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/2.716, allocations: 15.98 kB / 417.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0009637/2.717, allocations: 446.8 kB / 417.8 MB, free: 1.578 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002115/2.719, allocations: 188 kB / 417.9 MB, free: 1.395 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.0002293/2.719, allocations: 100.6 kB / 418 MB, free: 1.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0018/2.721, allocations: 0.6954 MB / 418.7 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/2.721, allocations: 4.375 kB / 418.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/2.722, allocations: 409.8 kB / 419.1 MB, free: 176 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/2.724, allocations: 146.1 kB / 419.3 MB, free: 28 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/2.729, allocations: 1.804 MB / 421.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/2.732, allocations: 1.498 MB / 422.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of SimCode: time 5.05e-06/2.732, allocations: 0 / 422.6 MB, free: 12.64 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat