Notification: Performance of loadModel(Modelica_Synchronous): time 1.596/1.596, allocations: 206.8 MB / 213.5 MB, free: 9.129 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1816/1.778, allocations: 49.11 MB / 262.6 MB, free: 7.828 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0723/1.85, allocations: 47.14 MB / 309.7 MB, free: 8.594 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2332/2.084, allocations: 73.32 MB / 383.1 MB, free: 1.035 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/2.084, allocations: 73.83 kB / 383.1 MB, free: 0.9961 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.007511/2.092, allocations: 2.216 MB / 385.4 MB, free: 15.17 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/2.092, allocations: 8 kB / 385.4 MB, free: 15.16 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/2.092, allocations: 11.81 kB / 385.4 MB, free: 15.15 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/2.092, allocations: 206.3 kB / 385.6 MB, free: 14.91 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/2.092, allocations: 4 kB / 385.6 MB, free: 14.91 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/2.092, allocations: 4 kB / 385.6 MB, free: 14.91 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001441/2.092, allocations: 50.16 kB / 385.6 MB, free: 14.87 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/2.092, allocations: 198.8 kB / 385.8 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/2.092, allocations: 3.938 kB / 385.8 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/2.093, allocations: 0 / 385.8 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-06/2.093, allocations: 0 / 385.8 MB, free: 14.69 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/2.093, allocations: 364.2 kB / 386.2 MB, free: 14.3 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/2.093, allocations: 112.2 kB / 386.3 MB, free: 14.19 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/2.093, allocations: 64.41 kB / 386.4 MB, free: 14.13 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/2.093, allocations: 5.391 kB / 386.4 MB, free: 14.12 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/2.093, allocations: 45.62 kB / 386.4 MB, free: 14.07 MB / 312.6 MB Notification: Performance of pre-optimization done (n=12): time 1.939e-06/2.093, allocations: 3.938 kB / 386.4 MB, free: 14.07 MB / 312.6 MB Notification: Performance of matching and sorting (n=12): time 0.0002912/2.094, allocations: 105.6 kB / 386.5 MB, free: 13.98 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/2.094, allocations: 106.8 kB / 386.6 MB, free: 13.85 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/2.094, allocations: 143.2 kB / 386.8 MB, free: 13.72 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/2.094, allocations: 25.77 kB / 386.8 MB, free: 13.69 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/2.094, allocations: 161.7 kB / 386.9 MB, free: 13.53 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/2.094, allocations: 11.89 kB / 387 MB, free: 13.52 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-06/2.094, allocations: 0 / 387 MB, free: 13.52 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.000114/2.094, allocations: 314.2 kB / 387.3 MB, free: 13.21 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.408e-05/2.094, allocations: 11.75 kB / 387.3 MB, free: 13.2 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/2.094, allocations: 84.53 kB / 387.4 MB, free: 13.09 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.055e-05/2.094, allocations: 25.92 kB / 387.4 MB, free: 13.07 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/2.094, allocations: 4 kB / 387.4 MB, free: 13.07 MB / 312.6 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001963/2.095, allocations: 95.14 kB / 387.5 MB, free: 12.98 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/2.095, allocations: 4 kB / 387.5 MB, free: 12.97 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.03e-06/2.095, allocations: 4 kB / 387.5 MB, free: 12.97 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/2.095, allocations: 4.344 kB / 387.5 MB, free: 12.96 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/2.095, allocations: 27.92 kB / 387.5 MB, free: 12.94 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.475e-06/2.095, allocations: 4 kB / 387.5 MB, free: 12.93 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.465e-05/2.095, allocations: 15.84 kB / 387.5 MB, free: 12.92 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/2.095, allocations: 4 kB / 387.5 MB, free: 12.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/2.095, allocations: 75.28 kB / 387.6 MB, free: 12.84 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002441/2.095, allocations: 115.9 kB / 387.7 MB, free: 12.74 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/2.095, allocations: 15.8 kB / 387.7 MB, free: 12.72 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/2.095, allocations: 18.44 kB / 387.8 MB, free: 12.71 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.969e-06/2.095, allocations: 7.984 kB / 387.8 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.729e-06/2.095, allocations: 0 / 387.8 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.047e-06/2.095, allocations: 4 kB / 387.8 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/2.096, allocations: 164.2 kB / 387.9 MB, free: 12.51 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-06/2.096, allocations: 0 / 387.9 MB, free: 12.51 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/2.096, allocations: 23.98 kB / 388 MB, free: 12.49 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.17e-06/2.096, allocations: 0 / 388 MB, free: 12.49 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/2.096, allocations: 11.92 kB / 388 MB, free: 12.48 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.213e-06/2.096, allocations: 4 kB / 388 MB, free: 12.47 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.096, allocations: 3.906 kB / 388 MB, free: 12.47 MB / 312.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48: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 [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48: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 [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7151:5-7151:89: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.00043/2.096, allocations: 382.5 kB / 388.3 MB, free: 12.09 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/2.096, allocations: 100.3 kB / 388.4 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/2.097, allocations: 4 kB / 388.4 MB, free: 11.97 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/2.097, allocations: 4 kB / 388.5 MB, free: 11.96 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/2.097, allocations: 11.45 kB / 388.5 MB, free: 11.96 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/2.097, allocations: 7.938 kB / 388.5 MB, free: 11.95 MB / 312.6 MB Notification: Performance of sort global known variables: time 9.168e-05/2.097, allocations: 118.9 kB / 388.6 MB, free: 11.84 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0003793/2.097, allocations: 8 kB / 388.6 MB, free: 11.84 MB / 312.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:307:7-307:48: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 [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:317:7-317:48: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 [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:321:7-321:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7151:5-7151:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1666:3-1666:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.0005809/2.098, allocations: 0.6477 MB / 389.2 MB, free: 11.18 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0001552/2.098, allocations: 62.86 kB / 389.3 MB, free: 11.14 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.062e-06/2.098, allocations: 4.625 kB / 389.3 MB, free: 11.13 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/2.098, allocations: 4 kB / 389.3 MB, free: 11.13 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/2.098, allocations: 63.69 kB / 389.4 MB, free: 11.08 MB / 312.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:12809:3-12809:85:writable] Error: Internal error SimCodeUtil.createFMIModelStructure failed [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:601:5-601:146: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