Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_TestSensors",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(Modelica): time 1.701/1.701, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2206/1.922, allocations: 46.83 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/2.014, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/2.308, allocations: 77.14 MB / 371 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/2.308, allocations: 75.81 kB / 371.1 MB, free: 7.02 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.09289/2.401, allocations: 22.14 MB / 393.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/2.401, allocations: 12.55 kB / 393.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/2.402, allocations: 180.5 kB / 393.4 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003316/2.406, allocations: 0.9363 MB / 394.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/2.406, allocations: 44.66 kB / 394.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005475/2.406, allocations: 83.28 kB / 394.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004967/2.411, allocations: 1.273 MB / 395.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005998/2.417, allocations: 1.616 MB / 397.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/2.417, allocations: 1.344 kB / 397.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/2.418, allocations: 1.281 kB / 397.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/2.418, allocations: 36.86 kB / 397.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/2.433, allocations: 4.76 MB / 402.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/2.435, allocations: 464.1 kB / 402.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/2.436, allocations: 0.496 MB / 403.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.215e-05/2.436, allocations: 15.61 kB / 403.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.914e-05/2.436, allocations: 40.69 kB / 403.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 4.098e-06/2.436, allocations: 0 / 403.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.004675/2.441, allocations: 1.496 MB / 404.7 MB, free: 11.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/2.441, allocations: 56.41 kB / 404.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/2.443, allocations: 0.567 MB / 405.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/2.443, allocations: 26.7 kB / 405.3 MB, free: 11.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005133/2.443, allocations: 0.5405 MB / 405.9 MB, free: 11.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/2.444, allocations: 151.1 kB / 406 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-05/2.444, allocations: 4 kB / 406 MB, free: 10.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/2.444, allocations: 373 kB / 406.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000774/2.445, allocations: 254.8 kB / 406.6 MB, free: 10.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009018/2.446, allocations: 392.7 kB / 407 MB, free: 10.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/2.446, allocations: 327.3 kB / 407.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/2.446, allocations: 1.094 kB / 407.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002355/2.449, allocations: 0.7839 MB / 408.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/2.449, allocations: 5.312 kB / 408.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/2.449, allocations: 4.688 kB / 408.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/2.449, allocations: 85.47 kB / 408.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/2.451, allocations: 118.1 kB / 408.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/2.454, allocations: 1.83 MB / 410.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009272/2.455, allocations: 21.55 kB / 410.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/2.455, allocations: 19.66 kB / 410.2 MB, free: 8.609 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.0002308/2.455, allocations: 119.9 kB / 410.3 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/2.455, allocations: 64.67 kB / 410.4 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003075/2.456, allocations: 73.75 kB / 410.5 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/2.456, allocations: 4 kB / 410.5 MB, free: 8.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/2.456, allocations: 7.984 kB / 410.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/2.456, allocations: 0 / 410.5 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/2.461, allocations: 1.733 MB / 412.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/2.461, allocations: 0 / 412.2 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008342/2.462, allocations: 83.98 kB / 412.3 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/2.463, allocations: 82.77 kB / 412.4 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/2.463, allocations: 4 kB / 412.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/2.466, allocations: 1.795 MB / 414.2 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/2.466, allocations: 4.062 kB / 414.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002839/2.469, allocations: 1.11 MB / 415.3 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003798/2.473, allocations: 1.822 MB / 417.1 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/2.473, allocations: 192.3 kB / 417.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/2.473, allocations: 4.062 kB / 417.3 MB, free: 1.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008272/2.474, allocations: 36.03 kB / 417.3 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/2.474, allocations: 43.67 kB / 417.4 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/2.475, allocations: 12 kB / 417.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001073/2.476, allocations: 446.8 kB / 417.8 MB, free: 1.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002524/2.478, allocations: 180 kB / 418 MB, free: 1.293 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.0003513/2.479, allocations: 116.5 kB / 418.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002068/2.481, allocations: 0.6909 MB / 418.8 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/2.481, allocations: 0 / 418.8 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/2.482, allocations: 415.1 kB / 419.2 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/2.484, allocations: 133.9 kB / 419.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/2.491, allocations: 1.808 MB / 421.1 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002451/2.493, allocations: 1.498 MB / 422.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/2.493, allocations: 4 kB / 422.7 MB, free: 12.53 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat does not exist to compare? outputFormat=mat