Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_WiredX",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.814/1.814, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3045/2.118, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/2.213, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/2.53, allocations: 77.73 MB / 371.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/2.531, allocations: 66.97 kB / 371.6 MB, free: 7.141 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.1572/2.688, allocations: 43.08 MB / 414.7 MB, free: 6.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/2.688, allocations: 12 kB / 414.7 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/2.688, allocations: 75.62 kB / 414.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/2.689, allocations: 378.7 kB / 415.2 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/2.689, allocations: 9.062 kB / 415.2 MB, free: 6.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/2.689, allocations: 16.69 kB / 415.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005099/2.69, allocations: 139.8 kB / 415.3 MB, free: 6.164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/2.691, allocations: 276.1 kB / 415.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/2.691, allocations: 0 / 415.6 MB, free: 5.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/2.691, allocations: 9 kB / 415.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/2.691, allocations: 3.984 kB / 415.6 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/2.693, allocations: 0.7658 MB / 416.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/2.694, allocations: 198.5 kB / 416.6 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/2.694, allocations: 176.8 kB / 416.8 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/2.694, allocations: 0 / 416.8 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006992/2.695, allocations: 401.4 kB / 417.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.976e-06/2.695, allocations: 0 / 417.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001337/2.696, allocations: 452.6 kB / 417.6 MB, free: 3.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/2.696, allocations: 281 kB / 417.9 MB, free: 3.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/2.698, allocations: 0.7922 MB / 418.7 MB, free: 2.734 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/2.699, allocations: 33.7 kB / 418.7 MB, free: 2.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/2.699, allocations: 106 kB / 418.8 MB, free: 2.586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/2.699, allocations: 63.27 kB / 418.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/2.699, allocations: 8 kB / 418.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/2.699, allocations: 338.7 kB / 419.2 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/2.7, allocations: 132.2 kB / 419.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/2.7, allocations: 158.2 kB / 419.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/2.7, allocations: 119.8 kB / 419.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/2.7, allocations: 0 / 419.6 MB, free: 1.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001182/2.702, allocations: 417.1 kB / 420 MB, free: 1.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/2.702, allocations: 11.97 kB / 420 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/2.702, allocations: 0 / 420 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/2.702, allocations: 4 kB / 420 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.719e-05/2.702, allocations: 4 kB / 420 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/2.702, allocations: 7.922 kB / 420 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/2.702, allocations: 27.89 kB / 420.1 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003936/2.703, allocations: 263.8 kB / 420.3 MB, free: 1.043 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * 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.0004961/2.703, allocations: 386.3 kB / 420.7 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/2.703, allocations: 79.06 kB / 420.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/2.704, allocations: 126.9 kB / 420.9 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/2.704, allocations: 0 / 420.9 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/2.704, allocations: 0 / 420.9 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/2.704, allocations: 4 kB / 420.9 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/2.706, allocations: 0.9978 MB / 421.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/2.707, allocations: 4 kB / 421.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.311e-05/2.707, allocations: 11.97 kB / 421.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/2.707, allocations: 0 / 421.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/2.707, allocations: 51.64 kB / 422 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/2.707, allocations: 0 / 422 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/2.707, allocations: 0 / 422 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001444/2.708, allocations: 0.5843 MB / 422.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001544/2.71, allocations: 0.9637 MB / 423.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/2.711, allocations: 439.8 kB / 423.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/2.712, allocations: 23.91 kB / 424 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/2.712, allocations: 27.97 kB / 424 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/2.712, allocations: 63.92 kB / 424 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000419/2.713, allocations: 271.5 kB / 424.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.001647/2.715, allocations: 0.6587 MB / 425 MB, free: 12.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001753/2.716, allocations: 76 kB / 425 MB, free: 12.15 MB / 330.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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0003993/2.717, allocations: 149.4 kB / 425.2 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/2.718, allocations: 0.56 MB / 425.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/2.718, allocations: 0 / 425.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009919/2.719, allocations: 0.5445 MB / 426.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/2.721, allocations: 218.5 kB / 426.5 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/2.725, allocations: 1.045 MB / 427.6 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/2.726, allocations: 1.053 MB / 428.6 MB, free: 8.422 MB / 330.7 MB Notification: Performance of SimCode: time 2.074e-06/2.726, allocations: 0 / 428.6 MB, free: 8.422 MB / 330.7 MB