Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009349/0.000935, allocations: 175.4 kB / 16.77 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 222.9 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008658/0.0008659, allocations: 86.38 kB / 271.3 MB, free: 8.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09282/0.09282, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004525, allocations: 20 kB / 392.6 MB, free: 66.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09639, allocations: 50.38 MB / 443 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.003082/0.0995, allocations: 2.596 MB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.1014, allocations: 1.065 MB / 446.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004844/0.1019, allocations: 15.94 kB / 446.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.1022, allocations: 51.42 kB / 446.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.1025, allocations: 35.72 kB / 446.7 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009064/0.1034, allocations: 255.5 kB / 447 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007265/0.1041, allocations: 0.8272 MB / 447.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008185/0.105, allocations: 0.8932 MB / 448.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.1052, allocations: 206.8 kB / 448.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1054, allocations: 242.4 kB / 449.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.1055, allocations: 24 kB / 449.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.1056, allocations: 35.98 kB / 449.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.166e-05/0.1057, allocations: 119.4 kB / 449.3 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.1059, allocations: 319.7 kB / 449.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005882/0.1065, allocations: 0.959 MB / 450.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1065, allocations: 0 / 450.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1065, allocations: 0 / 450.6 MB, free: 8.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1065, allocations: 0 / 450.6 MB, free: 8.441 MB / 298.7 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.001314/0.1078, allocations: 0.9938 MB / 451.6 MB, free: 7.379 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1079, allocations: 12.03 kB / 451.6 MB, free: 7.367 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.108, allocations: 99.72 kB / 451.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.1085, allocations: 0.5266 MB / 452.2 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.1087, allocations: 141.9 kB / 452.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.1088, allocations: 100.4 kB / 452.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.111, allocations: 1.726 MB / 454.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.111, allocations: 7.938 kB / 454.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.986e-05/0.1111, allocations: 40 kB / 454.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.1111, allocations: 20 kB / 454.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1125, allocations: 0.8016 MB / 455 MB, free: 3.805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.1149, allocations: 2.148 MB / 457.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.1163, allocations: 1.047 MB / 458.2 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006585/0.117, allocations: 495.5 kB / 458.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-05/0.1171, allocations: 32.11 kB / 458.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.1178, allocations: 399.3 kB / 459.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 3.066e-06/0.1178, allocations: 0 / 459.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.002248/0.12, allocations: 1.162 MB / 460.3 MB, free: 14.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000187/0.1202, allocations: 257.5 kB / 460.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.1207, allocations: 417.1 kB / 461 MB, free: 13.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/0.1209, allocations: 61.69 kB / 461 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1211, allocations: 277.2 kB / 461.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.1213, allocations: 166.2 kB / 461.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.1213, allocations: 20 kB / 461.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1215, allocations: 370.8 kB / 461.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005807/0.1221, allocations: 329.8 kB / 462.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/0.1229, allocations: 0.6119 MB / 462.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.1241, allocations: 0.8763 MB / 463.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1242, allocations: 0 / 463.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001616/0.1258, allocations: 1.002 MB / 464.6 MB, free: 9.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.1258, allocations: 37.7 kB / 464.7 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.1259, allocations: 12 kB / 464.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.1259, allocations: 12.41 kB / 464.7 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.1263, allocations: 115.7 kB / 464.8 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.1263, allocations: 23.92 kB / 464.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.1267, allocations: 87.27 kB / 464.9 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.1267, allocations: 43.98 kB / 465 MB, free: 9.293 MB / 314.7 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.0005984/0.1274, allocations: 419.3 kB / 465.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006644/0.128, allocations: 388.7 kB / 465.8 MB, free: 8.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006567/0.1287, allocations: 416.8 kB / 466.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.1287, allocations: 15.98 kB / 466.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.1287, allocations: 0 / 466.2 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.1288, allocations: 7.984 kB / 466.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.1312, allocations: 1.686 MB / 467.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1312, allocations: 0 / 467.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.1315, allocations: 99.69 kB / 468 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.1316, allocations: 4 kB / 468 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.592e-05/0.1316, allocations: 27.98 kB / 468 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.1316, allocations: 7.984 kB / 468 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1316, allocations: 11.94 kB / 468 MB, free: 6.148 MB / 314.7 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:7938:5-7938: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.001606/0.1333, allocations: 1.128 MB / 469.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1334, allocations: 152.2 kB / 469.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.1335, allocations: 39.98 kB / 469.3 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.1338, allocations: 43.97 kB / 469.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.134, allocations: 91.81 kB / 469.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.1341, allocations: 35.98 kB / 469.5 MB, free: 4.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.1344, allocations: 251.1 kB / 469.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1344, allocations: 0 / 469.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007607/0.1351, allocations: 187.4 kB / 469.9 MB, free: 4.188 MB / 314.7 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.0003206/0.1355, allocations: 204.6 kB / 470.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.1371, allocations: 0.9138 MB / 471 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1372, allocations: 0.75 kB / 471 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.1377, allocations: 299.6 kB / 471.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.1387, allocations: 289.6 kB / 471.6 MB, free: 2.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1412, allocations: 1.64 MB / 473.3 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/0.1419, allocations: 1.003 MB / 474.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.1421, allocations: 63.41 kB / 474.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1421, allocations: 0 / 474.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Templates: time 0.01244/0.1546, allocations: 9.289 MB / 483.6 MB, free: 6.355 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1)