Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",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.618/1.618, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2391/1.858, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09294/1.951, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/2.239, allocations: 83.04 MB / 341.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/2.239, allocations: 81.39 kB / 341.1 MB, free: 5.102 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.1136/2.353, allocations: 23.63 MB / 364.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/2.353, allocations: 8 kB / 364.8 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/2.354, allocations: 150.6 kB / 364.9 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/2.356, allocations: 0.6824 MB / 365.6 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/2.356, allocations: 24 kB / 365.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/2.357, allocations: 55.39 kB / 365.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001419/2.358, allocations: 435.6 kB / 366.1 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/2.36, allocations: 0.6167 MB / 366.7 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/2.36, allocations: 8 kB / 366.7 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-05/2.36, allocations: 0 / 366.7 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/2.36, allocations: 20 kB / 366.8 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0074/2.367, allocations: 3.323 MB / 370.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003761/2.368, allocations: 121.7 kB / 370.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/2.368, allocations: 89.3 kB / 370.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/2.368, allocations: 7.938 kB / 370.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/2.368, allocations: 34.56 kB / 370.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.986e-06/2.368, allocations: 0 / 370.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.00246/2.371, allocations: 0.7529 MB / 371.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001335/2.371, allocations: 77.34 kB / 371.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/2.373, allocations: 0.5229 MB / 371.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/2.373, allocations: 25.7 kB / 371.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/2.373, allocations: 429.8 kB / 372.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/2.373, allocations: 102.5 kB / 372.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/2.373, allocations: 0 / 372.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002051/2.374, allocations: 374.8 kB / 372.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/2.374, allocations: 97.31 kB / 372.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/2.374, allocations: 373 kB / 373 MB, free: 9.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/2.375, allocations: 174.9 kB / 373.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/2.375, allocations: 0 / 373.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001425/2.376, allocations: 497.8 kB / 373.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/2.377, allocations: 4 kB / 373.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/2.377, allocations: 12 kB / 373.7 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/2.377, allocations: 36.8 kB / 373.8 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009809/2.378, allocations: 152.2 kB / 373.9 MB, free: 8.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/2.379, allocations: 1.24 MB / 375.1 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009116/2.38, allocations: 27.89 kB / 375.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/2.38, allocations: 28 kB / 375.2 MB, free: 7.504 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001727/2.38, allocations: 136.8 kB / 375.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/2.381, allocations: 67.16 kB / 375.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008215/2.381, allocations: 261 kB / 375.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/2.381, allocations: 4 kB / 375.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/2.381, allocations: 0 / 375.7 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/2.381, allocations: 7.891 kB / 375.7 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/2.384, allocations: 0.9065 MB / 376.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/2.384, allocations: 8.219 kB / 376.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/2.385, allocations: 63.89 kB / 376.6 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002232/2.385, allocations: 20.86 kB / 376.7 MB, free: 5.945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/2.386, allocations: 7.984 kB / 376.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/2.387, allocations: 1.217 MB / 377.9 MB, free: 4.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/2.388, allocations: 7.938 kB / 377.9 MB, free: 4.598 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00168/2.389, allocations: 0.5528 MB / 378.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002197/2.391, allocations: 1.025 MB / 379.5 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/2.392, allocations: 168.3 kB / 379.6 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002376/2.392, allocations: 4 kB / 379.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009408/2.393, allocations: 19.98 kB / 379.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/2.394, allocations: 27.97 kB / 379.7 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/2.394, allocations: 7.938 kB / 379.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001296/2.395, allocations: 395.2 kB / 380.1 MB, free: 2.227 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003237/2.398, allocations: 171.9 kB / 380.2 MB, free: 2.059 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008026/2.399, allocations: 253.2 kB / 380.5 MB, free: 1.797 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001667/2.401, allocations: 391.4 kB / 380.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/2.401, allocations: 0 / 380.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007513/2.402, allocations: 201.7 kB / 381.1 MB, free: 1.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/2.404, allocations: 139.8 kB / 381.2 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/2.409, allocations: 1.016 MB / 382.2 MB, free: 0 / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/2.411, allocations: 1.01 MB / 383.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.874e-06/2.411, allocations: 0 / 383.2 MB, free: 14.96 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat