Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_2_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.696/1.696, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2431/1.939, allocations: 46.83 MB / 249.3 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/2.03, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/2.38, allocations: 74 MB / 367.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/2.38, allocations: 70.58 kB / 367.9 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.03431/2.414, allocations: 7.462 MB / 375.4 MB, free: 6.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/2.415, allocations: 15.66 kB / 375.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/2.415, allocations: 55.22 kB / 375.4 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005724/2.415, allocations: 323.8 kB / 375.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/2.415, allocations: 11.59 kB / 375.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/2.415, allocations: 23.34 kB / 375.8 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008506/2.416, allocations: 259.7 kB / 376.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/2.417, allocations: 346.8 kB / 376.4 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/2.417, allocations: 4 kB / 376.4 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/2.417, allocations: 8.359 kB / 376.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/2.417, allocations: 7.719 kB / 376.4 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003708/2.421, allocations: 1.573 MB / 378 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/2.422, allocations: 257.2 kB / 378.2 MB, free: 4.855 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003861/2.422, allocations: 170.5 kB / 378.4 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/2.422, allocations: 3.688 kB / 378.4 MB, free: 4.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004723/2.423, allocations: 252.5 kB / 378.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.815e-06/2.423, allocations: 0 / 378.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001324/2.424, allocations: 399.7 kB / 379 MB, free: 4.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/2.424, allocations: 217.4 kB / 379.3 MB, free: 20.33 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/2.425, allocations: 254.8 kB / 379.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/2.425, allocations: 29.58 kB / 379.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/2.425, allocations: 183.1 kB / 379.7 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/2.425, allocations: 105.5 kB / 379.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/2.425, allocations: 3.875 kB / 379.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/2.425, allocations: 346 kB / 380.2 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/2.425, allocations: 108.1 kB / 380.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/2.426, allocations: 168.1 kB / 380.4 MB, free: 19.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003551/2.426, allocations: 107.9 kB / 380.5 MB, free: 19.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/2.426, allocations: 0 / 380.5 MB, free: 19.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001053/2.427, allocations: 408.8 kB / 380.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/2.427, allocations: 3.812 kB / 380.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/2.427, allocations: 4.062 kB / 380.9 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/2.428, allocations: 159 kB / 381.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/2.428, allocations: 34.17 kB / 381.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005905/2.434, allocations: 5.336 MB / 386.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000716/2.435, allocations: 43.17 kB / 386.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/2.435, allocations: 11.69 kB / 386.5 MB, free: 14.34 MB / 314.7 MB 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.0002343/2.435, allocations: 167 kB / 386.7 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.843e-05/2.435, allocations: 35.09 kB / 386.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/2.436, allocations: 38.83 kB / 386.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/2.436, allocations: 3.781 kB / 386.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.436, allocations: 7.906 kB / 386.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/2.436, allocations: 3.984 kB / 386.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000628/2.436, allocations: 378.1 kB / 387.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.436, allocations: 0 / 387.1 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/2.437, allocations: 23.39 kB / 387.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007061/2.437, allocations: 157 kB / 387.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.948e-05/2.437, allocations: 7.875 kB / 387.3 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/2.444, allocations: 5.315 MB / 392.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/2.444, allocations: 0 / 392.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001392/2.445, allocations: 451.5 kB / 393.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001418/2.446, allocations: 0.8258 MB / 393.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003204/2.447, allocations: 142.3 kB / 394 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/2.447, allocations: 0 / 394 MB, free: 7.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/2.447, allocations: 39.16 kB / 394.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/2.448, allocations: 35.06 kB / 394.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/2.448, allocations: 11.69 kB / 394.1 MB, free: 7.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003019/2.448, allocations: 195.1 kB / 394.3 MB, free: 7.875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001617/2.45, allocations: 144 kB / 394.5 MB, free: 7.855 MB / 314.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.0003828/2.45, allocations: 129.4 kB / 394.6 MB, free: 7.758 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/2.452, allocations: 0.7394 MB / 395.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/2.452, allocations: 0 / 395.3 MB, free: 7.266 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009292/2.453, allocations: 0.5955 MB / 395.9 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/2.454, allocations: 62.08 kB / 396 MB, free: 6.789 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/2.456, allocations: 0.5279 MB / 396.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/2.457, allocations: 0.8452 MB / 397.4 MB, free: 5.766 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/2.457, allocations: 0 / 397.4 MB, free: 5.766 MB / 314.7 MB