Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006809/0.006809, allocations: 185.6 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.414/4.414, allocations: 205.4 MB / 222.6 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001849/0.001849, allocations: 106.8 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1849/0.1849, allocations: 12.59 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009234/0.0009238, allocations: 13.53 kB / 392 MB, free: 54.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1496, allocations: 50.36 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.007406/0.1571, allocations: 2.615 MB / 445 MB, free: 8.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.1614, allocations: 1.065 MB / 446 MB, free: 7.918 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007517/0.1622, allocations: 11.94 kB / 446 MB, free: 7.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1626, allocations: 67.41 kB / 446.1 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.163, allocations: 31.83 kB / 446.1 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.1652, allocations: 266 kB / 446.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001784/0.1671, allocations: 499.6 kB / 446.9 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00214/0.1693, allocations: 0.6573 MB / 447.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007868/0.1702, allocations: 198.9 kB / 447.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005107/0.1708, allocations: 242.4 kB / 448 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001544/0.1709, allocations: 16 kB / 448 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.1712, allocations: 35.98 kB / 448 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.1714, allocations: 123.4 kB / 448.1 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.1717, allocations: 157.2 kB / 448.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002028/0.1737, allocations: 0.9673 MB / 449.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1738, allocations: 0 / 449.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.519e-06/0.1739, allocations: 0 / 449.3 MB, free: 4.652 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.062e-05/0.1739, allocations: 0 / 449.3 MB, free: 4.652 MB / 282.7 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.00402/0.178, allocations: 0.9899 MB / 450.2 MB, free: 3.594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.1781, allocations: 8.031 kB / 450.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005935/0.1787, allocations: 106.7 kB / 450.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.1805, allocations: 0.5215 MB / 450.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002843/0.1809, allocations: 133.4 kB / 451 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.1814, allocations: 99.98 kB / 451.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007834/0.1893, allocations: 1.718 MB / 452.8 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-05/0.1895, allocations: 4 kB / 452.8 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003989/0.1899, allocations: 43.95 kB / 452.9 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.19, allocations: 20 kB / 452.9 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004502/0.1945, allocations: 0.7977 MB / 453.7 MB, free: 40 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009803/0.2043, allocations: 2.152 MB / 455.8 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005353/0.2098, allocations: 1.047 MB / 456.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000232/0.2101, allocations: 24.81 kB / 456.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001973/0.2121, allocations: 407.8 kB / 457.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.029e-05/0.2122, allocations: 3.984 kB / 457.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.00754/0.2197, allocations: 1.158 MB / 458.5 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003728/0.2202, allocations: 245.6 kB / 458.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.2215, allocations: 421.1 kB / 459.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004079/0.222, allocations: 61.69 kB / 459.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005408/0.2226, allocations: 323.9 kB / 459.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004602/0.2231, allocations: 154.3 kB / 459.6 MB, free: 9.824 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2233, allocations: 20 kB / 459.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000278/0.2236, allocations: 350.8 kB / 460 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.2256, allocations: 325.8 kB / 460.3 MB, free: 9.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.2282, allocations: 0.616 MB / 460.9 MB, free: 8.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.2306, allocations: 401.2 kB / 461.3 MB, free: 7.992 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/0.2307, allocations: 4 kB / 461.3 MB, free: 7.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005856/0.2366, allocations: 0.9917 MB / 462.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.2368, allocations: 41.69 kB / 462.4 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/0.2368, allocations: 12 kB / 462.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.399e-05/0.2369, allocations: 16 kB / 462.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.2383, allocations: 107.7 kB / 462.5 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-05/0.2384, allocations: 23.92 kB / 462.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.2398, allocations: 95.3 kB / 462.6 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.2401, allocations: 43.98 kB / 462.7 MB, free: 6.648 MB / 298.7 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,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.y,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].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,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].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,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,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,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001768/0.2419, allocations: 403.5 kB / 463.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002196/0.2441, allocations: 396.7 kB / 463.4 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/0.2463, allocations: 416.5 kB / 463.9 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.661e-05/0.2464, allocations: 12 kB / 463.9 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/0.2465, allocations: 11.89 kB / 463.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-05/0.2465, allocations: 7.984 kB / 463.9 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00789/0.2544, allocations: 1.683 MB / 465.6 MB, free: 3.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.393e-05/0.2545, allocations: 7.938 kB / 465.6 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.2559, allocations: 99.75 kB / 465.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.144e-05/0.256, allocations: 4 kB / 465.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.2563, allocations: 27.98 kB / 465.7 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.396e-05/0.2564, allocations: 4 kB / 465.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/0.2564, allocations: 4 kB / 465.7 MB, free: 3.523 MB / 298.7 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7903:5-7903: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.009934/0.2664, allocations: 1.21 MB / 466.9 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003632/0.2668, allocations: 156.2 kB / 467.1 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003898/0.2672, allocations: 35.98 kB / 467.1 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.2685, allocations: 47.97 kB / 467.2 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/0.2691, allocations: 83.88 kB / 467.2 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004432/0.2736, allocations: 35.98 kB / 467.3 MB, free: 1.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007789/0.2745, allocations: 247.2 kB / 467.5 MB, free: 1.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.2745, allocations: 4 kB / 467.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002131/0.2767, allocations: 183.4 kB / 467.7 MB, free: 1.457 MB / 298.7 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 (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 0.0008538/0.2776, allocations: 208.6 kB / 467.9 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005038/0.2827, allocations: 0.9142 MB / 468.8 MB, free: 324 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.449e-05/0.2828, allocations: 3.938 kB / 468.8 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.2844, allocations: 291.7 kB / 469.1 MB, free: 28 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.2871, allocations: 274.3 kB / 469.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.2992, allocations: 1.644 MB / 471 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/0.3009, allocations: 1.014 MB / 472 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/0.3017, allocations: 63.42 kB / 472.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of SimCode: time 2.925e-06/0.3018, allocations: 0 / 472.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of Templates: time 0.04713/0.3489, allocations: 9.124 MB / 481.2 MB, free: 3.781 MB / 314.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1)