Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.001269, allocations: 108.9 kB / 16.45 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 187 kB / 17.39 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08091/0.08091, allocations: 12.59 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 83.66 kB / 394.2 MB, free: 45.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1101, allocations: 49.4 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.005171/0.1153, allocations: 3.097 MB / 446.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.118, allocations: 1.154 MB / 447.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.1183, allocations: 15.94 kB / 447.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1186, allocations: 86.98 kB / 447.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.1188, allocations: 67.23 kB / 448 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009919/0.1198, allocations: 379.4 kB / 448.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009878/0.1208, allocations: 0.9482 MB / 449.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.122, allocations: 0.9361 MB / 450.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005303/0.1225, allocations: 394.7 kB / 450.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.1229, allocations: 434 kB / 451 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.1231, allocations: 120 kB / 451.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002033/0.1233, allocations: 143.9 kB / 451.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.1236, allocations: 263.2 kB / 451.6 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004248/0.124, allocations: 473.7 kB / 452 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1252, allocations: 1.304 MB / 453.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1252, allocations: 0 / 453.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1252, allocations: 0 / 453.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.1252, allocations: 0 / 453.3 MB, free: 6.652 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001999/0.1272, allocations: 1.181 MB / 454.5 MB, free: 5.402 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1273, allocations: 12.03 kB / 454.5 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.1275, allocations: 103.7 kB / 454.6 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007525/0.1282, allocations: 0.5382 MB / 455.1 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.1284, allocations: 138 kB / 455.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.1285, allocations: 96.38 kB / 455.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.1311, allocations: 1.722 MB / 457.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.1312, allocations: 7.938 kB / 457.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.686e-05/0.1313, allocations: 36 kB / 457.1 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.1313, allocations: 20 kB / 457.2 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.1328, allocations: 0.7899 MB / 458 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.1359, allocations: 2.113 MB / 460.1 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/0.1376, allocations: 1.023 MB / 461.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007728/0.1384, allocations: 485.7 kB / 461.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-05/0.1385, allocations: 27.97 kB / 461.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006924/0.1392, allocations: 399.8 kB / 462 MB, free: 13.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.757e-06/0.1392, allocations: 0 / 462 MB, free: 13.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002302/0.1415, allocations: 1.149 MB / 463.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.1417, allocations: 245.5 kB / 463.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.1422, allocations: 429 kB / 463.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.387e-05/0.1422, allocations: 65.69 kB / 463.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.1424, allocations: 277.2 kB / 464.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1426, allocations: 158.2 kB / 464.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.1429, allocations: 222.6 kB / 464.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.143, allocations: 366.8 kB / 464.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005788/0.1436, allocations: 321.8 kB / 465.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008331/0.1444, allocations: 0.6119 MB / 465.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.1457, allocations: 0.8527 MB / 466.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.1457, allocations: 0 / 466.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00178/0.1475, allocations: 1.001 MB / 467.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.508e-05/0.1476, allocations: 41.69 kB / 467.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/0.1476, allocations: 11.94 kB / 467.7 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.076e-05/0.1476, allocations: 16.66 kB / 467.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.148, allocations: 107.8 kB / 467.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.943e-05/0.1481, allocations: 23.92 kB / 467.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.1484, allocations: 75.36 kB / 467.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.1485, allocations: 47.98 kB / 468 MB, free: 7.254 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005524/0.1491, allocations: 407.5 kB / 468.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000696/0.1498, allocations: 398 kB / 468.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006897/0.1505, allocations: 417.8 kB / 469.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.1505, allocations: 12 kB / 469.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.1505, allocations: 8 kB / 469.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1506, allocations: 3.984 kB / 469.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.153, allocations: 1.66 MB / 470.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.1531, allocations: 4 kB / 470.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003656/0.1534, allocations: 95.8 kB / 470.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.1535, allocations: 8 kB / 470.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.1535, allocations: 23.98 kB / 471 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.1535, allocations: 7.938 kB / 471 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1536, allocations: 3.938 kB / 471 MB, free: 4.156 MB / 350.1 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.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/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:8011:5-8011: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.001779/0.1553, allocations: 1.129 MB / 472.1 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1555, allocations: 156.1 kB / 472.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.1556, allocations: 35.98 kB / 472.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.156, allocations: 39.97 kB / 472.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001995/0.1562, allocations: 87.84 kB / 472.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.1563, allocations: 31.98 kB / 472.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002694/0.1566, allocations: 247.2 kB / 472.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1566, allocations: 4 kB / 472.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008416/0.1574, allocations: 179.4 kB / 472.9 MB, free: 2.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003542/0.1578, allocations: 224.4 kB / 473.1 MB, free: 1.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.1597, allocations: 0.9141 MB / 474 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1597, allocations: 4.125 kB / 474 MB, free: 1.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.1603, allocations: 284.7 kB / 474.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.1614, allocations: 297.4 kB / 474.6 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1642, allocations: 1.44 MB / 476 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/0.1649, allocations: 1.01 MB / 477 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003294/0.1652, allocations: 132.7 kB / 477.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1654, allocations: 63.41 kB / 477.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1654, allocations: 0 / 477.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of Templates: time 0.0158/0.1812, allocations: 7.017 MB / 484.2 MB, free: 6.73 MB / 366.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1)