Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.76e-05, allocations: 4 kB / 255.3 MB, free: 3.203 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08347, allocations: 44.5 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.496, allocations: 78.46 MB / 378.3 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4963, allocations: 68.52 kB / 378.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1233/0.6196, allocations: 43.15 MB / 421.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.361e-06/0.6197, allocations: 0 / 421.5 MB, free: 11.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.6197, allocations: 7.906 kB / 421.5 MB, free: 11.6 MB / 314.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.000832/0.6206, allocations: 0.9548 MB / 422.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.6206, allocations: 7.812 kB / 422.5 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.6208, allocations: 78.12 kB / 422.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.6212, allocations: 360.1 kB / 422.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.6213, allocations: 11.53 kB / 422.9 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.6214, allocations: 26.78 kB / 422.9 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.622, allocations: 298 kB / 423.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.99e-06/0.622, allocations: 0 / 423.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.6221, allocations: 15.42 kB / 423.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.688e-06/0.6221, allocations: 3.906 kB / 423.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.6225, allocations: 146.8 kB / 423.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.6239, allocations: 0.7641 MB / 424.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.6243, allocations: 209.2 kB / 424.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.6247, allocations: 186.3 kB / 424.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.6248, allocations: 3.844 kB / 424.6 MB, free: 9.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005615/0.6253, allocations: 430.2 kB / 425 MB, free: 9.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.451e-06/0.6254, allocations: 3.875 kB / 425 MB, free: 9.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001446/0.6268, allocations: 0.8542 MB / 425.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.6269, allocations: 283.6 kB / 426.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.6283, allocations: 0.8318 MB / 426.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.6284, allocations: 35.83 kB / 427 MB, free: 8.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.6285, allocations: 182.7 kB / 427.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6286, allocations: 65.91 kB / 427.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.6287, allocations: 7.344 kB / 427.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.955e-05/0.6288, allocations: 329.7 kB / 427.5 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.6291, allocations: 135.5 kB / 427.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.6295, allocations: 172.8 kB / 427.8 MB, free: 7.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.6298, allocations: 357.2 kB / 428.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-06/0.6299, allocations: 0 / 428.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001414/0.6313, allocations: 0.8096 MB / 429 MB, free: 7.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.6314, allocations: 243.1 kB / 429.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.794e-06/0.6314, allocations: 0 / 429.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6315, allocations: 3.75 kB / 429.2 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.567e-05/0.6315, allocations: 7.594 kB / 429.3 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.74e-06/0.6315, allocations: 0 / 429.3 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.6319, allocations: 42.16 kB / 429.3 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.6322, allocations: 256.5 kB / 429.5 MB, free: 6.84 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.0003086/0.6325, allocations: 406.2 kB / 429.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6327, allocations: 77.19 kB / 430 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.633, allocations: 127.3 kB / 430.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.922e-06/0.633, allocations: 3.875 kB / 430.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.714e-06/0.633, allocations: 0 / 430.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.831e-06/0.6331, allocations: 3.984 kB / 430.2 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.6354, allocations: 1.484 MB / 431.6 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.6354, allocations: 7.188 kB / 431.6 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.6355, allocations: 7.156 kB / 431.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.073e-06/0.6355, allocations: 0 / 431.7 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.6356, allocations: 47.72 kB / 431.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.335e-06/0.6356, allocations: 3.188 kB / 431.7 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.143e-06/0.6356, allocations: 3.984 kB / 431.7 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.6373, allocations: 1.013 MB / 432.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008217/0.6381, allocations: 432.2 kB / 433.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.6383, allocations: 30.36 kB / 433.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/0.6388, allocations: 30.77 kB / 433.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/0.639, allocations: 76.91 kB / 433.3 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/0.6393, allocations: 261.8 kB / 433.5 MB, free: 4.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001101/0.6404, allocations: 0.6855 MB / 434.2 MB, free: 4.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.613e-06/0.6404, allocations: 0 / 434.2 MB, free: 4.375 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005749/0.641, allocations: 96.75 kB / 434.3 MB, free: 4.371 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: 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.0002067/0.6412, allocations: 147.8 kB / 434.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.6423, allocations: 0.898 MB / 435.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.525e-06/0.6423, allocations: 0 / 435.4 MB, free: 3.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008418/0.6432, allocations: 0.7648 MB / 436.1 MB, free: 19.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.6442, allocations: 231.8 kB / 436.3 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.6464, allocations: 1.129 MB / 437.5 MB, free: 17.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008062/0.6472, allocations: 0.9623 MB / 438.4 MB, free: 16.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.6474, allocations: 51.34 kB / 438.5 MB, free: 16.86 MB / 330.7 MB Notification: Performance of SimCode: time 2.051e-06/0.6474, allocations: 3.938 kB / 438.5 MB, free: 16.86 MB / 330.7 MB Notification: Performance of Templates: time 0.01322/0.6606, allocations: 7.918 MB / 446.4 MB, free: 8.824 MB / 330.7 MB