Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.WiredX,fileNamePrefix="Modelica_3_2_1_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.571/1.571, allocations: 171.2 MB / 178.1 MB, free: 15.95 MB / 158.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1469/1.718, allocations: 41.1 MB / 219.2 MB, free: 6.805 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/1.905, allocations: 38.77 MB / 258 MB, free: 15.26 MB / 222.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/2.048, allocations: 72.41 MB / 330.4 MB, free: 6.73 MB / 286.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/2.048, allocations: 63.97 kB / 330.5 MB, free: 6.668 MB / 286.1 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.2978/2.346, allocations: 43.54 MB / 374 MB, free: 44.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/2.346, allocations: 8.844 kB / 374 MB, free: 44.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/2.347, allocations: 79.06 kB / 374.1 MB, free: 44.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/2.348, allocations: 383.9 kB / 374.5 MB, free: 44.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.371e-05/2.348, allocations: 8 kB / 374.5 MB, free: 44.38 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/2.349, allocations: 16 kB / 374.5 MB, free: 44.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008057/2.35, allocations: 140.4 kB / 374.6 MB, free: 44.22 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/2.35, allocations: 274.9 kB / 374.9 MB, free: 43.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/2.351, allocations: 4 kB / 374.9 MB, free: 43.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/2.351, allocations: 7.906 kB / 374.9 MB, free: 43.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/2.351, allocations: 7.938 kB / 374.9 MB, free: 43.93 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/2.353, allocations: 0.7629 MB / 375.7 MB, free: 43.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/2.353, allocations: 202.5 kB / 375.9 MB, free: 42.92 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/2.353, allocations: 176.8 kB / 376.1 MB, free: 42.74 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/2.354, allocations: 4 kB / 376.1 MB, free: 42.74 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00055/2.354, allocations: 386.1 kB / 376.5 MB, free: 42.32 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 3.406e-06/2.354, allocations: 0 / 376.5 MB, free: 42.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00115/2.355, allocations: 456.6 kB / 376.9 MB, free: 41.87 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/2.355, allocations: 277 kB / 377.2 MB, free: 41.54 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/2.357, allocations: 0.8078 MB / 378 MB, free: 40.72 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/2.357, allocations: 33.7 kB / 378 MB, free: 40.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/2.357, allocations: 106 kB / 378.1 MB, free: 40.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/2.358, allocations: 59.2 kB / 378.2 MB, free: 40.52 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/2.358, allocations: 12 kB / 378.2 MB, free: 40.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.444e-05/2.358, allocations: 331.5 kB / 378.5 MB, free: 40.17 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/2.358, allocations: 132.2 kB / 378.6 MB, free: 40.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/2.358, allocations: 158.2 kB / 378.8 MB, free: 39.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/2.359, allocations: 119.9 kB / 378.9 MB, free: 39.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/2.359, allocations: 0 / 378.9 MB, free: 39.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00112/2.36, allocations: 428.9 kB / 379.3 MB, free: 39.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/2.36, allocations: 8 kB / 379.3 MB, free: 39.33 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/2.36, allocations: 0 / 379.3 MB, free: 39.33 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/2.36, allocations: 3.906 kB / 379.3 MB, free: 39.33 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.881e-05/2.36, allocations: 4 kB / 379.3 MB, free: 39.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/2.36, allocations: 4 kB / 379.3 MB, free: 39.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/2.361, allocations: 24.02 kB / 379.4 MB, free: 39.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/2.361, allocations: 263.8 kB / 379.6 MB, free: 39.04 MB / 286.1 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.0003735/2.361, allocations: 382.4 kB / 380 MB, free: 38.61 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/2.362, allocations: 75.16 kB / 380.1 MB, free: 38.53 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/2.362, allocations: 126.9 kB / 380.2 MB, free: 38.4 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/2.362, allocations: 4 kB / 380.2 MB, free: 38.4 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/2.362, allocations: 7.938 kB / 380.2 MB, free: 38.39 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/2.362, allocations: 3.906 kB / 380.2 MB, free: 38.39 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/2.364, allocations: 1.002 MB / 381.2 MB, free: 37.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/2.364, allocations: 0 / 381.2 MB, free: 37.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.434e-05/2.364, allocations: 4 kB / 381.2 MB, free: 37.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/2.364, allocations: 3.906 kB / 381.2 MB, free: 37.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001917/2.364, allocations: 51.94 kB / 381.3 MB, free: 37.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/2.364, allocations: 0 / 381.3 MB, free: 37.28 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.364, allocations: 0 / 381.3 MB, free: 37.28 MB / 286.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002242/2.367, allocations: 0.5805 MB / 381.9 MB, free: 36.68 MB / 286.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001202/2.368, allocations: 0.9597 MB / 382.8 MB, free: 35.7 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/2.369, allocations: 451.6 kB / 383.3 MB, free: 35.24 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/2.369, allocations: 16 kB / 383.3 MB, free: 35.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/2.37, allocations: 31.98 kB / 383.3 MB, free: 35.2 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003096/2.37, allocations: 71.91 kB / 383.4 MB, free: 35.12 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005012/2.371, allocations: 271.4 kB / 383.6 MB, free: 34.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 0.002218/2.373, allocations: 0.6431 MB / 384.3 MB, free: 34.22 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.003199/2.376, allocations: 83.98 kB / 384.4 MB, free: 34.14 MB / 286.1 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.0004251/2.377, allocations: 137.5 kB / 384.5 MB, free: 33.99 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/2.378, allocations: 0.5678 MB / 385.1 MB, free: 33.38 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/2.378, allocations: 3.938 kB / 385.1 MB, free: 33.37 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/2.38, allocations: 0.5405 MB / 385.6 MB, free: 32.78 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/2.382, allocations: 218.8 kB / 385.8 MB, free: 32.57 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/2.385, allocations: 1.054 MB / 386.9 MB, free: 31.47 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009331/2.386, allocations: 1.041 MB / 387.9 MB, free: 30.4 MB / 286.1 MB Notification: Performance of SimCode: time 1.102e-06/2.386, allocations: 0 / 387.9 MB, free: 30.4 MB / 286.1 MB