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.001424/0.001424, allocations: 108.3 kB / 16.45 MB, free: 6.438 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.001234/0.001234, allocations: 186.9 kB / 17.39 MB, free: 5.691 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.684/1.684, allocations: 205.1 MB / 223.3 MB, free: 12.23 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.08526/0.08526, allocations: 12.59 MB / 283.2 MB, free: 15.41 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.001813/0.001813, allocations: 82.22 kB / 394.1 MB, free: 45.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1162, allocations: 49.4 MB / 443.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.004606/0.1209, allocations: 3.101 MB / 446.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.1227, allocations: 1.15 MB / 447.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.123, allocations: 15.94 kB / 447.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1232, allocations: 90.97 kB / 447.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1234, allocations: 63.22 kB / 448 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.1242, allocations: 371.4 kB / 448.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008039/0.125, allocations: 0.9482 MB / 449.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.1261, allocations: 0.94 MB / 450.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.1265, allocations: 398.7 kB / 450.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.1269, allocations: 430 kB / 451 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.1271, allocations: 120 kB / 451.1 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.1273, allocations: 147.9 kB / 451.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.1275, allocations: 255.3 kB / 451.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.1279, allocations: 473.7 kB / 452 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1291, allocations: 1.297 MB / 453.3 MB, free: 6.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1291, allocations: 4 kB / 453.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1291, allocations: 0 / 453.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.1292, allocations: 0 / 453.3 MB, free: 6.793 MB / 334.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.001955/0.1311, allocations: 1.185 MB / 454.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1312, allocations: 8.031 kB / 454.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.1314, allocations: 103.7 kB / 454.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.1322, allocations: 0.5421 MB / 455.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.1324, allocations: 130 kB / 455.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.1326, allocations: 100.4 kB / 455.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002803/0.1354, allocations: 1.726 MB / 457.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1354, allocations: 0 / 457.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.892e-05/0.1355, allocations: 39.97 kB / 457.1 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.1355, allocations: 20 kB / 457.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1371, allocations: 0.7937 MB / 457.9 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.1403, allocations: 2.113 MB / 460.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.142, allocations: 1.031 MB / 461.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.1427, allocations: 481.8 kB / 461.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-05/0.1428, allocations: 28.06 kB / 461.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006787/0.1435, allocations: 403.8 kB / 462 MB, free: 13.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.805e-06/0.1435, allocations: 0 / 462 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002218/0.1457, allocations: 1.142 MB / 463.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002009/0.146, allocations: 249.5 kB / 463.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.1464, allocations: 421.1 kB / 463.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/0.1465, allocations: 65.67 kB / 463.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.1468, allocations: 281.2 kB / 464.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.147, allocations: 158.3 kB / 464.3 MB, free: 11.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.1472, allocations: 214.6 kB / 464.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1474, allocations: 374.7 kB / 464.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000568/0.148, allocations: 321.8 kB / 465.2 MB, free: 10.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007906/0.1488, allocations: 0.6119 MB / 465.8 MB, free: 9.719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.15, allocations: 0.8566 MB / 466.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.1501, allocations: 4 kB / 466.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001597/0.1517, allocations: 0.9939 MB / 467.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.1517, allocations: 37.64 kB / 467.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.1517, allocations: 11.98 kB / 467.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.656e-05/0.1518, allocations: 16 kB / 467.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.1521, allocations: 103.8 kB / 467.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.1522, allocations: 20.28 kB / 467.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1525, allocations: 87.84 kB / 467.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.1526, allocations: 47.98 kB / 467.9 MB, free: 7.391 MB / 350.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.0005111/0.1532, allocations: 415 kB / 468.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006934/0.1539, allocations: 405.6 kB / 468.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007126/0.1546, allocations: 409.7 kB / 469.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.1546, allocations: 12 kB / 469.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.1546, allocations: 0 / 469.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.1547, allocations: 7.984 kB / 469.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.1575, allocations: 1.664 MB / 470.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.1576, allocations: 0 / 470.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/0.1579, allocations: 91.81 kB / 470.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.158, allocations: 8 kB / 470.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/0.158, allocations: 23.98 kB / 470.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/0.1581, allocations: 11.92 kB / 471 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.1581, allocations: 7.938 kB / 471 MB, free: 4.285 MB / 350.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:8011:5-8011: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.00186/0.1599, allocations: 1.129 MB / 472.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1601, allocations: 152.2 kB / 472.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.831e-05/0.1602, allocations: 35.98 kB / 472.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/0.1606, allocations: 35.97 kB / 472.3 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.1608, allocations: 91.84 kB / 472.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.1609, allocations: 31.98 kB / 472.4 MB, free: 2.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002663/0.1611, allocations: 251.2 kB / 472.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1611, allocations: 0 / 472.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007748/0.1619, allocations: 183.4 kB / 472.9 MB, free: 2.344 MB / 350.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.0003441/0.1623, allocations: 216.5 kB / 473.1 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.1642, allocations: 0.9136 MB / 474 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1642, allocations: 0 / 474 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.1648, allocations: 289.3 kB / 474.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.166, allocations: 297.4 kB / 474.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.1688, allocations: 1.444 MB / 476 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.1695, allocations: 1.01 MB / 477 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.1698, allocations: 133.1 kB / 477.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/0.1701, allocations: 67.41 kB / 477.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1701, allocations: 0 / 477.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of Templates: time 0.01498/0.1851, allocations: 7.227 MB / 484.4 MB, free: 6.648 MB / 366.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)