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.001071/0.001071, allocations: 96.2 kB / 15.73 MB, free: 440 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.001121/0.001121, allocations: 179.8 kB / 16.61 MB, free: 6.422 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.641/1.641, allocations: 205.4 MB / 222.8 MB, free: 5.672 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.08732/0.08732, allocations: 12.6 MB / 283.6 MB, free: 8.715 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.0007073/0.0007073, allocations: 20 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1027, allocations: 50.38 MB / 394.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.003681/0.1065, allocations: 2.598 MB / 397.5 MB, free: 196 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1087, allocations: 1.068 MB / 398.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.109, allocations: 15.88 kB / 398.6 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.1092, allocations: 67.41 kB / 398.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.1093, allocations: 35.81 kB / 398.7 MB, free: 15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007945/0.1101, allocations: 263.5 kB / 398.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.1107, allocations: 0.4957 MB / 399.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008015/0.1115, allocations: 0.6456 MB / 400.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1117, allocations: 194.9 kB / 400.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.112, allocations: 250.4 kB / 400.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.112, allocations: 16 kB / 400.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1122, allocations: 39.92 kB / 400.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1123, allocations: 115.5 kB / 400.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.1124, allocations: 161.2 kB / 400.8 MB, free: 12.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.1132, allocations: 0.9551 MB / 401.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1132, allocations: 0 / 401.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1132, allocations: 4 kB / 401.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1132, allocations: 0 / 401.8 MB, free: 11.85 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.001631/0.1149, allocations: 0.9976 MB / 402.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1149, allocations: 8.031 kB / 402.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1151, allocations: 106.7 kB / 402.9 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008219/0.1159, allocations: 0.5254 MB / 403.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.116, allocations: 129.4 kB / 403.6 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.1162, allocations: 96 kB / 403.6 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.1189, allocations: 1.71 MB / 405.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1189, allocations: 0 / 405.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.1191, allocations: 43.92 kB / 405.4 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.1191, allocations: 23.94 kB / 405.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1206, allocations: 0.8093 MB / 406.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003182/0.1238, allocations: 2.152 MB / 408.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.1255, allocations: 1.039 MB / 409.4 MB, free: 3.875 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.1256, allocations: 29.12 kB / 409.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007204/0.1264, allocations: 415.1 kB / 409.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.635e-06/0.1264, allocations: 0 / 409.9 MB, free: 3.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002167/0.1285, allocations: 1.154 MB / 411 MB, free: 2.262 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.1287, allocations: 249.5 kB / 411.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.1292, allocations: 425 kB / 411.7 MB, free: 1.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.858e-05/0.1293, allocations: 61.69 kB / 411.7 MB, free: 1.477 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.1295, allocations: 277.5 kB / 412 MB, free: 1.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.1297, allocations: 154.3 kB / 412.2 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1297, allocations: 16 kB / 412.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1299, allocations: 374.8 kB / 412.5 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/0.1305, allocations: 329.8 kB / 412.9 MB, free: 344 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007455/0.1312, allocations: 0.6082 MB / 413.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.1319, allocations: 405.9 kB / 413.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.1319, allocations: 4 kB / 413.9 MB, free: 15.19 MB / 318.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001647/0.1335, allocations: 1.007 MB / 414.9 MB, free: 14.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.1336, allocations: 37.7 kB / 414.9 MB, free: 14.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/0.1336, allocations: 8 kB / 414.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.1337, allocations: 16 kB / 414.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.134, allocations: 115.7 kB / 415 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/0.1341, allocations: 19.92 kB / 415.1 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.1345, allocations: 95.25 kB / 415.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.1346, allocations: 44 kB / 415.2 MB, free: 13.84 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,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.0006488/0.1353, allocations: 403.6 kB / 415.6 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007803/0.1361, allocations: 392.7 kB / 416 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007106/0.1368, allocations: 416.6 kB / 416.4 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.1368, allocations: 12 kB / 416.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.1368, allocations: 3.953 kB / 416.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.1369, allocations: 11.92 kB / 416.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/0.1394, allocations: 1.687 MB / 418.1 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.1395, allocations: 3.953 kB / 418.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.1398, allocations: 103.7 kB / 418.2 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.1399, allocations: 12 kB / 418.2 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.1399, allocations: 23.92 kB / 418.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.1399, allocations: 8 kB / 418.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.14, allocations: 0 / 418.2 MB, free: 10.71 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: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.001815/0.1418, allocations: 1.22 MB / 419.5 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1419, allocations: 140.3 kB / 419.6 MB, free: 9.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.142, allocations: 39.98 kB / 419.6 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.1425, allocations: 43.97 kB / 419.7 MB, free: 9.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.1426, allocations: 91.88 kB / 419.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.1427, allocations: 31.98 kB / 419.8 MB, free: 9.066 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002415/0.143, allocations: 243.2 kB / 420 MB, free: 8.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.143, allocations: 0 / 420 MB, free: 8.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008051/0.1438, allocations: 187.4 kB / 420.2 MB, free: 8.645 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 (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.0002955/0.1441, allocations: 216.6 kB / 420.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00185/0.146, allocations: 0.9137 MB / 421.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.146, allocations: 0 / 421.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.1466, allocations: 296.1 kB / 421.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009805/0.1476, allocations: 281.9 kB / 421.9 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.1508, allocations: 1.635 MB / 423.6 MB, free: 5.254 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007654/0.1516, allocations: 1.026 MB / 424.6 MB, free: 4.199 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.152, allocations: 132.7 kB / 424.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.1522, allocations: 63.41 kB / 424.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1522, allocations: 0 / 424.8 MB, free: 4.004 MB / 318.1 MB Notification: Performance of Templates: time 0.2028/0.355, allocations: 6.107 MB / 430.9 MB, free: 37.88 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: