Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Nand,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Nand",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.796/1.796, allocations: 194.9 MB / 202.5 MB, free: 6.941 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2309/2.027, allocations: 46.83 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/2.121, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3277/2.449, allocations: 96.93 MB / 390.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/2.449, allocations: 69.09 kB / 390.8 MB, free: 3.117 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.6314/3.081, allocations: 121.2 MB / 0.5 GB, free: 43.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/3.081, allocations: 10.84 kB / 0.5001 GB, free: 43.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/3.081, allocations: 371.7 kB / 0.5004 GB, free: 43.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006656/3.088, allocations: 2.244 MB / 0.5026 GB, free: 42.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/3.088, allocations: 18.81 kB / 0.5026 GB, free: 42.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000322/3.089, allocations: 36.11 kB / 0.5027 GB, free: 42.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001835/3.09, allocations: 0.6591 MB / 0.5033 GB, free: 42.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/3.092, allocations: 0.6945 MB / 0.504 GB, free: 42.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/3.092, allocations: 0 / 0.504 GB, free: 42.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/3.092, allocations: 0 / 0.504 GB, free: 42.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.43e-05/3.093, allocations: 25.09 kB / 0.504 GB, free: 42.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00905/3.102, allocations: 2.831 MB / 0.5068 GB, free: 42.01 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009457/3.103, allocations: 360.5 kB / 0.5071 GB, free: 42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/3.104, allocations: 0.5454 MB / 0.5076 GB, free: 41.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05025/3.154, allocations: 35.92 MB / 0.5427 GB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/3.155, allocations: 295 kB / 0.543 GB, free: 15.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 4.258e-06/3.155, allocations: 0 / 0.543 GB, free: 15.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.002554/3.157, allocations: 0.8692 MB / 0.5438 GB, free: 15.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/3.158, allocations: 266.7 kB / 0.5441 GB, free: 14.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/3.163, allocations: 2.114 MB / 0.5462 GB, free: 14.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001774/3.163, allocations: 29.67 kB / 0.5462 GB, free: 14.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006771/3.163, allocations: 0.6089 MB / 0.5468 GB, free: 14.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/3.164, allocations: 171.5 kB / 0.5469 GB, free: 14.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/3.164, allocations: 0 / 0.5469 GB, free: 14.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.463e-05/3.164, allocations: 339.9 kB / 0.5473 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/3.164, allocations: 162.5 kB / 0.5474 GB, free: 14.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/3.165, allocations: 0.5651 MB / 0.548 GB, free: 13.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/3.166, allocations: 260.5 kB / 0.5482 GB, free: 13.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/3.166, allocations: 5.062 kB / 0.5482 GB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003373/3.169, allocations: 1.087 MB / 0.5493 GB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/3.17, allocations: 8.594 kB / 0.5493 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/3.17, allocations: 78.97 kB / 0.5494 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008698/3.171, allocations: 275.3 kB / 0.5496 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/3.172, allocations: 184.2 kB / 0.5498 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/3.174, allocations: 0.9402 MB / 0.5507 GB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/3.176, allocations: 116.1 kB / 0.5508 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/3.176, allocations: 63.59 kB / 0.5509 GB, free: 12.7 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin1.counter,vin1.counter,$PRE.vin2.counter,vin2.counter,$whenCondition2,$whenCondition1,$PRE.vin1.T0,vin1.T0,$PRE.vin1.counter2,vin1.counter2,$PRE.vin2.T0,vin2.T0,$PRE.vin2.counter2,vin2.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002972/3.177, allocations: 137.7 kB / 0.551 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000705/3.177, allocations: 369.4 kB / 0.5514 GB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006991/3.184, allocations: 1.46 MB / 0.5528 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/3.184, allocations: 3.062 kB / 0.5528 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/3.184, allocations: 2.469 kB / 0.5528 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/3.185, allocations: 0 / 0.5528 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005666/3.19, allocations: 2.01 MB / 0.5548 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001585/3.19, allocations: 67.78 kB / 0.5548 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/3.191, allocations: 82.56 kB / 0.5549 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008403/3.192, allocations: 257.4 kB / 0.5552 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/3.192, allocations: 31.61 kB / 0.5552 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/3.194, allocations: 0.9265 MB / 0.5561 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/3.194, allocations: 0 / 0.5561 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002536/3.196, allocations: 1.126 MB / 0.5572 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00281/3.199, allocations: 1.568 MB / 0.5587 GB, free: 25.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/3.201, allocations: 476.1 kB / 0.5592 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009657/3.202, allocations: 7.594 kB / 0.5592 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/3.204, allocations: 44.81 kB / 0.5592 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/3.204, allocations: 63.11 kB / 0.5593 GB, free: 25.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/3.204, allocations: 38.19 kB / 0.5593 GB, free: 25.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004261/3.209, allocations: 1.558 MB / 0.5609 GB, free: 25.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003989/3.213, allocations: 0.6075 MB / 0.5615 GB, free: 25.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,vin1.T0,vin1.counter,vin1.counter2,vin2.T0,vin2.counter,vin2.counter2) * Number of discrete states: 4 (vin1.counter2,vin2.counter2,vin1.counter,vin2.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/3.215, allocations: 0.9441 MB / 0.5624 GB, free: 25.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/3.217, allocations: 0.688 MB / 0.563 GB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/3.217, allocations: 2.719 kB / 0.5631 GB, free: 25.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/3.218, allocations: 428.9 kB / 0.5635 GB, free: 24.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/3.221, allocations: 452.8 kB / 0.5639 GB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008848/3.23, allocations: 2.775 MB / 0.5666 GB, free: 24.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002406/3.232, allocations: 1.804 MB / 0.5684 GB, free: 23.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/3.232, allocations: 6.719 kB / 0.5684 GB, free: 23.3 MB / 410.7 MB