Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample2,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.34e-05/4.375e-05, allocations: 8 kB / 292.2 MB, free: 8.777 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 50.41 MB / 342.6 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4387/0.5536, allocations: 77.36 MB / 420 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/0.5539, allocations: 74.39 kB / 420.1 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005496/0.5594, allocations: 1.463 MB / 421.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5595, allocations: 0 / 421.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.5595, allocations: 0 / 421.5 MB, free: 15.45 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.0004667/0.56, allocations: 353.8 kB / 421.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5601, allocations: 8.031 kB / 421.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.5601, allocations: 46.3 kB / 421.9 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.5602, allocations: 15.77 kB / 421.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.5604, allocations: 196.5 kB / 422.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5605, allocations: 7.875 kB / 422.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.5605, allocations: 7.984 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.561, allocations: 175.7 kB / 422.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.561, allocations: 0 / 422.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.561, allocations: 11.83 kB / 422.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.561, allocations: 0 / 422.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.5611, allocations: 35.19 kB / 422.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.5617, allocations: 365 kB / 422.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.5619, allocations: 108.1 kB / 422.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.562, allocations: 62.2 kB / 422.9 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.142e-05/0.5621, allocations: 7.703 kB / 422.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5621, allocations: 42.48 kB / 422.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.405e-06/0.5621, allocations: 0 / 422.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003199/0.5624, allocations: 93.09 kB / 423 MB, free: 13.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.5625, allocations: 110.8 kB / 423.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.5627, allocations: 132.2 kB / 423.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.5627, allocations: 25.7 kB / 423.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.5628, allocations: 154.3 kB / 423.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.5628, allocations: 15.77 kB / 423.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.5629, allocations: 0 / 423.5 MB, free: 13.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.563, allocations: 314.8 kB / 423.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.563, allocations: 15.81 kB / 423.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.436e-05/0.5631, allocations: 85.08 kB / 423.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.732e-05/0.5632, allocations: 27.92 kB / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.5632, allocations: 0 / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002257/0.5635, allocations: 101.2 kB / 424 MB, free: 12.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.5635, allocations: 11.95 kB / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5635, allocations: 0 / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5636, allocations: 4 kB / 424 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.342e-05/0.5636, allocations: 7.938 kB / 424 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5636, allocations: 4 kB / 424 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.5637, allocations: 4 kB / 424 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.5638, allocations: 7.875 kB / 424 MB, free: 12.82 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 (sample1.u,xor1.y,xor1.u2,xor1.u1,xor.y,xor.u2,xor.u1,integerConstant.y,sample2.y,hold1.u,hold1.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 0.0001224/0.5639, allocations: 124.7 kB / 424.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.5641, allocations: 85.31 kB / 424.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/0.5642, allocations: 20.2 kB / 424.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.5642, allocations: 0 / 424.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.5642, allocations: 0 / 424.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5642, allocations: 4 kB / 424.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.5646, allocations: 181 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5646, allocations: 0 / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.558e-05/0.5646, allocations: 4 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.5646, allocations: 4 kB / 424.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.5647, allocations: 3.984 kB / 424.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/0.5647, allocations: 7.953 kB / 424.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5647, allocations: 4 kB / 424.5 MB, free: 12.36 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 hold1.y hold1.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) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.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 hold1.y hold1.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) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.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:7735:5-7735: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.0004718/0.5652, allocations: 359 kB / 424.8 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.91e-05/0.5653, allocations: 104.6 kB / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.5653, allocations: 0 / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.5655, allocations: 7.875 kB / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.5655, allocations: 0 / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.5655, allocations: 4 kB / 424.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.5657, allocations: 110.6 kB / 425 MB, free: 11.78 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5657, allocations: 0 / 425 MB, free: 11.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004054/0.5661, allocations: 15.88 kB / 425 MB, free: 11.77 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 (sample1.u,hold1.y,sample1.y,hold1.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 [/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 hold1.y hold1.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) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.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 hold1.y hold1.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) hold1.u = xor1.y hold1.y = $getPart(hold1.u) sample2.y = $getPart(hold1.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:7735:5-7735:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1765:3-1765:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.0006718/0.5668, allocations: 0.6553 MB / 425.7 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.567, allocations: 63.42 kB / 425.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.567, allocations: 0.6875 kB / 425.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.567, allocations: 7.938 kB / 425.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.5675, allocations: 51.41 kB / 425.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006979/0.5682, allocations: 172.1 kB / 426 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.5685, allocations: 0.7079 MB / 426.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.5686, allocations: 23.11 kB / 426.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5686, allocations: 0 / 426.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.363/2.931, allocations: 1.344 MB / 428.1 MB, free: 8.746 MB / 346.7 MB