Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_IdealTriacCircuit",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.748/1.748, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2202/1.968, allocations: 46.83 MB / 249.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/2.064, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/2.365, allocations: 73.25 MB / 367.1 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/2.366, allocations: 70.78 kB / 367.2 MB, free: 7.09 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.02723/2.393, allocations: 5.166 MB / 372.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/2.393, allocations: 7.844 kB / 372.3 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/2.393, allocations: 43.34 kB / 372.4 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/2.394, allocations: 264.9 kB / 372.6 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/2.394, allocations: 11.47 kB / 372.7 MB, free: 6.043 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/2.394, allocations: 15.56 kB / 372.7 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008229/2.395, allocations: 174.2 kB / 372.8 MB, free: 6.039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008993/2.396, allocations: 235.2 kB / 373.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/2.396, allocations: 0 / 373.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.149e-05/2.396, allocations: 3.875 kB / 373.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/2.396, allocations: 7.875 kB / 373.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/2.399, allocations: 1.097 MB / 374.2 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/2.4, allocations: 181.3 kB / 374.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/2.4, allocations: 131.1 kB / 374.5 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.903e-05/2.4, allocations: 4.188 kB / 374.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004098/2.401, allocations: 146.6 kB / 374.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 3.537e-06/2.401, allocations: 1.203 kB / 374.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001081/2.402, allocations: 239.5 kB / 374.9 MB, free: 5.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/2.402, allocations: 137.2 kB / 375 MB, free: 5.059 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/2.403, allocations: 193.4 kB / 375.2 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/2.403, allocations: 30.34 kB / 375.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/2.403, allocations: 156.3 kB / 375.4 MB, free: 20.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/2.403, allocations: 63.95 kB / 375.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/2.403, allocations: 224 / 375.4 MB, free: 20.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/2.403, allocations: 332.8 kB / 375.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/2.403, allocations: 66.88 kB / 375.8 MB, free: 20.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/2.404, allocations: 108.8 kB / 375.9 MB, free: 20.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/2.404, allocations: 66.58 kB / 376 MB, free: 20.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/2.404, allocations: 0 / 376 MB, free: 20.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008996/2.405, allocations: 253.6 kB / 376.2 MB, free: 20.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/2.405, allocations: 8.266 kB / 376.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/2.405, allocations: 0 / 376.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/2.406, allocations: 87.17 kB / 376.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/2.406, allocations: 34.53 kB / 376.4 MB, free: 20.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004476/2.411, allocations: 1.859 MB / 378.2 MB, free: 19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/2.411, allocations: 31.48 kB / 378.3 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/2.411, allocations: 8.453 kB / 378.3 MB, free: 18.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 0 * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/2.412, allocations: 119.3 kB / 378.4 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/2.412, allocations: 23.38 kB / 378.4 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/2.412, allocations: 30.31 kB / 378.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/2.412, allocations: 3.938 kB / 378.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/2.412, allocations: 0 / 378.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/2.412, allocations: 1.172 kB / 378.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/2.414, allocations: 0.7249 MB / 379.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/2.414, allocations: 3.875 kB / 379.2 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002839/2.414, allocations: 33.94 kB / 379.2 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005883/2.415, allocations: 87.34 kB / 379.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/2.415, allocations: 0.75 kB / 379.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003952/2.419, allocations: 1.811 MB / 381.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/2.419, allocations: 0 / 381.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001182/2.42, allocations: 432.8 kB / 381.5 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001603/2.422, allocations: 0.8715 MB / 382.4 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/2.422, allocations: 123.4 kB / 382.5 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.445e-05/2.422, allocations: 0.6562 kB / 382.5 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/2.423, allocations: 23.94 kB / 382.5 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/2.423, allocations: 20.48 kB / 382.6 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/2.423, allocations: 12.12 kB / 382.6 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002933/2.423, allocations: 154.7 kB / 382.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002851/2.426, allocations: 82.23 kB / 382.8 MB, free: 16.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 0 * Non-linear torn systems: 1 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/2.426, allocations: 111.4 kB / 382.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/2.428, allocations: 292.9 kB / 383.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/2.428, allocations: 3.938 kB / 383.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/2.428, allocations: 220.2 kB / 383.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007335/2.429, allocations: 37.69 kB / 383.5 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/2.431, allocations: 400.3 kB / 383.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006687/2.432, allocations: 0.7832 MB / 384.6 MB, free: 14.96 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/2.432, allocations: 0 / 384.6 MB, free: 14.96 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.IdealTriacCircuit_res.mat does not exist to compare? outputFormat=mat