Notification: Performance of loadModel(Modelica_Synchronous): time 1.661/1.661, allocations: 206.8 MB / 213.1 MB, free: 9.137 MB / 184.6 MB Notification: Performance of FrontEnd - loaded program: time 0.188/1.849, allocations: 49.48 MB / 262.6 MB, free: 7.461 MB / 216.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07429/1.924, allocations: 47.13 MB / 309.8 MB, free: 8.223 MB / 264.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2657/2.189, allocations: 73.33 MB / 383.1 MB, free: 0.707 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/2.19, allocations: 70.2 kB / 383.2 MB, free: 0.668 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.01132/2.201, allocations: 2.223 MB / 385.4 MB, free: 14.84 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/2.201, allocations: 11.98 kB / 385.4 MB, free: 14.83 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/2.201, allocations: 15.81 kB / 385.4 MB, free: 14.81 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/2.201, allocations: 196.6 kB / 385.6 MB, free: 14.59 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/2.201, allocations: 4 kB / 385.6 MB, free: 14.58 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/2.201, allocations: 4 kB / 385.6 MB, free: 14.58 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/2.202, allocations: 51.11 kB / 385.7 MB, free: 14.54 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/2.202, allocations: 199 kB / 385.9 MB, free: 14.36 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/2.202, allocations: 0 / 385.9 MB, free: 14.36 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/2.202, allocations: 0 / 385.9 MB, free: 14.36 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-06/2.202, allocations: 0 / 385.9 MB, free: 14.36 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/2.203, allocations: 369.3 kB / 386.2 MB, free: 13.98 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/2.203, allocations: 111.5 kB / 386.3 MB, free: 13.86 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/2.203, allocations: 70.19 kB / 386.4 MB, free: 13.8 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/2.203, allocations: 0 / 386.4 MB, free: 13.8 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/2.203, allocations: 42.5 kB / 386.4 MB, free: 13.75 MB / 312.6 MB Notification: Performance of pre-optimization done (n=12): time 5.482e-06/2.203, allocations: 0 / 386.4 MB, free: 13.75 MB / 312.6 MB Notification: Performance of matching and sorting (n=12): time 0.0002842/2.203, allocations: 112.9 kB / 386.5 MB, free: 13.65 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/2.203, allocations: 110.8 kB / 386.7 MB, free: 13.52 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/2.203, allocations: 141.3 kB / 386.8 MB, free: 13.39 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/2.203, allocations: 25.77 kB / 386.8 MB, free: 13.36 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/2.204, allocations: 96.23 kB / 386.9 MB, free: 13.26 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/2.204, allocations: 11.83 kB / 386.9 MB, free: 13.25 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/2.204, allocations: 0 / 386.9 MB, free: 13.25 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001211/2.204, allocations: 318.7 kB / 387.2 MB, free: 12.94 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/2.204, allocations: 15.92 kB / 387.2 MB, free: 12.93 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/2.204, allocations: 77.98 kB / 387.3 MB, free: 12.82 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.577e-05/2.204, allocations: 27.48 kB / 387.4 MB, free: 12.8 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.196e-06/2.204, allocations: 0 / 387.4 MB, free: 12.8 MB / 312.6 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001856/2.204, allocations: 97.27 kB / 387.4 MB, free: 12.71 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/2.204, allocations: 4 kB / 387.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/2.204, allocations: 4 kB / 387.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/2.204, allocations: 4.344 kB / 387.5 MB, free: 12.7 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/2.204, allocations: 31.89 kB / 387.5 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/2.204, allocations: 7.938 kB / 387.5 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/2.204, allocations: 7.938 kB / 387.5 MB, free: 12.65 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/2.204, allocations: 7.875 kB / 387.5 MB, free: 12.64 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/2.204, allocations: 79.27 kB / 387.6 MB, free: 12.57 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002346/2.205, allocations: 108.7 kB / 387.7 MB, free: 12.47 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/2.205, allocations: 11.81 kB / 387.7 MB, free: 12.46 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/2.205, allocations: 24.23 kB / 387.7 MB, free: 12.44 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.069e-06/2.205, allocations: 4 kB / 387.7 MB, free: 12.44 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-06/2.205, allocations: 0 / 387.7 MB, free: 12.44 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-06/2.205, allocations: 4 kB / 387.7 MB, free: 12.43 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/2.205, allocations: 157.8 kB / 387.9 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-06/2.205, allocations: 0 / 387.9 MB, free: 12.25 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/2.205, allocations: 35.89 kB / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.482e-06/2.205, allocations: 0 / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/2.205, allocations: 11.81 kB / 387.9 MB, free: 12.21 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.146e-06/2.205, allocations: 7.938 kB / 387.9 MB, free: 12.2 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.721e-06/2.205, allocations: 192 / 387.9 MB, free: 12.2 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.0004359/2.206, allocations: 386.6 kB / 388.3 MB, free: 11.81 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/2.206, allocations: 100.7 kB / 388.4 MB, free: 11.7 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/2.206, allocations: 4 kB / 388.4 MB, free: 11.7 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/2.206, allocations: 7.938 kB / 388.4 MB, free: 11.69 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/2.206, allocations: 3.984 kB / 388.4 MB, free: 11.68 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/2.206, allocations: 4 kB / 388.4 MB, free: 11.68 MB / 312.6 MB Notification: Performance of sort global known variables: time 9.084e-05/2.206, allocations: 123.4 kB / 388.6 MB, free: 11.57 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0003803/2.207, allocations: 12 kB / 388.6 MB, free: 11.56 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.0005715/2.207, allocations: 0.6441 MB / 389.2 MB, free: 10.91 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0001583/2.208, allocations: 64.36 kB / 389.3 MB, free: 10.86 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.664e-06/2.208, allocations: 0.6875 kB / 389.3 MB, free: 10.86 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 2.949e-05/2.208, allocations: 4 kB / 389.3 MB, free: 10.86 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/2.208, allocations: 69.12 kB / 389.4 MB, free: 10.8 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