Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_3.2.3_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.001531/0.001531, allocations: 104 kB / 18.41 MB, free: 4.688 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.001483/0.001484, allocations: 194.6 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/2.816e-05, allocations: 7.062 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Counter): time 0.003763/0.003799, allocations: 2.594 MB / 331.8 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002911/0.006726, allocations: 1.287 MB / 333 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001964/0.006936, allocations: 7.938 kB / 333.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.007169, allocations: 67.38 kB / 333.1 MB, free: 15.37 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.007354, allocations: 67.31 kB / 333.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.008002, allocations: 231.7 kB / 333.4 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002/0.01001, allocations: 2.229 MB / 335.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.01114, allocations: 0.9798 MB / 336.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.01258, allocations: 1.166 MB / 337.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.01332, allocations: 0.5104 MB / 338.3 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.01352, allocations: 124 kB / 338.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.01373, allocations: 132 kB / 338.5 MB, free: 9.918 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00084/0.01457, allocations: 0.9491 MB / 339.5 MB, free: 8.961 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002873/0.01487, allocations: 469.7 kB / 340 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.01498, allocations: 87.75 kB / 340 MB, free: 8.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001028/0.01509, allocations: 19.88 kB / 340.1 MB, free: 8.391 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: 322 (194) * Number of variables: 322 (71) Notification: Performance of Bindings: time 0.003642/0.01874, allocations: 3.595 MB / 343.7 MB, free: 4.668 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002482/0.01899, allocations: 251.6 kB / 343.9 MB, free: 4.422 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002638/0.02164, allocations: 2.677 MB / 346.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of simplify1: time 0.0002062/0.02186, allocations: 107.8 kB / 346.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of Alias: time 0.002111/0.02398, allocations: 1.865 MB / 348.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001526/0.02414, allocations: 111.8 kB / 348.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of Events: time 0.0008293/0.02498, allocations: 0.6447 MB / 349.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of Detect States: time 0.001129/0.02612, allocations: 1.12 MB / 350.4 MB, free: 13.76 MB / 302.1 MB Notification: Performance of Partitioning: time 0.00135/0.02748, allocations: 1.187 MB / 351.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of Causalize: time 0.01054/0.03803, allocations: 9.785 MB / 361.4 MB, free: 3.125 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.003498/0.04156, allocations: 3.252 MB / 364.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of Inline: time 0.005726/0.0473, allocations: 5.162 MB / 369.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002354/0.04756, allocations: 187.8 kB / 370 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Cleanup: time 0.00033/0.0479, allocations: 251.6 kB / 370.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of Causalize: time 0.2551/0.303, allocations: 12.68 MB / 382.9 MB, free: 38.47 MB / 318.1 MB Notification: Performance of Tearing: time 1.195e-05/0.3031, allocations: 2.344 kB / 382.9 MB, free: 38.47 MB / 318.1 MB Notification: Performance of Initialization: time 7.72e-07/0.3031, allocations: 0 / 382.9 MB, free: 38.47 MB / 318.1 MB Notification: Performance of Tearing: time 2.54e-05/0.3031, allocations: 0 / 382.9 MB, free: 38.47 MB / 318.1 MB Notification: Performance of Categorize: time 4.595e-05/0.3032, allocations: 8.891 kB / 382.9 MB, free: 38.47 MB / 318.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: {}