Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample1.y|sample2.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.389/2.389, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1274/0.1274, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.348e-05, allocations: 8 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3742, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample2): time 0.001884/0.3761, allocations: 1.307 MB / 460.5 MB, free: 27.3 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.3766, allocations: 159.5 kB / 460.7 MB, free: 27.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.3767, allocations: 4 kB / 460.7 MB, free: 27.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.3767, allocations: 7.922 kB / 460.7 MB, free: 27.13 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3768, allocations: 3.938 kB / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3771, allocations: 39.89 kB / 460.7 MB, free: 27.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.3772, allocations: 35.89 kB / 460.7 MB, free: 27.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3773, allocations: 26.84 kB / 460.8 MB, free: 27.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.3774, allocations: 11.94 kB / 460.8 MB, free: 27.01 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.645e-05/0.3774, allocations: 23.91 kB / 460.8 MB, free: 26.99 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.619e-05/0.3775, allocations: 4 kB / 460.8 MB, free: 26.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3775, allocations: 0 / 460.8 MB, free: 26.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.3775, allocations: 11.92 kB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.63e-05/0.3776, allocations: 4 kB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.424e-05/0.3777, allocations: 47.91 kB / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3777, allocations: 0 / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3777, allocations: 4 kB / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3777, allocations: 4 kB / 460.9 MB, free: 26.91 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003977/0.3781, allocations: 359.2 kB / 461.2 MB, free: 26.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.3782, allocations: 8.031 kB / 461.2 MB, free: 26.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.3782, allocations: 23.75 kB / 461.3 MB, free: 26.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3784, allocations: 191.9 kB / 461.4 MB, free: 26.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.3784, allocations: 8 kB / 461.5 MB, free: 26.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3785, allocations: 4 kB / 461.5 MB, free: 26.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.3789, allocations: 195.5 kB / 461.7 MB, free: 26.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3789, allocations: 0 / 461.7 MB, free: 26.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3789, allocations: 8 kB / 461.7 MB, free: 26.03 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.379, allocations: 0 / 461.7 MB, free: 26.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.3791, allocations: 43.92 kB / 461.7 MB, free: 25.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.3795, allocations: 373.8 kB / 462.1 MB, free: 25.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3797, allocations: 115.7 kB / 462.2 MB, free: 25.42 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3798, allocations: 4.125 kB / 462.2 MB, free: 25.42 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.3798, allocations: 38.62 kB / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3798, allocations: 0 / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004155/0.3802, allocations: 137.6 kB / 462.4 MB, free: 25.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.3803, allocations: 110.8 kB / 462.5 MB, free: 25.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3804, allocations: 131.1 kB / 462.6 MB, free: 24.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3804, allocations: 25.7 kB / 462.6 MB, free: 24.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.3805, allocations: 92.41 kB / 462.7 MB, free: 24.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.3805, allocations: 7.844 kB / 462.7 MB, free: 24.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.3805, allocations: 4 kB / 462.7 MB, free: 24.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.802e-05/0.3806, allocations: 322.9 kB / 463 MB, free: 24.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.969e-05/0.3807, allocations: 12 kB / 463 MB, free: 24.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.3808, allocations: 89.31 kB / 463.1 MB, free: 24.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.09e-05/0.3809, allocations: 27.98 kB / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3809, allocations: 4 kB / 463.2 MB, free: 24.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000233/0.3811, allocations: 109.4 kB / 463.3 MB, free: 24.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3811, allocations: 8 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3812, allocations: 4 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3812, allocations: 4 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.3812, allocations: 15.92 kB / 463.3 MB, free: 24.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3812, allocations: 4.672 kB / 463.3 MB, free: 24.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3813, allocations: 15.91 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.3814, allocations: 4 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (step.y,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,hold.u,hold.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * 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 8.755e-05/0.3815, allocations: 121.8 kB / 463.4 MB, free: 24.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.3816, allocations: 93.45 kB / 463.5 MB, free: 23.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.3817, allocations: 16.72 kB / 463.6 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3817, allocations: 0 / 463.6 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3817, allocations: 0 / 463.6 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3817, allocations: 7.953 kB / 463.6 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.382, allocations: 185.6 kB / 463.7 MB, free: 23.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.382, allocations: 3.984 kB / 463.7 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.382, allocations: 11.94 kB / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3821, allocations: 0 / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3821, allocations: 4 kB / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3821, allocations: 0 / 463.8 MB, free: 23.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3821, allocations: 0 / 463.8 MB, free: 23.67 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) 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 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48: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 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7888:5-7888: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 symbolicJacobian (simulation): time 0.000436/0.3825, allocations: 379.6 kB / 464.1 MB, free: 23.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.3826, allocations: 97 kB / 464.2 MB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3827, allocations: 0 / 464.2 MB, free: 23.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3828, allocations: 16 kB / 464.2 MB, free: 23.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.3828, allocations: 7.938 kB / 464.3 MB, free: 23.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.3829, allocations: 4 kB / 464.3 MB, free: 23.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.797e-05/0.3829, allocations: 103.3 kB / 464.4 MB, free: 23.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.383, allocations: 0 / 464.4 MB, free: 23.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.3833, allocations: 12 kB / 464.4 MB, free: 23.01 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (step.y,hold.y,sample1.y,hold.u,sample2.y,integerConstant.y,xor.u1,xor.u2,xor.y,xor1.u1,xor1.u2,xor1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 9.524e-05/0.3834, allocations: 99.25 kB / 464.5 MB, free: 22.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.3836, allocations: 75.84 kB / 464.5 MB, free: 22.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3837, allocations: 0 / 464.5 MB, free: 22.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.3837, allocations: 11.94 kB / 464.6 MB, free: 22.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3841, allocations: 48.38 kB / 464.6 MB, free: 22.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.3846, allocations: 235.8 kB / 464.8 MB, free: 22.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.3848, allocations: 0.7082 MB / 465.5 MB, free: 21.78 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.987e-05/0.3848, allocations: 8.438 kB / 465.5 MB, free: 21.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.3848, allocations: 11.44 kB / 465.6 MB, free: 21.76 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.3849, allocations: 0 / 465.6 MB, free: 21.76 MB / 346.7 MB Notification: Performance of Templates: time 0.003714/0.3886, allocations: 0.6826 MB / 466.2 MB, free: 21.08 MB / 346.7 MB