Notification: Performance of loadModel(Modelica_Synchronous): time 1.647/1.647, allocations: 207.2 MB / 213.5 MB, free: 8.852 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1922/1.84, allocations: 49.13 MB / 262.6 MB, free: 7.531 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06688/1.906, allocations: 47.17 MB / 309.8 MB, free: 8.266 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/2.135, allocations: 73.21 MB / 383 MB, free: 444 kB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/2.135, allocations: 78.58 kB / 383.1 MB, free: 400 kB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.009118/2.145, allocations: 2.201 MB / 385.3 MB, free: 14.57 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/2.145, allocations: 8 kB / 385.3 MB, free: 14.57 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/2.145, allocations: 15.44 kB / 385.3 MB, free: 14.55 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/2.145, allocations: 200.8 kB / 385.5 MB, free: 14.32 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/2.145, allocations: 4 kB / 385.5 MB, free: 14.32 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/2.145, allocations: 8 kB / 385.5 MB, free: 14.31 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001535/2.145, allocations: 49.92 kB / 385.6 MB, free: 14.28 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003765/2.146, allocations: 194.1 kB / 385.8 MB, free: 14.1 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/2.146, allocations: 3.938 kB / 385.8 MB, free: 14.09 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/2.146, allocations: 4 kB / 385.8 MB, free: 14.09 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.87e-06/2.146, allocations: 4 kB / 385.8 MB, free: 14.09 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/2.147, allocations: 356.9 kB / 386.1 MB, free: 13.71 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/2.147, allocations: 120.1 kB / 386.2 MB, free: 13.59 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/2.147, allocations: 64.72 kB / 386.3 MB, free: 13.53 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/2.147, allocations: 9.094 kB / 386.3 MB, free: 13.52 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/2.147, allocations: 38.69 kB / 386.3 MB, free: 13.48 MB / 312.6 MB Notification: Performance of pre-optimization done (n=12): time 5.448e-06/2.147, allocations: 4 kB / 386.3 MB, free: 13.47 MB / 312.6 MB Notification: Performance of matching and sorting (n=12): time 0.0003222/2.148, allocations: 111.1 kB / 386.5 MB, free: 13.38 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/2.148, allocations: 106.8 kB / 386.6 MB, free: 13.25 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/2.148, allocations: 142.2 kB / 386.7 MB, free: 13.12 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/2.148, allocations: 25.7 kB / 386.7 MB, free: 13.09 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/2.148, allocations: 158.9 kB / 386.9 MB, free: 12.93 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/2.148, allocations: 10.95 kB / 386.9 MB, free: 12.92 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-06/2.148, allocations: 0 / 386.9 MB, free: 12.92 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002423/2.148, allocations: 314.8 kB / 387.2 MB, free: 12.6 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/2.149, allocations: 10.88 kB / 387.2 MB, free: 12.59 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/2.149, allocations: 86 kB / 387.3 MB, free: 12.48 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/2.149, allocations: 23.73 kB / 387.3 MB, free: 12.46 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/2.149, allocations: 0 / 387.3 MB, free: 12.46 MB / 312.6 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002097/2.149, allocations: 100.1 kB / 387.4 MB, free: 12.37 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/2.149, allocations: 4 kB / 387.4 MB, free: 12.37 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.94e-06/2.149, allocations: 4 kB / 387.4 MB, free: 12.36 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/2.149, allocations: 4.344 kB / 387.4 MB, free: 12.36 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/2.15, allocations: 35.92 kB / 387.5 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.171e-06/2.15, allocations: 4 kB / 387.5 MB, free: 12.32 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-05/2.15, allocations: 11.84 kB / 387.5 MB, free: 12.31 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/2.15, allocations: 8 kB / 387.5 MB, free: 12.3 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/2.15, allocations: 0 / 387.5 MB, free: 12.3 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/2.15, allocations: 97.33 kB / 387.6 MB, free: 12.21 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.858e-05/2.15, allocations: 23.08 kB / 387.6 MB, free: 12.2 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-06/2.15, allocations: 8.188 kB / 387.6 MB, free: 12.19 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.937e-06/2.15, allocations: 0 / 387.6 MB, free: 12.19 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/2.151, allocations: 7.938 kB / 387.6 MB, free: 12.18 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/2.151, allocations: 160.8 kB / 387.8 MB, free: 12 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.657e-06/2.151, allocations: 3.984 kB / 387.8 MB, free: 12 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/2.151, allocations: 23.98 kB / 387.8 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.752e-06/2.151, allocations: 4 kB / 387.8 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/2.151, allocations: 0 / 387.8 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.797e-06/2.151, allocations: 3.938 kB / 387.8 MB, free: 11.96 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/2.151, allocations: 11.94 kB / 387.8 MB, free: 11.95 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) hold.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) sum1.u[2] = sample2.y sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum2.u[2] = sum1.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] hold.u = sum2.y [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: hold.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold.y equations: hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) sum1.u[2] = sample2.y sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum2.u[2] = sum1.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] hold.u = sum2.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.00137/2.153, allocations: 383.7 kB / 388.2 MB, free: 11.57 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) hold.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold.y hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) sum1.u[2] = sample2.y sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum2.u[2] = sum1.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] hold.u = sum2.y [BackEnd/BackendDAETransform.mo:0:0-0:0:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: hold.u sum2.y sum2.u[2] sum1.y sum1.u[2] sample2.y hold.y equations: hold.y = $getPart(hold.u) sample2.y = $getPart(hold.y) sum1.u[2] = sample2.y sum1.y = sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum2.u[2] = sum1.y sum2.y = sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] hold.u = sum2.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.001274/2.154, allocations: 388 kB / 388.6 MB, free: 11.18 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/2.154, allocations: 103.4 kB / 388.7 MB, free: 11.07 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/2.154, allocations: 0 / 388.7 MB, free: 11.07 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/2.155, allocations: 8 kB / 388.7 MB, free: 11.06 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/2.155, allocations: 7.984 kB / 388.7 MB, free: 11.05 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/2.155, allocations: 0 / 388.7 MB, free: 11.05 MB / 312.6 MB Notification: Performance of sort global known variables: time 9.422e-05/2.155, allocations: 116.2 kB / 388.8 MB, free: 10.95 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004093/2.155, allocations: 8 kB / 388.8 MB, free: 10.94 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 6.286e-05/2.156, allocations: 69.55 kB / 388.9 MB, free: 10.87 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.000187/2.156, allocations: 67.23 kB / 388.9 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.143e-06/2.156, allocations: 4.062 kB / 388.9 MB, free: 10.82 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 2.34e-05/2.156, allocations: 4 kB / 388.9 MB, free: 10.81 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/2.156, allocations: 72.8 kB / 389 MB, free: 10.75 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/2.157, allocations: 192.2 kB / 389.2 MB, free: 10.55 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.IntegerSignals.Sample2 could not be translated to FMU