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.00134/0.00134, allocations: 179.4 kB / 16.45 MB, free: 5.684 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.546/1.546, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0008399/0.00084, allocations: 93.42 kB / 270.9 MB, free: 8.352 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.08481/0.08481, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004502, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08393/0.0844, allocations: 50.38 MB / 442.4 MB, free: 16.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.00295/0.08742, allocations: 2.584 MB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.08896, allocations: 1.092 MB / 446 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.08919, allocations: 19.94 kB / 446.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001613/0.08936, allocations: 55.42 kB / 446.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.08949, allocations: 27.72 kB / 446.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007345/0.09023, allocations: 271.5 kB / 446.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005122/0.09076, allocations: 0.8233 MB / 447.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006551/0.09142, allocations: 0.6496 MB / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.09163, allocations: 202.8 kB / 448.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.09182, allocations: 246.4 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.09187, allocations: 16 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.597e-05/0.09197, allocations: 35.98 kB / 448.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.09207, allocations: 119.4 kB / 448.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.09216, allocations: 157.2 kB / 448.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.09273, allocations: 0.963 MB / 449.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.09274, allocations: 3.938 kB / 449.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.09275, allocations: 0 / 449.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.09276, allocations: 3.938 kB / 449.6 MB, free: 9.148 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.00132/0.09409, allocations: 1.002 MB / 450.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.09413, allocations: 8.031 kB / 450.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.09428, allocations: 106.7 kB / 450.7 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005747/0.09486, allocations: 0.5215 MB / 451.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.09498, allocations: 133.4 kB / 451.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.09509, allocations: 96 kB / 451.5 MB, free: 7.164 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.09741, allocations: 1.722 MB / 453.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.09745, allocations: 0 / 453.2 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.09753, allocations: 43.94 kB / 453.2 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.09755, allocations: 20 kB / 453.3 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.09884, allocations: 0.7977 MB / 454.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.1013, allocations: 2.148 MB / 456.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.1027, allocations: 1.051 MB / 457.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000643/0.1033, allocations: 493.9 kB / 457.7 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.951e-05/0.1034, allocations: 28.11 kB / 457.8 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/0.1041, allocations: 411.2 kB / 458.2 MB, free: 220 kB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.565e-06/0.1041, allocations: 0 / 458.2 MB, free: 220 kB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.002199/0.1063, allocations: 1.162 MB / 459.3 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000162/0.1064, allocations: 257.4 kB / 459.6 MB, free: 14.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.1069, allocations: 417.1 kB / 460 MB, free: 14.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/0.107, allocations: 69.69 kB / 460.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1072, allocations: 281.1 kB / 460.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.1074, allocations: 154.2 kB / 460.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.013e-05/0.1074, allocations: 20 kB / 460.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1076, allocations: 370.8 kB / 460.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.1082, allocations: 329.8 kB / 461.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007892/0.109, allocations: 0.6121 MB / 461.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006406/0.1097, allocations: 409.2 kB / 462.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1097, allocations: 0 / 462.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001611/0.1113, allocations: 0.9993 MB / 463.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/0.1114, allocations: 33.7 kB / 463.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.1114, allocations: 12 kB / 463.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.1114, allocations: 16.31 kB / 463.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.1118, allocations: 119.7 kB / 463.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.1118, allocations: 23.89 kB / 463.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.1122, allocations: 91.34 kB / 463.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/0.1123, allocations: 40 kB / 463.5 MB, free: 10.62 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.0005746/0.1129, allocations: 406.9 kB / 463.9 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006446/0.1135, allocations: 392.8 kB / 464.3 MB, free: 9.816 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.1142, allocations: 410.4 kB / 464.7 MB, free: 9.414 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.1142, allocations: 12 kB / 464.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.1142, allocations: 4 kB / 464.7 MB, free: 9.398 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.1142, allocations: 7.969 kB / 464.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.1166, allocations: 1.691 MB / 466.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.1167, allocations: 4 kB / 466.4 MB, free: 7.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003732/0.117, allocations: 103.9 kB / 466.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.1171, allocations: 4 kB / 466.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.1171, allocations: 27.98 kB / 466.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.1171, allocations: 4 kB / 466.6 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1171, allocations: 0 / 466.6 MB, free: 7.5 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:7863:5-7863: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.001584/0.1187, allocations: 1.147 MB / 467.7 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1189, allocations: 140.3 kB / 467.8 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.119, allocations: 43.98 kB / 467.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.1193, allocations: 39.97 kB / 467.9 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.1195, allocations: 95.83 kB / 468 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-05/0.1196, allocations: 31.98 kB / 468.1 MB, free: 5.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002641/0.1199, allocations: 247.2 kB / 468.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1199, allocations: 3.938 kB / 468.3 MB, free: 5.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000729/0.1206, allocations: 195.3 kB / 468.5 MB, free: 5.523 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.0003189/0.121, allocations: 208.6 kB / 468.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.1225, allocations: 0.9066 MB / 469.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1226, allocations: 0 / 469.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005123/0.1231, allocations: 293.3 kB / 469.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.1241, allocations: 297.8 kB / 470.2 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.1267, allocations: 1.644 MB / 471.8 MB, free: 2.121 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.1274, allocations: 0.9948 MB / 472.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.1276, allocations: 71.41 kB / 472.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1276, allocations: 0 / 472.9 MB, free: 1.027 MB / 314.7 MB Notification: Performance of Templates: time 0.01396/0.1416, allocations: 9.321 MB / 482.2 MB, free: 7.645 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)