Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREG,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_DLATREG",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.473/2.473, allocations: 195 MB / 202.9 MB, free: 6.652 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.029e-05, allocations: 4.406 kB / 249.8 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1087, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5154/0.6242, allocations: 77.03 MB / 371.3 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.6246, allocations: 67.27 kB / 371.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1177/0.7423, allocations: 26.58 MB / 397.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7423, allocations: 0 / 397.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/0.7424, allocations: 15.62 kB / 398 MB, free: 15.51 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001816/0.7442, allocations: 1.014 MB / 399 MB, free: 14.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.7443, allocations: 11.62 kB / 399 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001954/0.7445, allocations: 56.55 kB / 399 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/0.7448, allocations: 85.72 kB / 399.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.7458, allocations: 412.9 kB / 399.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.568e-05/0.746, allocations: 19.55 kB / 399.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.7461, allocations: 22.97 kB / 399.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009681/0.7471, allocations: 344.6 kB / 399.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.7485, allocations: 476.1 kB / 400.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.7485, allocations: 0 / 400.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.7486, allocations: 15.7 kB / 400.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7487, allocations: 3.875 kB / 400.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.7514, allocations: 0.88 MB / 401.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.7526, allocations: 492.8 kB / 401.8 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009815/0.7536, allocations: 482 kB / 402.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.7536, allocations: 3.812 kB / 402.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001419/0.755, allocations: 0.6287 MB / 402.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.118e-06/0.7551, allocations: 0 / 402.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002703/0.7578, allocations: 0.8811 MB / 403.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002881/0.7581, allocations: 281.6 kB / 404 MB, free: 12.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.7607, allocations: 0.9751 MB / 405 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.7609, allocations: 37.33 kB / 405 MB, free: 12.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.7612, allocations: 151.2 kB / 405.2 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.7614, allocations: 69.28 kB / 405.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.7615, allocations: 11.22 kB / 405.2 MB, free: 12.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.7617, allocations: 338.9 kB / 405.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008703/0.7626, allocations: 335.3 kB / 405.9 MB, free: 11.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008263/0.7635, allocations: 333.5 kB / 406.2 MB, free: 11.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.7641, allocations: 245 kB / 406.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7641, allocations: 0 / 406.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002484/0.7666, allocations: 0.8252 MB / 407.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/0.767, allocations: 250.9 kB / 407.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.767, allocations: 0 / 407.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.7671, allocations: 0 / 407.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.7671, allocations: 0 / 407.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.7671, allocations: 7.812 kB / 407.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007223/0.7679, allocations: 47.14 kB / 407.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/0.7681, allocations: 128.6 kB / 407.7 MB, free: 11.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.000688/0.7688, allocations: 408.2 kB / 408.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.7692, allocations: 86.88 kB / 408.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006169/0.7698, allocations: 149 kB / 408.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7698, allocations: 4 kB / 408.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.7698, allocations: 0 / 408.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.7699, allocations: 7.984 kB / 408.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00459/0.7745, allocations: 1.588 MB / 409.9 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.7745, allocations: 4 kB / 410 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.7746, allocations: 3.875 kB / 410 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7746, allocations: 0 / 410 MB, free: 9.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/0.7748, allocations: 35.03 kB / 410 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7748, allocations: 0 / 410 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.7748, allocations: 0 / 410 MB, free: 9.309 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003192/0.778, allocations: 1.059 MB / 411.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/0.7799, allocations: 0.5515 MB / 411.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.7802, allocations: 58.52 kB / 411.7 MB, free: 8.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000703/0.781, allocations: 42.62 kB / 411.7 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008761/0.7819, allocations: 229.1 kB / 411.9 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000323/0.7822, allocations: 138.9 kB / 412.1 MB, free: 7.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002294/0.7845, allocations: 0.8155 MB / 412.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.7846, allocations: 0 / 412.9 MB, free: 7.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001021/0.7856, allocations: 120 kB / 413 MB, free: 6.906 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.003865/0.7895, allocations: 1.694 MB / 414.7 MB, free: 5.434 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003239/0.7928, allocations: 1.478 MB / 416.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7928, allocations: 0 / 416.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.7949, allocations: 1.124 MB / 417.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/0.7973, allocations: 254.8 kB / 417.5 MB, free: 2.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.8038, allocations: 1.845 MB / 419.4 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/0.8053, allocations: 1.035 MB / 420.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.8056, allocations: 49.73 kB / 420.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.8059, allocations: 71.41 kB / 420.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.8059, allocations: 0 / 420.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/0.909, allocations: 15.22 MB / 435.8 MB, free: 144 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003997/0.9095, allocations: 147 kB / 435.9 MB, free: 15.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.68/4.589, allocations: 3.938 kB / 435.9 MB, free: 15.93 MB / 346.7 MB "" Variables in the reference:time,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'-'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'0'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'1'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'H'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'L'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'U'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'W'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'X'],dLATREG.dLATR.ResetMap[Modelica.Electrical.Digital.Interfaces.Logic.'Z'],dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable,dLATREG.dLATR.enable_flag,dLATREG.dLATR.n,dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.reset,dLATREG.dLATR.reset_flag,dLATREG.dLATR.strength,dLATREG.dataIn[1],dLATREG.dataIn[2],dLATREG.dataOut[1],dLATREG.dataOut[2],dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].tHL,dLATREG.delay.inertialDelaySensitive[1].tLH,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y0,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].tHL,dLATREG.delay.inertialDelaySensitive[2].tLH,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y0,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.n,dLATREG.delay.tHL,dLATREG.delay.tLH,dLATREG.delay.x[1],dLATREG.delay.x[2],dLATREG.delay.y[1],dLATREG.delay.y[2],dLATREG.enable,dLATREG.n,dLATREG.reset,dLATREG.strength,dLATREG.tHL,dLATREG.tLH,data_0.n,data_0.t[1],data_0.t[2],data_0.x[1],data_0.x[2],data_0.y,data_0.y0,data_1.n,data_1.t[1],data_1.t[2],data_1.x[1],data_1.x[2],data_1.y,data_1.y0,enable.n,enable.t[1],enable.t[2],enable.t[3],enable.x[1],enable.x[2],enable.x[3],enable.y,enable.y0,reset.n,reset.t[1],reset.t[2],reset.t[3],reset.t[4],reset.t[5],reset.x[1],reset.x[2],reset.x[3],reset.x[4],reset.x[5],reset.y,reset.y0,time