Notification: Performance of loadModel(Modelica_Synchronous): time 1.657/1.657, allocations: 207.2 MB / 213.5 MB, free: 8.871 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1623/1.82, allocations: 49.13 MB / 262.6 MB, free: 7.535 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06466/1.884, allocations: 47.16 MB / 309.8 MB, free: 8.285 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.229/2.114, allocations: 73.07 MB / 382.9 MB, free: 0.5352 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/2.114, allocations: 70.33 kB / 382.9 MB, free: 0.4961 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.007458/2.121, allocations: 1.98 MB / 384.9 MB, free: 14.88 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/2.122, allocations: 8 kB / 384.9 MB, free: 14.88 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/2.122, allocations: 15.81 kB / 384.9 MB, free: 14.86 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/2.122, allocations: 189.1 kB / 385.1 MB, free: 14.64 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/2.122, allocations: 4 kB / 385.1 MB, free: 14.64 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/2.122, allocations: 4 kB / 385.1 MB, free: 14.63 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/2.122, allocations: 39.53 kB / 385.2 MB, free: 14.61 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/2.123, allocations: 175.9 kB / 385.3 MB, free: 14.44 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/2.123, allocations: 0 / 385.3 MB, free: 14.44 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/2.123, allocations: 4 kB / 385.3 MB, free: 14.44 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/2.123, allocations: 0 / 385.3 MB, free: 14.44 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/2.123, allocations: 349.6 kB / 385.7 MB, free: 14.07 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/2.124, allocations: 99.17 kB / 385.8 MB, free: 13.96 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.24e-05/2.124, allocations: 59.47 kB / 385.8 MB, free: 13.91 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/2.124, allocations: 1.172 kB / 385.8 MB, free: 13.91 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/2.124, allocations: 38.31 kB / 385.9 MB, free: 13.86 MB / 312.6 MB Notification: Performance of pre-optimization done (n=12): time 3.143e-06/2.124, allocations: 0 / 385.9 MB, free: 13.86 MB / 312.6 MB Notification: Performance of matching and sorting (n=12): time 0.0002905/2.124, allocations: 96.56 kB / 386 MB, free: 13.77 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/2.125, allocations: 106.9 kB / 386.1 MB, free: 13.64 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/2.125, allocations: 128 kB / 386.2 MB, free: 13.52 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/2.125, allocations: 25.7 kB / 386.2 MB, free: 13.49 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/2.125, allocations: 162.6 kB / 386.4 MB, free: 13.33 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/2.125, allocations: 0 / 386.4 MB, free: 13.33 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-06/2.125, allocations: 0 / 386.4 MB, free: 13.33 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/2.125, allocations: 322.6 kB / 386.7 MB, free: 13.01 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.206e-05/2.125, allocations: 11.94 kB / 386.7 MB, free: 13 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/2.125, allocations: 73.33 kB / 386.8 MB, free: 12.9 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.945e-05/2.125, allocations: 27.73 kB / 386.8 MB, free: 12.88 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.125, allocations: 3.906 kB / 386.8 MB, free: 12.88 MB / 312.6 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001877/2.126, allocations: 93.17 kB / 386.9 MB, free: 12.79 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/2.126, allocations: 4 kB / 386.9 MB, free: 12.78 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/2.126, allocations: 4 kB / 386.9 MB, free: 12.78 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/2.126, allocations: 7.938 kB / 386.9 MB, free: 12.77 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.954e-05/2.126, allocations: 7.938 kB / 386.9 MB, free: 12.77 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/2.126, allocations: 7.938 kB / 386.9 MB, free: 12.76 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/2.126, allocations: 4 kB / 386.9 MB, free: 12.75 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/2.126, allocations: 11.89 kB / 387 MB, free: 12.74 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/2.126, allocations: 8.219 kB / 387 MB, free: 12.73 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/2.127, allocations: 73.34 kB / 387 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/2.127, allocations: 16.38 kB / 387.1 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.238e-06/2.127, allocations: 0 / 387.1 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-06/2.127, allocations: 4 kB / 387.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.378e-06/2.127, allocations: 0 / 387.1 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/2.127, allocations: 154.6 kB / 387.2 MB, free: 12.47 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-06/2.127, allocations: 4 kB / 387.2 MB, free: 12.47 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/2.127, allocations: 8.172 kB / 387.2 MB, free: 12.46 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.146e-06/2.127, allocations: 8 kB / 387.2 MB, free: 12.45 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/2.127, allocations: 3.938 kB / 387.2 MB, free: 12.45 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.958e-06/2.127, allocations: 4 kB / 387.2 MB, free: 12.45 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/2.128, allocations: 0 / 387.2 MB, free: 12.45 MB / 312.6 MB [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) xor.u2 sample2.y hold.y hold.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold.u = xor1.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) xor.u2 = sample2.y [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold.y hold.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold.u = xor1.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) xor.u2 = sample2.y [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function analyseStrongComponentBlock failed [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function analyseStrongComponentScalar failed [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001476/2.129, allocations: 346.6 kB / 387.6 MB, free: 12.09 MB / 312.6 MB [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Sorry - Support for Discrete Equation Systems is not yet implemented) xor.u2 sample2.y hold.y hold.u xor1.y xor1.u2 xor.y xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold.u = xor1.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) xor.u2 = sample2.y [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: xor.u2 sample2.y hold.y hold.u xor1.y xor1.u2 xor.y equations: xor.y = not (xor.u1 and xor.u2 or not xor.u1 and not xor.u2) xor1.u2 = xor.y xor1.y = not (xor1.u1 and xor1.u2 or not xor1.u1 and not xor1.u2) hold.u = xor1.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) xor.u2 = sample2.y [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function analyseStrongComponentBlock failed [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function analyseStrongComponentScalar failed [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [BackEnd/BackendDAEUtil.mo:0:0-0:0:writable] Error: Internal error Transformation module sort components failed Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001253/2.13, allocations: 351.7 kB / 387.9 MB, free: 11.74 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.065e-05/2.131, allocations: 92.88 kB / 388 MB, free: 11.63 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/2.131, allocations: 7.984 kB / 388 MB, free: 11.62 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/2.131, allocations: 0 / 388 MB, free: 11.62 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/2.131, allocations: 11.94 kB / 388 MB, free: 11.61 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/2.131, allocations: 7.906 kB / 388 MB, free: 11.61 MB / 312.6 MB Notification: Performance of sort global known variables: time 7.117e-05/2.131, allocations: 98.83 kB / 388.1 MB, free: 11.52 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004001/2.132, allocations: 12 kB / 388.1 MB, free: 11.5 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 6.6e-05/2.132, allocations: 65.55 kB / 388.2 MB, free: 11.44 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0001578/2.132, allocations: 51.12 kB / 388.3 MB, free: 11.4 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.794e-06/2.132, allocations: 0.6875 kB / 388.3 MB, free: 11.4 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 2.633e-05/2.132, allocations: 19.86 kB / 388.3 MB, free: 11.38 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/2.133, allocations: 35.47 kB / 388.3 MB, free: 11.36 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003756/2.133, allocations: 174.2 kB / 388.5 MB, free: 11.17 MB / 312.6 MB [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error SimCodeUtil.createFMIModelStructure failed [SimCode/SimCodeUtil.mo:0:0-0:0:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] Error: Internal error SimCode: The model Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2 could not be translated to FMU