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.001344/0.001344, allocations: 99 kB / 16.02 MB, free: 6.328 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.001148/0.001149, allocations: 196.8 kB / 16.95 MB, free: 6.145 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.725/1.725, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.0812/0.0812, allocations: 12.57 MB / 282.7 MB, free: 15.65 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.001697/0.001697, allocations: 92.72 kB / 343 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3383, allocations: 49.37 MB / 392.4 MB, free: 49.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.004716/0.3431, allocations: 3.122 MB / 395.5 MB, free: 47.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.3453, allocations: 1.111 MB / 396.6 MB, free: 46.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.3457, allocations: 15.41 kB / 396.6 MB, free: 46.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.3461, allocations: 63.08 kB / 396.7 MB, free: 46.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.3462, allocations: 31.73 kB / 396.7 MB, free: 46.15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.3473, allocations: 336.6 kB / 397 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.3482, allocations: 0.9415 MB / 398 MB, free: 45.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.3493, allocations: 0.935 MB / 398.9 MB, free: 44.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.3497, allocations: 397 kB / 399.3 MB, free: 44.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/0.3501, allocations: 427.3 kB / 399.7 MB, free: 44.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.3503, allocations: 119.1 kB / 399.8 MB, free: 44.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.3505, allocations: 146.2 kB / 400 MB, free: 44.24 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.3507, allocations: 261.3 kB / 400.2 MB, free: 44.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.3511, allocations: 465 kB / 400.7 MB, free: 43.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009637/0.3521, allocations: 1.242 MB / 401.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3521, allocations: 5.234 kB / 401.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3521, allocations: 0 / 401.9 MB, free: 42.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.3521, allocations: 4 kB / 401.9 MB, free: 42.71 MB / 318.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.002006/0.3541, allocations: 1.176 MB / 403.1 MB, free: 41.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.867e-05/0.3542, allocations: 9.594 kB / 403.1 MB, free: 41.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/0.3544, allocations: 103.2 kB / 403.2 MB, free: 41.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.3551, allocations: 0.5309 MB / 403.7 MB, free: 41.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.3553, allocations: 138 kB / 403.9 MB, free: 41.13 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3554, allocations: 97.03 kB / 404 MB, free: 41.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.3584, allocations: 1.731 MB / 405.7 MB, free: 40.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.3585, allocations: 1.219 kB / 405.7 MB, free: 40.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.3586, allocations: 36.47 kB / 405.7 MB, free: 40.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.3586, allocations: 28.84 kB / 405.8 MB, free: 40.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.3601, allocations: 0.7899 MB / 406.6 MB, free: 39.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.363, allocations: 2.139 MB / 408.7 MB, free: 37.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.3646, allocations: 1.035 MB / 409.7 MB, free: 36.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006607/0.3652, allocations: 485.2 kB / 410.2 MB, free: 35.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.3653, allocations: 28.75 kB / 410.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.366, allocations: 399.2 kB / 410.6 MB, free: 35.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=102): time 4.048e-06/0.366, allocations: 0 / 410.6 MB, free: 35.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=102): time 0.002142/0.3682, allocations: 1.136 MB / 411.8 MB, free: 34.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.3683, allocations: 245.6 kB / 412 MB, free: 33.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.3689, allocations: 433 kB / 412.4 MB, free: 33.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/0.369, allocations: 65.69 kB / 412.5 MB, free: 33.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3692, allocations: 281.2 kB / 412.8 MB, free: 33.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3693, allocations: 154.3 kB / 412.9 MB, free: 33.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.3695, allocations: 214.6 kB / 413.1 MB, free: 32.81 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.3696, allocations: 374.8 kB / 413.5 MB, free: 32.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.3701, allocations: 321.8 kB / 413.8 MB, free: 32.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.3708, allocations: 0.6206 MB / 414.4 MB, free: 31.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.3718, allocations: 0.8537 MB / 415.3 MB, free: 30.38 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.317e-06/0.3718, allocations: 4 kB / 415.3 MB, free: 30.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001602/0.3734, allocations: 0.9943 MB / 416.3 MB, free: 29.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.219e-05/0.3735, allocations: 39.56 kB / 416.3 MB, free: 29.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3735, allocations: 12 kB / 416.3 MB, free: 29.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.275e-05/0.3736, allocations: 12 kB / 416.3 MB, free: 29.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.374, allocations: 111.7 kB / 416.4 MB, free: 29.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.374, allocations: 23.86 kB / 416.5 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.3745, allocations: 83.36 kB / 416.6 MB, free: 29.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.752e-05/0.3746, allocations: 48.08 kB / 416.6 MB, free: 29.04 MB / 318.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.0007027/0.3753, allocations: 411.1 kB / 417 MB, free: 28.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006061/0.3759, allocations: 394 kB / 417.4 MB, free: 28.24 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.3765, allocations: 412.7 kB / 417.8 MB, free: 27.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3765, allocations: 12 kB / 417.8 MB, free: 27.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.3765, allocations: 7.938 kB / 417.8 MB, free: 27.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.3766, allocations: 3.984 kB / 417.8 MB, free: 27.8 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.3785, allocations: 1.663 MB / 419.5 MB, free: 26.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3785, allocations: 8 kB / 419.5 MB, free: 26.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.3789, allocations: 91.73 kB / 419.6 MB, free: 25.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/0.3789, allocations: 12 kB / 419.6 MB, free: 25.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.379, allocations: 23.98 kB / 419.6 MB, free: 25.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.379, allocations: 11.98 kB / 419.6 MB, free: 25.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.379, allocations: 3.938 kB / 419.6 MB, free: 25.93 MB / 318.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:7953:5-7953: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.001574/0.3806, allocations: 1.125 MB / 420.7 MB, free: 24.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.3807, allocations: 148.2 kB / 420.9 MB, free: 24.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.3808, allocations: 39.98 kB / 420.9 MB, free: 24.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3812, allocations: 35.97 kB / 421 MB, free: 24.54 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.3814, allocations: 87.84 kB / 421.1 MB, free: 24.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.3815, allocations: 31.98 kB / 421.1 MB, free: 24.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.3818, allocations: 251.2 kB / 421.3 MB, free: 24.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3818, allocations: 0 / 421.3 MB, free: 24.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008725/0.3826, allocations: 187.4 kB / 421.5 MB, free: 24 MB / 318.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.0002578/0.3829, allocations: 216.5 kB / 421.7 MB, free: 23.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.3845, allocations: 0.9996 MB / 422.7 MB, free: 22.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3845, allocations: 4 kB / 422.7 MB, free: 22.76 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.3849, allocations: 288.2 kB / 423 MB, free: 22.48 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009438/0.3858, allocations: 293.2 kB / 423.3 MB, free: 22.2 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.3881, allocations: 1.714 MB / 425 MB, free: 20.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.3885, allocations: 1.01 MB / 426 MB, free: 19.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.3888, allocations: 132.7 kB / 426.1 MB, free: 19.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.389, allocations: 67.41 kB / 426.2 MB, free: 19.2 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.389, allocations: 7.938 kB / 426.2 MB, free: 19.19 MB / 318.1 MB Notification: Performance of Templates: time 0.01144/0.4004, allocations: 6.923 MB / 433.1 MB, free: 12.29 MB / 318.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)