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.0007257/0.0007258, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007408/0.0007409, allocations: 184.5 kB / 16.97 MB, free: 6.875 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.209/1.209, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06664/0.06664, allocations: 12.6 MB / 284 MB, free: 8.574 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.0006451/0.0006451, allocations: 24.61 kB / 345.2 MB, free: 20.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07835/0.079, allocations: 50.38 MB / 395.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.003113/0.08215, allocations: 2.697 MB / 398.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.08361, allocations: 1.103 MB / 399.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.08377, allocations: 15.94 kB / 399.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.08393, allocations: 55.42 kB / 399.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.08406, allocations: 39.66 kB / 399.5 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006946/0.08476, allocations: 327.7 kB / 399.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006374/0.08541, allocations: 0.8545 MB / 400.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.08633, allocations: 0.8854 MB / 401.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.08656, allocations: 222.6 kB / 401.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.08679, allocations: 258.2 kB / 402 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.08684, allocations: 20 kB / 402 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.08693, allocations: 35.98 kB / 402 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.08704, allocations: 119.3 kB / 402.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.08728, allocations: 347.3 kB / 402.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008622/0.08815, allocations: 1.133 MB / 403.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.08816, allocations: 0 / 403.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.08817, allocations: 4 kB / 403.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.08818, allocations: 0 / 403.6 MB, free: 10.26 MB / 302.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.001367/0.08956, allocations: 0.99 MB / 404.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.908e-05/0.08959, allocations: 8.031 kB / 404.6 MB, free: 9.191 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.08975, allocations: 107.7 kB / 404.7 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.09037, allocations: 0.5343 MB / 405.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/0.09051, allocations: 130 kB / 405.4 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.09064, allocations: 96.38 kB / 405.5 MB, free: 8.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.09322, allocations: 1.745 MB / 407.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.09325, allocations: 0 / 407.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.09333, allocations: 35.98 kB / 407.3 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.352e-05/0.09337, allocations: 23.94 kB / 407.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.09477, allocations: 0.8133 MB / 408.1 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.09741, allocations: 2.14 MB / 410.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.09893, allocations: 1.06 MB / 411.3 MB, free: 2.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007299/0.09967, allocations: 490 kB / 411.8 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/0.09974, allocations: 40.03 kB / 411.8 MB, free: 1.703 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006189/0.1004, allocations: 395.3 kB / 412.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.665e-06/0.1004, allocations: 0 / 412.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.00202/0.1024, allocations: 1.173 MB / 413.4 MB, free: 120 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.1026, allocations: 249.5 kB / 413.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.103, allocations: 421.1 kB / 414 MB, free: 15.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/0.103, allocations: 61.69 kB / 414.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.1032, allocations: 289.1 kB / 414.4 MB, free: 15.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1034, allocations: 162.2 kB / 414.5 MB, free: 14.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.1035, allocations: 149.6 kB / 414.7 MB, free: 14.74 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1037, allocations: 370.8 kB / 415.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.1042, allocations: 325.8 kB / 415.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/0.1049, allocations: 0.6237 MB / 416 MB, free: 13.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.1061, allocations: 0.877 MB / 416.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.1061, allocations: 0 / 416.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001497/0.1076, allocations: 1.014 MB / 417.9 MB, free: 11.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1077, allocations: 37.7 kB / 417.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1077, allocations: 8 kB / 417.9 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1077, allocations: 16 kB / 417.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.108, allocations: 111.6 kB / 418.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.1081, allocations: 23.92 kB / 418.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.1084, allocations: 99.25 kB / 418.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/0.1085, allocations: 44 kB / 418.2 MB, free: 10.91 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.0004328/0.1089, allocations: 411.6 kB / 418.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005836/0.1095, allocations: 388.7 kB / 419 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006031/0.1101, allocations: 417 kB / 419.4 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/0.1102, allocations: 8 kB / 419.4 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.1102, allocations: 7.938 kB / 419.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.1102, allocations: 11.91 kB / 419.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.1123, allocations: 1.69 MB / 421.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.1123, allocations: 0 / 421.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003367/0.1126, allocations: 99.8 kB / 421.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.1127, allocations: 8 kB / 421.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.1127, allocations: 23.98 kB / 421.3 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.1127, allocations: 7.938 kB / 421.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1127, allocations: 7.938 kB / 421.3 MB, free: 7.77 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:7947:5-7947: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.001509/0.1143, allocations: 1.144 MB / 422.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.1143, allocations: 148.2 kB / 422.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.1144, allocations: 31.98 kB / 422.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.1148, allocations: 51.97 kB / 422.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.115, allocations: 87.83 kB / 422.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.115, allocations: 35.98 kB / 422.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002194/0.1153, allocations: 247.2 kB / 423 MB, free: 5.992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1153, allocations: 0 / 423 MB, free: 5.992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006148/0.1159, allocations: 187.4 kB / 423.2 MB, free: 5.809 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.0002575/0.1162, allocations: 216.6 kB / 423.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.1176, allocations: 0.9252 MB / 424.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1176, allocations: 0 / 424.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004776/0.1181, allocations: 287.7 kB / 424.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.1191, allocations: 301.4 kB / 424.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.1213, allocations: 1.728 MB / 426.6 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/0.1218, allocations: 1.014 MB / 427.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.1221, allocations: 128.7 kB / 427.8 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.1223, allocations: 55.42 kB / 427.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1223, allocations: 0 / 427.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of Templates: time 0.1468/0.2691, allocations: 6.416 MB / 434.2 MB, free: 37.33 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: