Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_HalfControlledBridge2mPulse",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(ModelicaTest): time 2.314/2.314, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1378/2.452, allocations: 57.2 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/2.72, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.415/3.135, allocations: 95.61 MB / 449.6 MB, free: 32.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/3.135, allocations: 71.84 kB / 449.7 MB, free: 32.31 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.1441/3.279, allocations: 33.17 MB / 482.8 MB, free: 28.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/3.279, allocations: 12.5 kB / 482.8 MB, free: 28.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/3.281, allocations: 231.4 kB / 483.1 MB, free: 28.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009303/3.29, allocations: 2.164 MB / 485.2 MB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/3.291, allocations: 63.81 kB / 485.3 MB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007474/3.291, allocations: 110.6 kB / 485.4 MB, free: 28.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006995/3.298, allocations: 1.971 MB / 487.4 MB, free: 27.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008099/3.306, allocations: 2.233 MB / 489.6 MB, free: 27.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.231e-05/3.307, allocations: 0 / 489.6 MB, free: 27.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004159/3.307, allocations: 7.891 kB / 489.6 MB, free: 27.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-05/3.307, allocations: 66.11 kB / 489.7 MB, free: 27.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02678/3.334, allocations: 6.891 MB / 496.6 MB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/3.338, allocations: 1.46 MB / 498 MB, free: 24.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/3.341, allocations: 1.156 MB / 499.2 MB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.773e-05/3.341, allocations: 12.72 kB / 499.2 MB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/3.343, allocations: 0.8654 MB / 0.4883 GB, free: 23.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 5.991e-06/3.343, allocations: 0 / 0.4883 GB, free: 23.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.004997/3.348, allocations: 1.657 MB / 0.4899 GB, free: 23.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/3.348, allocations: 233.7 kB / 0.4902 GB, free: 23.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/3.351, allocations: 1.027 MB / 0.4912 GB, free: 22.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003951/3.351, allocations: 47.84 kB / 0.4912 GB, free: 22.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008106/3.352, allocations: 0.6296 MB / 0.4918 GB, free: 22.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005194/3.352, allocations: 362.2 kB / 0.4922 GB, free: 22.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/3.352, allocations: 0 / 0.4922 GB, free: 22.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/3.353, allocations: 366.9 kB / 0.4925 GB, free: 21.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/3.354, allocations: 0.6554 MB / 0.4932 GB, free: 21.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/3.356, allocations: 0.9422 MB / 0.4941 GB, free: 21.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/3.358, allocations: 0.7332 MB / 0.4948 GB, free: 21.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/3.358, allocations: 4 kB / 0.4948 GB, free: 21.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005174/3.363, allocations: 1.942 MB / 0.4967 GB, free: 20.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005681/3.364, allocations: 2.444 MB / 0.4991 GB, free: 17.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/3.364, allocations: 10.12 kB / 0.4991 GB, free: 17.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/3.366, allocations: 0.5535 MB / 0.4996 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/3.368, allocations: 180.9 kB / 0.4998 GB, free: 17.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/3.388, allocations: 5.487 MB / 0.5052 GB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/3.391, allocations: 177.7 kB / 0.5053 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/3.392, allocations: 46.58 kB / 0.5054 GB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/3.392, allocations: 3.719 kB / 0.5054 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004718/3.396, allocations: 1.773 MB / 0.5071 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/3.397, allocations: 5.969 kB / 0.5071 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/3.399, allocations: 0.5573 MB / 0.5077 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/3.4, allocations: 182.3 kB / 0.5078 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/3.414, allocations: 5.486 MB / 0.5132 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/3.417, allocations: 147.2 kB / 0.5133 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005742/3.417, allocations: 48 kB / 0.5134 GB, free: 8.234 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * 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 {6 38} Notification: Performance of prepare postOptimizeDAE: time 0.0008945/3.418, allocations: 176.8 kB / 0.5136 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/3.419, allocations: 134.3 kB / 0.5137 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/3.42, allocations: 157.5 kB / 0.5138 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/3.42, allocations: 12 kB / 0.5138 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/3.42, allocations: 0 / 0.5138 GB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.313e-05/3.42, allocations: 7.984 kB / 0.5139 GB, free: 7.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/3.436, allocations: 3.609 MB / 0.5174 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/3.436, allocations: 0 / 0.5174 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/3.438, allocations: 95.83 kB / 0.5175 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/3.441, allocations: 0.5317 MB / 0.518 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000384/3.442, allocations: 7.984 kB / 0.518 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/3.461, allocations: 5.332 MB / 0.5232 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/3.461, allocations: 0 / 0.5232 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01069/3.471, allocations: 2.65 MB / 0.5258 GB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01485/3.486, allocations: 3.977 MB / 0.5297 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/3.489, allocations: 371.2 kB / 0.53 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001003/3.49, allocations: 19.98 kB / 0.53 GB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002894/3.493, allocations: 99.91 kB / 0.5301 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007816/3.493, allocations: 112.7 kB / 0.5303 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/3.494, allocations: 35.98 kB / 0.5303 GB, free: 6.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003128/3.497, allocations: 0.7686 MB / 0.531 GB, free: 5.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00958/3.507, allocations: 0.8328 MB / 0.5318 GB, free: 5.109 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/3.507, allocations: 168.5 kB / 0.532 GB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008429/3.516, allocations: 2.939 MB / 0.5349 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/3.516, allocations: 0 / 0.5349 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002851/3.519, allocations: 0.9874 MB / 0.5358 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/3.521, allocations: 293 kB / 0.5361 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/3.532, allocations: 3.044 MB / 0.5391 GB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002882/3.535, allocations: 1.853 MB / 0.5409 GB, free: 11.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/3.535, allocations: 4 kB / 0.5409 GB, free: 11.71 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat