Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.FourInverters,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_FourInverters",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.882/1.882, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2824/2.165, allocations: 41.1 MB / 219.2 MB, free: 11.16 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/2.256, allocations: 38.76 MB / 258 MB, free: 4.34 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/2.626, allocations: 93.69 MB / 351.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/2.626, allocations: 71.59 kB / 351.8 MB, free: 10.57 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.8859/3.512, allocations: 195.7 MB / 0.5347 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/3.512, allocations: 8 kB / 0.5347 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/3.515, allocations: 0.7487 MB / 0.5354 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1763/3.691, allocations: 4.523 MB / 0.5398 GB, free: 70.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.932e-05/3.691, allocations: 33.98 kB / 0.5398 GB, free: 70.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006366/3.692, allocations: 61.53 kB / 0.5399 GB, free: 70.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004997/3.697, allocations: 1.315 MB / 0.5412 GB, free: 70.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006018/3.703, allocations: 1.326 MB / 0.5425 GB, free: 70.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.655e-05/3.703, allocations: 0 / 0.5425 GB, free: 70.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/3.703, allocations: 3.75 kB / 0.5425 GB, free: 70.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.326e-05/3.704, allocations: 40.11 kB / 0.5425 GB, free: 70.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02856/3.732, allocations: 5.691 MB / 0.5481 GB, free: 69.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/3.735, allocations: 0.6499 MB / 0.5487 GB, free: 69.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003519/3.738, allocations: 1.045 MB / 0.5497 GB, free: 69.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1489/3.887, allocations: 71.61 MB / 0.6197 GB, free: 33.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001615/3.889, allocations: 484.8 kB / 0.6201 GB, free: 33.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 1.153e-05/3.889, allocations: 0 / 0.6201 GB, free: 33.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.006134/3.895, allocations: 1.428 MB / 0.6215 GB, free: 32.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003737/3.896, allocations: 483.5 kB / 0.622 GB, free: 32.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01945/3.915, allocations: 4.41 MB / 0.6263 GB, free: 31.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004396/3.916, allocations: 28.52 kB / 0.6263 GB, free: 31.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/3.918, allocations: 1.174 MB / 0.6275 GB, free: 31.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008332/3.919, allocations: 294.2 kB / 0.6277 GB, free: 31.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/3.919, allocations: 0 / 0.6277 GB, free: 31.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002546/3.919, allocations: 372.5 kB / 0.6281 GB, free: 31.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/3.921, allocations: 311.6 kB / 0.6284 GB, free: 31.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/3.923, allocations: 1.078 MB / 0.6295 GB, free: 30.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002386/3.925, allocations: 0.4908 MB / 0.6299 GB, free: 30.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-05/3.926, allocations: 6.531 kB / 0.6299 GB, free: 30.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008668/3.934, allocations: 1.926 MB / 0.6318 GB, free: 29.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/3.934, allocations: 3.906 kB / 0.6318 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000595/3.935, allocations: 161.6 kB / 0.632 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-05/3.935, allocations: 36.12 kB / 0.632 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003167/3.938, allocations: 377.2 kB / 0.6324 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.091e-05/3.938, allocations: 50.56 kB / 0.6324 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005435/3.944, allocations: 171.5 kB / 0.6326 GB, free: 29.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000621/3.944, allocations: 135 kB / 0.6327 GB, free: 29.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.0004959/3.945, allocations: 178.3 kB / 0.6329 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002036/3.947, allocations: 0.7236 MB / 0.6336 GB, free: 29.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/3.962, allocations: 2.624 MB / 0.6362 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/3.962, allocations: 10.91 kB / 0.6362 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/3.962, allocations: 0 / 0.6362 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/3.962, allocations: 3.656 kB / 0.6362 GB, free: 28.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/3.98, allocations: 3.547 MB / 0.6396 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004485/3.98, allocations: 148.9 kB / 0.6398 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/3.983, allocations: 164.7 kB / 0.6399 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/3.983, allocations: 3.625 kB / 0.6399 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004479/3.983, allocations: 59.08 kB / 0.64 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/3.983, allocations: 0 / 0.64 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.086e-06/3.983, allocations: 3.75 kB / 0.64 GB, free: 28.57 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007858/3.991, allocations: 2.059 MB / 0.642 GB, free: 27.87 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01098/4.002, allocations: 2.936 MB / 0.6449 GB, free: 26.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004318/4.007, allocations: 0.9437 MB / 0.6458 GB, free: 26.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00251/4.009, allocations: 10.88 kB / 0.6458 GB, free: 26.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004033/4.013, allocations: 41.64 kB / 0.6458 GB, free: 26.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/4.014, allocations: 96.39 kB / 0.6459 GB, free: 26.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/4.014, allocations: 72.23 kB / 0.646 GB, free: 26.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.01085/4.025, allocations: 3.251 MB / 0.6492 GB, free: 25.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005867/4.031, allocations: 1.144 MB / 0.6503 GB, free: 24.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (c1.vinternal,c2.vinternal,c3.vinternal,c4.vinternal) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 6 * 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.002989/4.034, allocations: 1.311 MB / 0.6516 GB, free: 23.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003352/4.038, allocations: 1.254 MB / 0.6528 GB, free: 22.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/4.038, allocations: 0 / 0.6528 GB, free: 22.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/4.039, allocations: 0.7095 MB / 0.6535 GB, free: 21.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006516/4.046, allocations: 0.9161 MB / 0.6544 GB, free: 21.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/4.067, allocations: 6.045 MB / 0.6603 GB, free: 16.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00576/4.073, allocations: 3.039 MB / 0.6633 GB, free: 14.1 MB / 362.7 MB Notification: Performance of SimCode: time 2.194e-06/4.073, allocations: 0 / 0.6633 GB, free: 14.1 MB / 362.7 MB