Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter.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.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") translateModel(Modelica.Electrical.Digital.Examples.Counter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Counter.FF.1..RS1.TD1.x|Counter.FF.1..RS2.TD1.x|Counter.FF.2..RS1.TD1.x|Counter.FF.2..RS2.TD1.x|Counter.FF.3..RS1.TD1.x|Counter.FF.3..RS2.TD1.x|Counter.FF.4..RS1.TD1.x|Counter.FF.4..RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Counter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 113.2 kB / 17.75 MB, free: 5.328 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.00109/0.00109, allocations: 196.5 kB / 18.69 MB, free: 4.398 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.355/1.355, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.502e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003801/0.003834, allocations: 2.594 MB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.006778, allocations: 1.239 MB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.007128, allocations: 7.938 kB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.007425, allocations: 67.38 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.007772, allocations: 71.31 kB / 355.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009069/0.008687, allocations: 235.6 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.01138, allocations: 2.225 MB / 358.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.01295, allocations: 0.9876 MB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.01431, allocations: 1.17 MB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.01517, allocations: 0.5064 MB / 361 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003295/0.01551, allocations: 128 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.01579, allocations: 124 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009617/0.01675, allocations: 0.9491 MB / 362.2 MB, free: 8.953 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003057/0.01707, allocations: 465.7 kB / 362.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.01722, allocations: 91.75 kB / 362.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.103e-05/0.01731, allocations: 15.88 kB / 362.8 MB, free: 8.387 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: 322 (194) * Number of variables: 322 (71) Notification: Performance of Bindings: time 0.003444/0.02076, allocations: 3.603 MB / 366.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002549/0.02102, allocations: 247.6 kB / 366.6 MB, free: 4.41 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002614/0.02364, allocations: 2.689 MB / 369.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001509/0.0238, allocations: 103.9 kB / 369.4 MB, free: 1.578 MB / 302.1 MB Notification: Performance of Alias: time 0.1723/0.1961, allocations: 1.852 MB / 371.3 MB, free: 18.71 MB / 302.1 MB Notification: Performance of simplify2: time 0.0003422/0.1965, allocations: 105.3 kB / 371.4 MB, free: 18.71 MB / 302.1 MB Notification: Performance of Events: time 0.0009807/0.1975, allocations: 0.6541 MB / 372 MB, free: 18.68 MB / 302.1 MB Notification: Performance of Detect States: time 0.001022/0.1985, allocations: 1.114 MB / 373.1 MB, free: 18.61 MB / 302.1 MB Notification: Performance of Partitioning: time 0.001302/0.1999, allocations: 1.188 MB / 374.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of Causalize: time 0.01017/0.21, allocations: 9.794 MB / 384.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.003019/0.2131, allocations: 3.241 MB / 387.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Inline: time 0.004878/0.218, allocations: 5.165 MB / 392.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001875/0.2182, allocations: 174.4 kB / 392.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002969/0.2185, allocations: 253.2 kB / 392.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Causalize: time 0.008845/0.2273, allocations: 12.7 MB / 405.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of Tearing: time 1.615e-05/0.2274, allocations: 11.22 kB / 405.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of Initialization: time 6.12e-07/0.2274, allocations: 0 / 405.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of Tearing: time 2.49e-05/0.2274, allocations: 0 / 405.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of Categorize: time 2.138e-05/0.2274, allocations: 8 kB / 405.7 MB, free: 0.832 MB / 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: Counter.FF[2].And4.x[1] ### Equation: [SCAL] (1) Counter.FF[1].RS2.qn = Counter.FF[1].And4.x[2] ($RES_SIM_141) slice: {}