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/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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 175 kB / 15.81 MB, free: 6.281 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.7/1.7, allocations: 205.4 MB / 222 MB, free: 13.75 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.0008771/0.0008776, allocations: 102.2 kB / 270.3 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09402/0.09402, allocations: 12.6 MB / 331.2 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000452/0.0004523, allocations: 15.19 kB / 392.1 MB, free: 54.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 50.37 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.003244/0.1185, allocations: 2.589 MB / 445.1 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1206, allocations: 1.096 MB / 446.2 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000376/0.121, allocations: 15.94 kB / 446.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1213, allocations: 55.42 kB / 446.2 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001395/0.1214, allocations: 31.72 kB / 446.3 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008783/0.1223, allocations: 269.3 kB / 446.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007608/0.1231, allocations: 0.8233 MB / 447.4 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/0.1238, allocations: 0.6496 MB / 448 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1241, allocations: 198.8 kB / 448.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1244, allocations: 246.4 kB / 448.5 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.1244, allocations: 20 kB / 448.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1246, allocations: 35.98 kB / 448.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.1247, allocations: 119.3 kB / 448.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1248, allocations: 157.2 kB / 448.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008021/0.1256, allocations: 0.9635 MB / 449.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1256, allocations: 3.938 kB / 449.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1256, allocations: 0 / 449.7 MB, free: 3.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1256, allocations: 0 / 449.7 MB, free: 3.5 MB / 282.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.001571/0.1272, allocations: 0.9977 MB / 450.7 MB, free: 2.434 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1273, allocations: 11.97 kB / 450.8 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/0.1274, allocations: 152 kB / 450.9 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1276, allocations: 106.7 kB / 451 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.1283, allocations: 0.5138 MB / 451.5 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.1284, allocations: 137.4 kB / 451.7 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1285, allocations: 100 kB / 451.8 MB, free: 1.359 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.1313, allocations: 1.714 MB / 453.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.1314, allocations: 7.953 kB / 453.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/0.1315, allocations: 36 kB / 453.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.1315, allocations: 20 kB / 453.5 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.1332, allocations: 0.7977 MB / 454.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0034/0.1366, allocations: 2.152 MB / 456.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1384, allocations: 1.046 MB / 457.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007995/0.1392, allocations: 490.3 kB / 458 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.646e-05/0.1393, allocations: 32.03 kB / 458 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007709/0.1401, allocations: 403.3 kB / 458.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 5.711e-06/0.1401, allocations: 3.938 kB / 458.4 MB, free: 10.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.002608/0.1427, allocations: 1.158 MB / 459.6 MB, free: 9.262 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.1429, allocations: 250.1 kB / 459.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007548/0.1437, allocations: 429 kB / 460.3 MB, free: 8.539 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.1438, allocations: 61.69 kB / 460.3 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1441, allocations: 281.2 kB / 460.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.1443, allocations: 154.3 kB / 460.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1443, allocations: 20 kB / 460.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.1446, allocations: 370.8 kB / 461.1 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.1452, allocations: 325.8 kB / 461.4 MB, free: 7.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009567/0.1461, allocations: 0.6238 MB / 462.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/0.1469, allocations: 401.2 kB / 462.5 MB, free: 6.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.1469, allocations: 4 kB / 462.5 MB, free: 6.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001984/0.1489, allocations: 1.003 MB / 463.5 MB, free: 5.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.1491, allocations: 37.7 kB / 463.5 MB, free: 5.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.804e-05/0.1492, allocations: 8 kB / 463.5 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.1492, allocations: 16 kB / 463.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/0.1496, allocations: 123.6 kB / 463.6 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/0.1496, allocations: 19.94 kB / 463.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.1501, allocations: 99.25 kB / 463.8 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.1501, allocations: 36 kB / 463.8 MB, free: 4.824 MB / 298.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.0005951/0.1507, allocations: 414.9 kB / 464.2 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.1515, allocations: 384.8 kB / 464.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/0.1522, allocations: 412.3 kB / 465 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.1522, allocations: 8 kB / 465 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/0.1522, allocations: 4 kB / 465 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.1523, allocations: 7.984 kB / 465 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.1549, allocations: 1.689 MB / 466.7 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.1549, allocations: 0 / 466.7 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/0.1553, allocations: 103.7 kB / 466.8 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.1554, allocations: 8 kB / 466.8 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.1554, allocations: 23.98 kB / 466.8 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.1554, allocations: 4 kB / 466.8 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.1555, allocations: 8.078 kB / 466.8 MB, free: 1.711 MB / 298.7 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: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.001986/0.1574, allocations: 1.144 MB / 468 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1576, allocations: 148.2 kB / 468.1 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.1577, allocations: 39.92 kB / 468.2 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.1581, allocations: 51.86 kB / 468.2 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.1583, allocations: 87.88 kB / 468.3 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.1584, allocations: 31.98 kB / 468.3 MB, free: 172 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002859/0.1587, allocations: 255.1 kB / 468.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1587, allocations: 0 / 468.6 MB, free: 15.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009302/0.1596, allocations: 187.3 kB / 468.8 MB, free: 15.73 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 [/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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1766:3-1766:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002269/0.1619, allocations: 1.426 MB / 470.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001955/0.1639, allocations: 0.9063 MB / 471.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.1639, allocations: 8 kB / 471.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000521/0.1644, allocations: 291.8 kB / 471.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.1656, allocations: 297.1 kB / 471.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.169, allocations: 1.673 MB / 473.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.1697, allocations: 1.018 MB / 474.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00037/0.1701, allocations: 128.7 kB / 474.5 MB, free: 9.879 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.1706, allocations: 267.3 kB / 474.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1707, allocations: 0 / 474.8 MB, free: 9.617 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2014, allocations: 12.74 MB / 487.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.2016, allocations: 206.9 kB / 487.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/2.648, allocations: 0 / 487.7 MB, free: 12.62 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1)