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.001152/0.001152, allocations: 113.1 kB / 17.75 MB, free: 5.309 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.001116/0.001116, allocations: 196.5 kB / 18.68 MB, free: 4.387 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.226/1.226, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.613e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FlipFlop): time 0.002588/0.002612, allocations: 2.125 MB / 354.1 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.005432, allocations: 1.134 MB / 355.2 MB, free: 12 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.005752, allocations: 7.938 kB / 355.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.006074, allocations: 43.66 kB / 355.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.006315, allocations: 47.5 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.00713, allocations: 159.8 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007883/0.00793, allocations: 455.6 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.008356, allocations: 173.2 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.00956, allocations: 0.8304 MB / 356.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004431/0.01002, allocations: 243.1 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.0102, allocations: 44 kB / 357.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.01035, allocations: 40 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0006061/0.01096, allocations: 0.5103 MB / 357.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002137/0.01119, allocations: 279.8 kB / 358 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.956e-05/0.01129, allocations: 51.88 kB / 358 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.067e-05/0.01136, allocations: 15.81 kB / 358.1 MB, free: 13.12 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.002156/0.01353, allocations: 1.598 MB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001828/0.01372, allocations: 91.81 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001523/0.01525, allocations: 0.9948 MB / 360.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001598/0.01542, allocations: 75.78 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Alias: time 0.001844/0.01728, allocations: 1.144 MB / 362 MB, free: 8.965 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001045/0.0174, allocations: 55.86 kB / 362 MB, free: 8.91 MB / 302.1 MB Notification: Performance of Events: time 0.0003987/0.01781, allocations: 219.3 kB / 362.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007773/0.01859, allocations: 0.493 MB / 362.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006786/0.01929, allocations: 429.5 kB / 363.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of Causalize: time 0.002898/0.0222, allocations: 1.919 MB / 365.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001491/0.0237, allocations: 1.006 MB / 366.1 MB, free: 4.789 MB / 302.1 MB Notification: Performance of Inline: time 0.001899/0.02562, allocations: 1.663 MB / 367.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of Partitioning: time 9.577e-05/0.02573, allocations: 99.53 kB / 367.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001211/0.02586, allocations: 99.69 kB / 367.9 MB, free: 2.895 MB / 302.1 MB Notification: Performance of Causalize: time 0.002662/0.02853, allocations: 2.568 MB / 370.5 MB, free: 324 kB / 302.1 MB Notification: Performance of Tearing: time 6.182e-06/0.02855, allocations: 4 kB / 370.5 MB, free: 320 kB / 302.1 MB Notification: Performance of Initialization: time 3.41e-07/0.02855, allocations: 0 / 370.5 MB, free: 320 kB / 302.1 MB Notification: Performance of Tearing: time 5.47e-06/0.02856, allocations: 3.938 kB / 370.5 MB, free: 316 kB / 302.1 MB Notification: Performance of Categorize: time 9.979e-06/0.02858, allocations: 4 kB / 370.5 MB, free: 312 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}