Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001976/0.001977, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.494/1.494, allocations: 227.7 MB / 247.2 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001946, allocations: 71.89 kB / 358.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3031, allocations: 50.53 MB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005361/0.3086, allocations: 3.142 MB / 412.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002332/0.3109, allocations: 1.196 MB / 413.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.3113, allocations: 15.94 kB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.3116, allocations: 98.91 kB / 413.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.3118, allocations: 67.22 kB / 413.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3129, allocations: 387.4 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009547/0.3138, allocations: 0.9522 MB / 414.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.3151, allocations: 0.9322 MB / 415.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.3156, allocations: 398.7 kB / 416.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.3161, allocations: 434 kB / 416.6 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001786/0.3163, allocations: 127.9 kB / 416.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002426/0.3166, allocations: 148 kB / 416.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002876/0.3169, allocations: 263.3 kB / 417.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.3174, allocations: 469.6 kB / 417.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.3189, allocations: 1.381 MB / 419 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3189, allocations: 0 / 419 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3189, allocations: 0 / 419 MB, free: 7.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.3189, allocations: 0 / 419 MB, free: 7.344 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.002027/0.321, allocations: 1.211 MB / 420.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.321, allocations: 12.02 kB / 420.2 MB, free: 6.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001821/0.3212, allocations: 152.1 kB / 420.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/0.3217, allocations: 128.2 kB / 420.5 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007746/0.3224, allocations: 0.5541 MB / 421.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.3226, allocations: 134 kB / 421.2 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.3228, allocations: 112.2 kB / 421.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.3257, allocations: 1.71 MB / 423 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.3258, allocations: 3.938 kB / 423 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.3259, allocations: 36 kB / 423.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.3259, allocations: 24 kB / 423.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.3275, allocations: 0.7821 MB / 423.9 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.3308, allocations: 2.129 MB / 426 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.3328, allocations: 1.026 MB / 427 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008508/0.3337, allocations: 488.1 kB / 427.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.3337, allocations: 28.03 kB / 427.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007319/0.3345, allocations: 395.3 kB / 427.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.426e-06/0.3345, allocations: 0 / 427.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002391/0.3369, allocations: 1.142 MB / 429 MB, free: 12.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.3371, allocations: 249.6 kB / 429.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005564/0.3377, allocations: 429.3 kB / 429.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.3378, allocations: 65.67 kB / 429.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.338, allocations: 285.8 kB / 430.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.3382, allocations: 170.8 kB / 430.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.3385, allocations: 214.6 kB / 430.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.3387, allocations: 378.8 kB / 430.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006222/0.3393, allocations: 313.8 kB / 431.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.3403, allocations: 0.6197 MB / 431.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.3416, allocations: 0.8416 MB / 432.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.3416, allocations: 4 kB / 432.6 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001951/0.3436, allocations: 0.9883 MB / 433.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.987e-05/0.3437, allocations: 41.69 kB / 433.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.3437, allocations: 12.5 kB / 433.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.434e-05/0.3438, allocations: 12 kB / 433.6 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.3442, allocations: 103.7 kB / 433.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.3443, allocations: 23.92 kB / 433.7 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/0.3448, allocations: 91.5 kB / 433.8 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/0.3449, allocations: 48.02 kB / 433.9 MB, free: 7.734 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.0007347/0.3456, allocations: 411.1 kB / 434.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008057/0.3464, allocations: 387.8 kB / 434.7 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.3466, allocations: 79.28 kB / 434.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.3466, allocations: 12 kB / 434.8 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.3467, allocations: 4 kB / 434.8 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.3467, allocations: 7.969 kB / 434.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.3493, allocations: 1.659 MB / 436.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3493, allocations: 4 kB / 436.4 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.3497, allocations: 95.69 kB / 436.5 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.219e-05/0.3497, allocations: 11.98 kB / 436.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.416e-05/0.3498, allocations: 23.98 kB / 436.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.3498, allocations: 4 kB / 436.6 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3498, allocations: 11.92 kB / 436.6 MB, free: 4.969 MB / 350.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/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.001808/0.3516, allocations: 1.136 MB / 437.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3518, allocations: 152.5 kB / 437.9 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.3519, allocations: 35.98 kB / 437.9 MB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004288/0.3523, allocations: 39.95 kB / 437.9 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.3526, allocations: 87.84 kB / 438 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.3526, allocations: 39.92 kB / 438.1 MB, free: 3.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002956/0.3529, allocations: 251.2 kB / 438.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3529, allocations: 0 / 438.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007964/0.3537, allocations: 183.6 kB / 438.5 MB, free: 3.016 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 [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1814:3-1814:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/0.3559, allocations: 1.403 MB / 439.9 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.3578, allocations: 0.9042 MB / 440.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.3578, allocations: 0 / 440.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.3583, allocations: 288.2 kB / 441.1 MB, free: 380 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.3596, allocations: 297.3 kB / 441.4 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.3629, allocations: 1.49 MB / 442.8 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.3637, allocations: 1.018 MB / 443.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.364, allocations: 128.8 kB / 444 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.3645, allocations: 271.3 kB / 444.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3645, allocations: 0 / 444.3 MB, free: 13.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04191/0.4064, allocations: 13.92 MB / 458.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.557/9.964, allocations: 6.562 kB / 458.2 MB, free: 15.36 MB / 382.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1)