Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_AD_DA_conversion",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.685/1.685, allocations: 194.9 MB / 202.5 MB, free: 6.844 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2243/1.909, allocations: 46.84 MB / 249.3 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/2.022, allocations: 44.49 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2754/2.297, allocations: 73.09 MB / 366.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/2.298, allocations: 69.91 kB / 367 MB, free: 7.164 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.03742/2.335, allocations: 7.445 MB / 374.4 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/2.335, allocations: 11.62 kB / 374.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/2.335, allocations: 31.88 kB / 374.5 MB, free: 6.242 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007029/2.336, allocations: 258.8 kB / 374.7 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/2.336, allocations: 42.27 kB / 374.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/2.336, allocations: 16.3 kB / 374.8 MB, free: 5.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006013/2.337, allocations: 157.5 kB / 374.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/2.337, allocations: 208.4 kB / 375.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/2.337, allocations: 0 / 375.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/2.338, allocations: 3.781 kB / 375.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/2.338, allocations: 3.656 kB / 375.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/2.34, allocations: 0.7369 MB / 375.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/2.341, allocations: 248.7 kB / 376.1 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005547/2.342, allocations: 193.8 kB / 376.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/2.342, allocations: 3.875 kB / 376.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006145/2.342, allocations: 278.1 kB / 376.6 MB, free: 5.398 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 4.278e-06/2.342, allocations: 4 kB / 376.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009272/2.343, allocations: 260.1 kB / 376.9 MB, free: 5.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/2.343, allocations: 229.2 kB / 377.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/2.344, allocations: 156.8 kB / 377.2 MB, free: 5.004 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/2.344, allocations: 30.84 kB / 377.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/2.344, allocations: 122.3 kB / 377.4 MB, free: 20.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/2.344, allocations: 71.94 kB / 377.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/2.344, allocations: 3.875 kB / 377.5 MB, free: 20.83 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/2.344, allocations: 342.6 kB / 377.8 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/2.345, allocations: 79.72 kB / 377.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/2.345, allocations: 187.9 kB / 378.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003812/2.345, allocations: 101.5 kB / 378.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/2.345, allocations: 3.938 kB / 378.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00105/2.347, allocations: 297.3 kB / 378.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/2.347, allocations: 8 kB / 378.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/2.347, allocations: 4.391 kB / 378.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.671e-05/2.347, allocations: 3.875 kB / 378.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/2.347, allocations: 45.11 kB / 378.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/2.347, allocations: 8.375 kB / 378.5 MB, free: 20.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/2.348, allocations: 31.33 kB / 378.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/2.348, allocations: 12.56 kB / 378.6 MB, free: 20.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],dA_Converter.x[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],dA_Converter.x[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],dA_Converter.x[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],dA_Converter.x[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],dA_Converter.x[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],dA_Converter.x[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],dA_Converter.x[7],$whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003676/2.348, allocations: 199.9 kB / 378.8 MB, free: 20.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/2.348, allocations: 28.09 kB / 378.8 MB, free: 20.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/2.348, allocations: 24.17 kB / 378.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/2.348, allocations: 3.875 kB / 378.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/2.348, allocations: 4.562 kB / 378.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/2.348, allocations: 5.203 kB / 378.8 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/2.35, allocations: 0.7565 MB / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/2.351, allocations: 3.875 kB / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002846/2.351, allocations: 23.52 kB / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/2.351, allocations: 0 / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/2.351, allocations: 17.36 kB / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/2.351, allocations: 0 / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/2.351, allocations: 0 / 379.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009959/2.352, allocations: 435.6 kB / 380 MB, free: 19.52 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00116/2.353, allocations: 0.7825 MB / 380.8 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/2.353, allocations: 105.5 kB / 380.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/2.353, allocations: 10.11 kB / 380.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/2.354, allocations: 28.95 kB / 381 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/2.354, allocations: 24.27 kB / 381 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/2.354, allocations: 9.625 kB / 381 MB, free: 18.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001923/2.355, allocations: 120.6 kB / 381.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002496/2.357, allocations: 66.75 kB / 381.2 MB, free: 18.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003137/2.357, allocations: 141.1 kB / 381.3 MB, free: 18.68 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009894/2.358, allocations: 322.1 kB / 381.6 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/2.358, allocations: 3.938 kB / 381.6 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006634/2.359, allocations: 321.4 kB / 382 MB, free: 18.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/2.361, allocations: 117.3 kB / 382.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/2.362, allocations: 374.4 kB / 382.4 MB, free: 18.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006552/2.363, allocations: 0.7785 MB / 383.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/2.363, allocations: 0 / 383.2 MB, free: 17.58 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat does not exist to compare? outputFormat=mat