Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",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.85/1.85, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2042/2.055, allocations: 41.11 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09714/2.152, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/2.474, allocations: 69.24 MB / 327.3 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/2.474, allocations: 68.12 kB / 327.3 MB, free: 2.832 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.05001/2.524, allocations: 7.45 MB / 334.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.524, allocations: 8 kB / 334.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/2.525, allocations: 59.34 kB / 334.8 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007665/2.525, allocations: 319.5 kB / 335.1 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/2.525, allocations: 12 kB / 335.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/2.526, allocations: 24 kB / 335.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009575/2.527, allocations: 269.5 kB / 335.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/2.528, allocations: 341.4 kB / 335.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/2.528, allocations: 0 / 335.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/2.528, allocations: 0 / 335.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/2.528, allocations: 15.94 kB / 335.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/2.532, allocations: 1.571 MB / 337.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/2.533, allocations: 270.2 kB / 337.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004435/2.533, allocations: 166 kB / 337.8 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/2.533, allocations: 8.281 kB / 337.8 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/2.534, allocations: 252.1 kB / 338 MB, free: 9.578 MB / 282.7 MB Notification: Performance of pre-optimization done (n=38): time 3.697e-06/2.534, allocations: 0 / 338 MB, free: 9.578 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.002112/2.536, allocations: 404.2 kB / 338.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/2.536, allocations: 221.1 kB / 338.7 MB, free: 8.992 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/2.537, allocations: 247.8 kB / 338.9 MB, free: 8.793 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/2.537, allocations: 29.7 kB / 338.9 MB, free: 8.758 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/2.538, allocations: 179.2 kB / 339.1 MB, free: 8.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/2.538, allocations: 112.1 kB / 339.2 MB, free: 8.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/2.538, allocations: 0 / 339.2 MB, free: 8.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/2.538, allocations: 348.5 kB / 339.6 MB, free: 8.164 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/2.539, allocations: 104.6 kB / 339.7 MB, free: 8.105 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/2.539, allocations: 165.8 kB / 339.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/2.54, allocations: 109.7 kB / 339.9 MB, free: 7.902 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/2.54, allocations: 0 / 339.9 MB, free: 7.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001807/2.542, allocations: 407.8 kB / 340.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/2.542, allocations: 4 kB / 340.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/2.542, allocations: 0 / 340.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/2.543, allocations: 154 kB / 340.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/2.543, allocations: 47.72 kB / 340.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009477/2.553, allocations: 5.326 MB / 345.9 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/2.554, allocations: 51.72 kB / 345.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/2.554, allocations: 15.81 kB / 345.9 MB, free: 1.871 MB / 282.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealGTOThyristor2.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealThyristor2.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealGTOThyristor1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: IdealThyristor1.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition2,$whenCondition1,$PRE.IdealThyristor1.off,IdealThyristor1.off,IdealGTOThyristor1.off,$PRE.booleanStep1.y,booleanStep1.y,$PRE.booleanStep1.nextTime,booleanStep1.nextTime,$PRE.booleanStep1.index,booleanStep1.index,$PRE.IdealThyristor2.off,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005205/2.555, allocations: 155.7 kB / 346.1 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/2.555, allocations: 39.53 kB / 346.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002006/2.555, allocations: 40.75 kB / 346.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/2.555, allocations: 7.938 kB / 346.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/2.555, allocations: 0 / 346.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/2.555, allocations: 0 / 346.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009776/2.556, allocations: 388.7 kB / 346.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/2.556, allocations: 0 / 346.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000396/2.557, allocations: 31.42 kB / 346.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/2.558, allocations: 153.2 kB / 346.7 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/2.558, allocations: 4 kB / 346.7 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0072/2.565, allocations: 5.316 MB / 352 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/2.565, allocations: 0 / 352 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001638/2.567, allocations: 448.6 kB / 352.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001919/2.569, allocations: 0.8154 MB / 353.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/2.569, allocations: 148.8 kB / 353.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/2.569, allocations: 7.938 kB / 353.4 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/2.57, allocations: 35.97 kB / 353.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/2.57, allocations: 35.66 kB / 353.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/2.57, allocations: 11.94 kB / 353.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0004913/2.571, allocations: 191.9 kB / 353.7 MB, free: 10.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002224/2.573, allocations: 143.8 kB / 353.9 MB, free: 10.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealGTOThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,IdealThyristor2.off,IdealGTOThyristor2.off,IdealGTOThyristor2.fire,booleanPulse.pulsStart) * Number of discrete states: 6 (IdealThyristor1.off,booleanStep1.y,booleanStep1.nextTime,booleanStep1.index,$whenCondition1,IdealThyristor2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003976/2.573, allocations: 130.7 kB / 354 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/2.575, allocations: 0.7451 MB / 354.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/2.575, allocations: 4 kB / 354.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/2.576, allocations: 0.5999 MB / 355.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/2.577, allocations: 55.75 kB / 355.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/2.579, allocations: 478.4 kB / 355.8 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/2.581, allocations: 0.8426 MB / 356.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of SimCode: time 1.984e-06/2.581, allocations: 0 / 356.7 MB, free: 7.262 MB / 298.7 MB