Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlop.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.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlop") translateModel(Modelica.Electrical.Digital.Examples.FlipFlop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|FF.RS1.TD1.x|FF.RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FlipFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 114.7 kB / 17.75 MB, free: 5.277 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.001398/0.001398, allocations: 187 kB / 18.68 MB, free: 4.355 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.275/1.275, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.104e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.003574/0.003606, allocations: 2.119 MB / 354.1 MB, free: 1.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.006224, allocations: 1.138 MB / 355.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.006452, allocations: 4 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.006711, allocations: 47.69 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.00692, allocations: 47.58 kB / 355.3 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.007581, allocations: 175.7 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005763/0.008169, allocations: 451.5 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.008498, allocations: 169.2 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009602/0.009465, allocations: 0.8305 MB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004039/0.00988, allocations: 235.1 kB / 357.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.01004, allocations: 48 kB / 357.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.01016, allocations: 40 kB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004645/0.01063, allocations: 0.5181 MB / 357.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001866/0.01083, allocations: 275.9 kB / 358 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01095, allocations: 51.81 kB / 358 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.137e-05/0.01102, allocations: 11.88 kB / 358.1 MB, free: 13.11 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 (79) * Number of variables: 81 (61) Notification: Performance of Bindings: time 0.00196/0.01298, allocations: 1.602 MB / 359.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002075/0.0132, allocations: 95.8 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00126/0.01447, allocations: 1.002 MB / 360.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001456/0.01462, allocations: 63.86 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of Alias: time 0.001449/0.01608, allocations: 1.136 MB / 362 MB, free: 8.957 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001085/0.0162, allocations: 59.8 kB / 362 MB, free: 8.898 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005118/0.01672, allocations: 454.9 kB / 362.5 MB, free: 8.438 MB / 302.1 MB Notification: Performance of Events: time 0.0003377/0.01707, allocations: 237.8 kB / 362.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004696/0.01754, allocations: 435 kB / 363.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of Causalize: time 0.002395/0.01995, allocations: 1.977 MB / 365.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001171/0.02113, allocations: 1.034 MB / 366.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of Inline: time 0.002/0.02314, allocations: 1.675 MB / 367.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001075/0.02326, allocations: 99.59 kB / 367.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001725/0.02344, allocations: 91.81 kB / 368 MB, free: 2.816 MB / 302.1 MB Notification: Performance of Causalize: time 0.003296/0.02674, allocations: 2.634 MB / 370.6 MB, free: 172 kB / 302.1 MB Notification: Performance of Tearing: time 1.919e-05/0.02677, allocations: 0 / 370.6 MB, free: 172 kB / 302.1 MB Notification: Performance of Initialization: time 7.41e-07/0.02678, allocations: 4 kB / 370.6 MB, free: 168 kB / 302.1 MB Notification: Performance of Tearing: time 1.04e-05/0.02679, allocations: 0 / 370.6 MB, free: 168 kB / 302.1 MB Notification: Performance of Categorize: time 1.442e-05/0.02681, allocations: 4 kB / 370.6 MB, free: 164 kB / 302.1 MB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED) ------------------------------------------------------ ### Variable: FF.And1.auxiliary[1 + $i1] ### Equation: [FOR-] (2) ($RES_SIM_21) [----] for $i1 in 1:2 loop [----] [SCAL] (1) FF.And1.auxiliary[$i1 + 1] = ({{Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'U'}, {Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X'}, {Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0'}, {Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'1', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'1', Modelica.Electrical.Digital.Interfaces.Logic.'X'}, {Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X'}, {Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X'}, {Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'0'}, {Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'1', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'1', Modelica.Electrical.Digital.Interfaces.Logic.'X'}, {Modelica.Electrical.Digital.Interfaces.Logic.'U', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'0', Modelica.Electrical.Digital.Interfaces.Logic.'X', Modelica.Electrical.Digital.Interfaces.Logic.'X'}})[FF.And1.auxiliary[$i1], FF.And1.x[$i1 + 1]] ($RES_SIM_22) [----] end for; slice: {1, 0}