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.0008147/0.0008147, allocations: 179.7 kB / 16.12 MB, free: 5.688 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.284/1.284, allocations: 205 MB / 221.9 MB, free: 9.16 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.0007187/0.0007187, allocations: 93.67 kB / 269.9 MB, free: 8.684 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.065/0.065, allocations: 12.57 MB / 330.4 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003424, allocations: 8.281 kB / 391.2 MB, free: 66.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07038/0.07073, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.LogicalSample): time 0.002989/0.07377, allocations: 2.785 MB / 443.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.07558, allocations: 1.111 MB / 445 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.0758, allocations: 15.94 kB / 445.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.07601, allocations: 63.41 kB / 445.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.07614, allocations: 35.66 kB / 445.1 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.07678, allocations: 331.7 kB / 445.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.07723, allocations: 0.8584 MB / 446.3 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006991/0.07793, allocations: 0.8815 MB / 447.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.07812, allocations: 218.7 kB / 447.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.07828, allocations: 258.2 kB / 447.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.07834, allocations: 16 kB / 447.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.07843, allocations: 39.98 kB / 447.7 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.07852, allocations: 131.3 kB / 447.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.07868, allocations: 313.7 kB / 448.2 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.07926, allocations: 1.137 MB / 449.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.07927, allocations: 0 / 449.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.07928, allocations: 0 / 449.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.0793, allocations: 3.938 kB / 449.3 MB, free: 8.059 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.001141/0.08044, allocations: 0.9861 MB / 450.3 MB, free: 7.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.08048, allocations: 15.97 kB / 450.3 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.08062, allocations: 156.2 kB / 450.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.08075, allocations: 103.7 kB / 450.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.08126, allocations: 0.5303 MB / 451.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.984e-05/0.08136, allocations: 134 kB / 451.2 MB, free: 6.012 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.77e-05/0.08145, allocations: 96.38 kB / 451.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.0835, allocations: 1.746 MB / 453.1 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.08353, allocations: 0 / 453.1 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/0.0836, allocations: 32 kB / 453.1 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.08362, allocations: 20 kB / 453.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.08481, allocations: 0.8133 MB / 453.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.08698, allocations: 2.156 MB / 456.1 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.08827, allocations: 1.052 MB / 457.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007285/0.08902, allocations: 496.7 kB / 457.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.996e-05/0.0891, allocations: 24.12 kB / 457.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006258/0.08973, allocations: 399.3 kB / 458 MB, free: 14.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 2.775e-06/0.08975, allocations: 3.938 kB / 458 MB, free: 14.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.002127/0.09188, allocations: 1.172 MB / 459.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.09205, allocations: 253.5 kB / 459.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.09244, allocations: 421 kB / 459.9 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.09252, allocations: 65.69 kB / 459.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.09272, allocations: 289.2 kB / 460.2 MB, free: 12.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.09286, allocations: 154.2 kB / 460.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.09301, allocations: 145.6 kB / 460.5 MB, free: 12.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.09315, allocations: 370.8 kB / 460.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.09371, allocations: 325.8 kB / 461.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.09445, allocations: 0.6275 MB / 461.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.09562, allocations: 0.8696 MB / 462.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.09564, allocations: 4 kB / 462.7 MB, free: 9.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001547/0.0972, allocations: 1.018 MB / 463.7 MB, free: 8.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.09725, allocations: 45.62 kB / 463.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.09727, allocations: 12 kB / 463.8 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.0973, allocations: 12 kB / 463.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.09764, allocations: 111.7 kB / 463.9 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.09767, allocations: 15.94 kB / 463.9 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.09803, allocations: 99.25 kB / 464 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.09811, allocations: 47.98 kB / 464 MB, free: 8.555 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,$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.000428/0.09854, allocations: 407.6 kB / 464.4 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/0.09917, allocations: 396.7 kB / 464.8 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.09977, allocations: 414.4 kB / 465.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.09979, allocations: 12 kB / 465.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.0998, allocations: 0 / 465.2 MB, free: 7.324 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.09982, allocations: 7.984 kB / 465.3 MB, free: 7.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.102, allocations: 1.691 MB / 466.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.102, allocations: 0 / 466.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.1024, allocations: 103.8 kB / 467 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1024, allocations: 4 kB / 467 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.1024, allocations: 23.98 kB / 467.1 MB, free: 5.438 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.1025, allocations: 7.984 kB / 467.1 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1025, allocations: 7.938 kB / 467.1 MB, free: 5.422 MB / 314.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:7947:5-7947: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.0016/0.1041, allocations: 1.147 MB / 468.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.1042, allocations: 144.2 kB / 468.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.573e-05/0.1043, allocations: 39.98 kB / 468.4 MB, free: 4.047 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.1046, allocations: 43.97 kB / 468.5 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.1048, allocations: 87.84 kB / 468.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/0.1049, allocations: 31.98 kB / 468.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000233/0.1051, allocations: 251.2 kB / 468.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1051, allocations: 0 / 468.8 MB, free: 3.641 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006254/0.1058, allocations: 191.3 kB / 469 MB, free: 3.453 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 (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:7947:5-7947: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.001851/0.1076, allocations: 1.427 MB / 470.4 MB, free: 1.988 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.1091, allocations: 0.9143 MB / 471.3 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1091, allocations: 8.062 kB / 471.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004874/0.1096, allocations: 291.6 kB / 471.6 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.1106, allocations: 305.1 kB / 471.9 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.1132, allocations: 1.766 MB / 473.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.1137, allocations: 1.01 MB / 474.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002891/0.114, allocations: 133.1 kB / 474.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003479/0.1144, allocations: 267.3 kB / 475.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1144, allocations: 0 / 475.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2546/0.369, allocations: 13 MB / 488.1 MB, free: 200 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2217/0.5907, allocations: 230.8 kB / 488.3 MB, free: 58.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.909, allocations: 0 / 488.3 MB, free: 58.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)