Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 107.9 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 189.8 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/2.843e-05, allocations: 2.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002047/0.002089, allocations: 0.8561 MB / 352.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003455/0.002446, allocations: 115.6 kB / 352.9 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.002544, allocations: 4 kB / 352.9 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.022e-05/0.0026, allocations: 3.938 kB / 352.9 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.002739, allocations: 11.92 kB / 352.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.002987, allocations: 43.89 kB / 353 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003117, allocations: 47.84 kB / 353 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.003234, allocations: 20 kB / 353 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.418e-05/0.003274, allocations: 23.86 kB / 353 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.003316, allocations: 11.92 kB / 353.1 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.003338, allocations: 4 kB / 353.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.003353, allocations: 4 kB / 353.1 MB, free: 2.156 MB / 286.1 MB Notification: Performance of combineBinaries: time 7.707e-05/0.003434, allocations: 82.91 kB / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 2.817e-05/0.003469, allocations: 51.22 kB / 353.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.003496, allocations: 11.94 kB / 353.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.306e-05/0.003523, allocations: 3.938 kB / 353.2 MB, free: 2.008 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 (11) * Number of variables: 11 (11) Notification: Performance of Bindings: time 0.0003803/0.003909, allocations: 300.6 kB / 353.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of FunctionAlias: time 4.787e-05/0.003963, allocations: 15.92 kB / 353.5 MB, free: 1.598 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000127/0.004095, allocations: 128.4 kB / 353.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simplify1: time 1.381e-05/0.004116, allocations: 15.98 kB / 353.7 MB, free: 1.43 MB / 286.1 MB Notification: Performance of Alias: time 0.0004619/0.004582, allocations: 309.9 kB / 354 MB, free: 1.051 MB / 286.1 MB Notification: Performance of simplify2: time 5.921e-06/0.004597, allocations: 3.984 kB / 354 MB, free: 1.047 MB / 286.1 MB Notification: Performance of Events: time 4.627e-05/0.004648, allocations: 12 kB / 354 MB, free: 1.035 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001185/0.004772, allocations: 44.17 kB / 354 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of Partitioning: time 5.173e-05/0.004831, allocations: 32.11 kB / 354 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of Causalize: time 0.000156/0.004994, allocations: 112 kB / 354.2 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 8.438e-05/0.005088, allocations: 88.34 kB / 354.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of Inline: time 0.0001748/0.005272, allocations: 160.2 kB / 354.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of Partitioning: time 1.827e-05/0.005298, allocations: 20.11 kB / 354.4 MB, free: 500 kB / 286.1 MB Notification: Performance of Cleanup: time 1.11e-05/0.005315, allocations: 4 kB / 354.4 MB, free: 496 kB / 286.1 MB Notification: Performance of Causalize: time 0.0003153/0.005634, allocations: 258.2 kB / 354.7 MB, free: 228 kB / 286.1 MB Notification: Performance of Tearing: time 6.242e-06/0.005652, allocations: 3.938 kB / 354.7 MB, free: 224 kB / 286.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005657, allocations: 0 / 354.7 MB, free: 224 kB / 286.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [WHEN] (1)when periodicClock.c then [----] assignClock1.y := assignClock1.u [----] end when;