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.001171/0.001171, allocations: 104.1 kB / 16.31 MB, free: 5.879 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.001289/0.001289, allocations: 192.3 kB / 17.24 MB, free: 5.539 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.648/1.648, allocations: 205.1 MB / 223.1 MB, free: 12.26 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.07482/0.07482, allocations: 12.59 MB / 283.1 MB, free: 15.46 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.00188/0.001881, allocations: 87.88 kB / 343.5 MB, free: 2.93 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3007, allocations: 49.38 MB / 392.9 MB, free: 48.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.005111/0.3059, allocations: 3.094 MB / 396 MB, free: 46.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.3082, allocations: 1.159 MB / 397.1 MB, free: 46.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002466/0.3085, allocations: 15.94 kB / 397.1 MB, free: 46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.3087, allocations: 92.36 kB / 397.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.3089, allocations: 55.3 kB / 397.3 MB, free: 45.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008251/0.3097, allocations: 378.3 kB / 397.7 MB, free: 45.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.3105, allocations: 0.9421 MB / 398.6 MB, free: 45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.3116, allocations: 0.9281 MB / 399.5 MB, free: 44.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.312, allocations: 396.8 kB / 399.9 MB, free: 44.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.3123, allocations: 439 kB / 400.3 MB, free: 43.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.3125, allocations: 120.4 kB / 400.5 MB, free: 43.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.3127, allocations: 136.7 kB / 400.6 MB, free: 43.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.3129, allocations: 253.8 kB / 400.8 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.3133, allocations: 471.6 kB / 401.3 MB, free: 43.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009532/0.3142, allocations: 1.25 MB / 402.6 MB, free: 42.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.3142, allocations: 5.062 kB / 402.6 MB, free: 42.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3142, allocations: 0 / 402.6 MB, free: 42.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.3143, allocations: 0 / 402.6 MB, free: 42.31 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.001887/0.3162, allocations: 1.169 MB / 403.7 MB, free: 41.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3162, allocations: 9.656 kB / 403.7 MB, free: 41.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.3164, allocations: 107 kB / 403.8 MB, free: 41.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.317, allocations: 0.5427 MB / 404.4 MB, free: 40.83 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.3172, allocations: 133.9 kB / 404.5 MB, free: 40.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.3173, allocations: 96.47 kB / 404.6 MB, free: 40.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/0.3198, allocations: 1.732 MB / 406.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.3199, allocations: 4 kB / 406.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.3199, allocations: 41.02 kB / 406.4 MB, free: 39.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.32, allocations: 20 kB / 406.4 MB, free: 39.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.3213, allocations: 0.7854 MB / 407.2 MB, free: 39.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.3236, allocations: 2.137 MB / 409.3 MB, free: 36.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.3249, allocations: 1.035 MB / 410.4 MB, free: 35.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/0.3256, allocations: 487 kB / 410.8 MB, free: 35.36 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-05/0.3256, allocations: 28.73 kB / 410.9 MB, free: 35.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005828/0.3262, allocations: 395.2 kB / 411.3 MB, free: 34.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=102): time 3.857e-06/0.3262, allocations: 0 / 411.3 MB, free: 34.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=102): time 0.001916/0.3282, allocations: 1.143 MB / 412.4 MB, free: 33.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.3283, allocations: 245.7 kB / 412.6 MB, free: 33.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.3286, allocations: 429 kB / 413.1 MB, free: 33.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.743e-05/0.3287, allocations: 65.69 kB / 413.1 MB, free: 32.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.3289, allocations: 281.2 kB / 413.4 MB, free: 32.71 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.329, allocations: 158.2 kB / 413.5 MB, free: 32.55 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.3292, allocations: 214.6 kB / 413.8 MB, free: 32.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.3293, allocations: 370.8 kB / 414.1 MB, free: 31.96 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/0.3298, allocations: 321.8 kB / 414.4 MB, free: 31.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.3304, allocations: 0.6132 MB / 415 MB, free: 30.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.3314, allocations: 0.8615 MB / 415.9 MB, free: 29.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.3314, allocations: 7.938 kB / 415.9 MB, free: 29.9 MB / 318.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001314/0.3327, allocations: 0.994 MB / 416.9 MB, free: 28.89 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.3328, allocations: 34.64 kB / 416.9 MB, free: 28.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.3328, allocations: 16 kB / 417 MB, free: 28.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.3328, allocations: 12 kB / 417 MB, free: 28.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.3331, allocations: 112.1 kB / 417.1 MB, free: 28.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.3332, allocations: 23.92 kB / 417.1 MB, free: 28.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.3335, allocations: 87.28 kB / 417.2 MB, free: 28.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/0.3336, allocations: 40 kB / 417.2 MB, free: 28.57 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.0004468/0.3341, allocations: 415.1 kB / 417.6 MB, free: 28.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/0.3346, allocations: 388.7 kB / 418 MB, free: 27.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.3352, allocations: 414.5 kB / 418.4 MB, free: 27.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3352, allocations: 12 kB / 418.4 MB, free: 27.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3352, allocations: 4 kB / 418.4 MB, free: 27.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.3352, allocations: 7.969 kB / 418.4 MB, free: 27.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.3371, allocations: 1.667 MB / 420.1 MB, free: 25.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3371, allocations: 8 kB / 420.1 MB, free: 25.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3375, allocations: 95.73 kB / 420.2 MB, free: 25.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.3375, allocations: 8 kB / 420.2 MB, free: 25.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.3375, allocations: 20.11 kB / 420.2 MB, free: 25.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.3375, allocations: 12 kB / 420.2 MB, free: 25.46 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.3375, allocations: 3.938 kB / 420.3 MB, free: 25.45 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:7956:5-7956: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.001391/0.3389, allocations: 1.133 MB / 421.4 MB, free: 24.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3391, allocations: 144.2 kB / 421.5 MB, free: 24.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.3392, allocations: 39.98 kB / 421.6 MB, free: 24.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003861/0.3396, allocations: 39.97 kB / 421.6 MB, free: 24.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.3398, allocations: 91.77 kB / 421.7 MB, free: 23.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/0.3398, allocations: 31.98 kB / 421.7 MB, free: 23.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002314/0.3401, allocations: 243.2 kB / 422 MB, free: 23.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3401, allocations: 0 / 422 MB, free: 23.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008478/0.3409, allocations: 191.4 kB / 422.2 MB, free: 23.51 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.0003201/0.3413, allocations: 216.6 kB / 422.4 MB, free: 23.28 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.3429, allocations: 0.9955 MB / 423.4 MB, free: 22.28 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/0.3429, allocations: 8.188 kB / 423.4 MB, free: 22.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.3434, allocations: 280.4 kB / 423.6 MB, free: 22 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/0.3444, allocations: 303.1 kB / 423.9 MB, free: 21.71 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3466, allocations: 1.452 MB / 425.4 MB, free: 20.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.3471, allocations: 1.018 MB / 426.4 MB, free: 19.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002833/0.3474, allocations: 136.7 kB / 426.5 MB, free: 19.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3476, allocations: 59.42 kB / 426.6 MB, free: 18.97 MB / 318.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3476, allocations: 0 / 426.6 MB, free: 18.97 MB / 318.1 MB Notification: Performance of Templates: time 0.01345/0.361, allocations: 6.916 MB / 433.5 MB, free: 12.07 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)