Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_basicLogicOperations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.127/2.127, allocations: 216.8 MB / 229 MB, free: 15.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.225e-05, allocations: 4 kB / 282 MB, free: 10.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 50 MB / 332 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5513, allocations: 82.02 MB / 414 MB, free: 14.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5516, allocations: 82.7 kB / 414.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06307/0.6147, allocations: 13.89 MB / 428 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.6148, allocations: 0 / 428 MB, free: 2.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.778e-05/0.6149, allocations: 15.98 kB / 428 MB, free: 2.336 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00156/0.6165, allocations: 0.7572 MB / 428.8 MB, free: 1.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.6165, allocations: 8.031 kB / 428.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.6166, allocations: 53.8 kB / 428.8 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.6168, allocations: 59.3 kB / 428.9 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.6183, allocations: 500 kB / 429.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.6184, allocations: 15.8 kB / 429.4 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.6185, allocations: 15.69 kB / 429.4 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.6191, allocations: 270.6 kB / 429.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6192, allocations: 0 / 429.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.6192, allocations: 7.938 kB / 429.7 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.6193, allocations: 8 kB / 429.7 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003584/0.6196, allocations: 122.3 kB / 429.8 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.6214, allocations: 0.7186 MB / 430.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000552/0.622, allocations: 201 kB / 430.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.6223, allocations: 84.02 kB / 430.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.6223, allocations: 4 kB / 430.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.6228, allocations: 199 kB / 431 MB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 3.737e-06/0.6228, allocations: 0 / 431 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001026/0.6239, allocations: 332.3 kB / 431.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.624, allocations: 140 kB / 431.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.6254, allocations: 0.6391 MB / 432.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.289e-05/0.6256, allocations: 32.95 kB / 432.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.6258, allocations: 246.4 kB / 432.4 MB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.626, allocations: 68.28 kB / 432.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.626, allocations: 7.375 kB / 432.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6262, allocations: 367.2 kB / 432.8 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.6264, allocations: 79.27 kB / 432.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.6268, allocations: 217.1 kB / 433.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.6271, allocations: 106.2 kB / 433.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.6271, allocations: 0 / 433.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009322/0.6281, allocations: 334.9 kB / 433.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.6281, allocations: 11.22 kB / 433.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6281, allocations: 7.953 kB / 433.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.6282, allocations: 4 kB / 433.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.6285, allocations: 39.92 kB / 433.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.6285, allocations: 12.39 kB / 433.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.6289, allocations: 34.72 kB / 433.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.417e-05/0.629, allocations: 19.23 kB / 433.6 MB, free: 13.33 MB / 362.7 MB Warning: Assuming fixed start value for the following 4 variables: xor_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] or_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] not_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] and_gate.y[1]:DISCRETE(fixed = false ) "output vector" type: Boolean [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.xor_gate.y[1],xor_gate.y[1],$PRE.or_gate.y[1],or_gate.y[1],$PRE.not_gate.y[1],not_gate.y[1],$PRE.and_gate.y[1],and_gate.y[1],$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$PRE.booleanConstant2.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.booleanConstant1.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.booleanConstant.combiTimeTable.nextTimeEvent,$whenCondition1,and_gate.u[2],booleanConstant2.combiTimeTable.nextTimeEvent,$PRE.booleanConstant2.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled,and_gate.u[3],booleanConstant1.combiTimeTable.nextTimeEvent,$PRE.booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,and_gate.u[4],booleanConstant.combiTimeTable.nextTimeEvent,$PRE.booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant.combiTimeTable.nextTimeEventScaled,not_gate_C.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 1 * Algorithm blocks: 0 * 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.0002814/0.6293, allocations: 160 kB / 433.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.6295, allocations: 55.34 kB / 433.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.6305, allocations: 357.8 kB / 434.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.6306, allocations: 7.953 kB / 434.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6306, allocations: 0 / 434.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.6306, allocations: 3.984 kB / 434.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008521/0.6315, allocations: 448.1 kB / 434.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6315, allocations: 0 / 434.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001467/0.6317, allocations: 19.94 kB / 434.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-05/0.6317, allocations: 4 kB / 434.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.6317, allocations: 11.36 kB / 434.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.6317, allocations: 0 / 434.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6318, allocations: 3.953 kB / 434.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009763/0.6327, allocations: 380.6 kB / 435.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.633, allocations: 161.1 kB / 435.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6331, allocations: 7.875 kB / 435.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.6334, allocations: 19.86 kB / 435.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6336, allocations: 26.98 kB / 435.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.6336, allocations: 15.86 kB / 435.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00106/0.6347, allocations: 0.5023 MB / 435.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6347, allocations: 3.938 kB / 435.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008421/0.6356, allocations: 131.7 kB / 435.9 MB, free: 11.38 MB / 362.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: 21 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,and_gate.u[2],and_gate.u[3],and_gate.u[4],and_gate.y[1],booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEventScaled,not_gate.y[1],or_gate.y[1],xor_gate.y[1],not_gate_C.y[1]) * Number of discrete states: 6 (booleanConstant.combiTimeTable.nextTimeEvent,booleanConstant1.combiTimeTable.nextTimeEvent,booleanConstant2.combiTimeTable.nextTimeEvent,booleanConstant.combiTimeTable.nextTimeEventScaled,booleanConstant1.combiTimeTable.nextTimeEventScaled,booleanConstant2.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 19 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002518/0.6381, allocations: 1.247 MB / 437.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008408/0.639, allocations: 247 kB / 437.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.639, allocations: 0 / 437.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003148/0.6393, allocations: 125.2 kB / 437.5 MB, free: 9.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.6403, allocations: 112.2 kB / 437.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.6428, allocations: 0.8346 MB / 438.5 MB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.6434, allocations: 0.8752 MB / 439.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004888/0.6439, allocations: 94.94 kB / 439.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.6443, allocations: 185.5 kB / 439.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6443, allocations: 0 / 439.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.6893, allocations: 11.36 MB / 451 MB, free: 12.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003201/0.6897, allocations: 239.4 kB / 451.2 MB, free: 12.48 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3/3.69, allocations: 3.938 kB / 451.2 MB, free: 12.48 MB / 378.7 MB