Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.FullAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder1.Adder1.AND.G2.x|Adder1.Adder1.AND.G2.y|Adder1.Adder1.XOR.G2.x|Adder1.Adder1.XOR.G2.y|Adder1.Adder2.AND.G2.x|Adder1.Adder2.AND.G2.y|Adder1.Adder2.XOR.G2.x|Adder1.Adder2.XOR.G2.y|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder") translateModel(Modelica.Electrical.Digital.Examples.FullAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder1.Adder1.AND.G2.x|Adder1.Adder1.AND.G2.y|Adder1.Adder1.XOR.G2.x|Adder1.Adder1.XOR.G2.y|Adder1.Adder2.AND.G2.x|Adder1.Adder2.AND.G2.y|Adder1.Adder2.XOR.G2.x|Adder1.Adder2.XOR.G2.y|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002018/0.002018, allocations: 104.5 kB / 19.04 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002217/0.002217, allocations: 214.5 kB / 20.03 MB, free: 2.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.208/1.208, allocations: 230.4 MB / 251.3 MB, free: 8.738 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.32e-05, allocations: 4.953 kB / 368.8 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005084/0.005098, allocations: 4.929 MB / 373.8 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1214/0.1265, allocations: 2.192 MB / 376 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005502/0.127, allocations: 22.72 kB / 376 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004972/0.1275, allocations: 199.8 kB / 376.2 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005148/0.128, allocations: 190 kB / 376.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1292, allocations: 0.7108 MB / 377.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.131, allocations: 2.042 MB / 379.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006936/0.1317, allocations: 0.5172 MB / 379.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.1341, allocations: 2.613 MB / 382.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.1353, allocations: 1.089 MB / 383.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.1356, allocations: 232.5 kB / 383.6 MB, free: 8.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.1359, allocations: 235.6 kB / 383.8 MB, free: 8.402 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001165/0.1371, allocations: 2.176 MB / 386 MB, free: 6.992 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003422/0.1374, allocations: 1.115 MB / 387.1 MB, free: 6.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.1376, allocations: 234.2 kB / 387.3 MB, free: 6.066 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000131/0.1378, allocations: 54.91 kB / 387.4 MB, free: 6.035 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: 324 (294) * Number of variables: 324 (250) Notification: Performance of Bindings: time 0.003447/0.1412, allocations: 4.729 MB / 392.1 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0006559/0.1419, allocations: 0.824 MB / 392.9 MB, free: 2.328 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002751/0.1446, allocations: 3.174 MB / 396.1 MB, free: 240 kB / 302.1 MB Notification: Performance of Simplify 1: time 0.001035/0.1457, allocations: 0.752 MB / 396.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of Alias: time 0.004463/0.1501, allocations: 3.901 MB / 400.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of Simplify 2: time 0.0009303/0.1511, allocations: 0.6599 MB / 401.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of Remove Stream: time 0.0008871/0.1519, allocations: 0.6633 MB / 402.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of Detect States: time 0.001881/0.1538, allocations: 1.627 MB / 403.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of Events: time 0.001373/0.1552, allocations: 1.172 MB / 404.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of Partitioning: time 0.002262/0.1575, allocations: 2.034 MB / 406.9 MB, free: 8.445 MB / 318.1 MB Notification: Performance of Causalize: time 0.007872/0.1653, allocations: 7.177 MB / 414.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.003322/0.1687, allocations: 3.08 MB / 417.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Simplify: time 0.002983/0.1716, allocations: 2.299 MB / 419.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of Inline: time 0.005068/0.1767, allocations: 4.648 MB / 424.1 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0002045/0.1769, allocations: 115.4 kB / 424.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of Cleanup: time 0.00189/0.1788, allocations: 1.865 MB / 426.1 MB, free: 5.246 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) Adder1.Adder1.XOR.G2.y_auxiliary = Adder1.Adder1.XOR.G2.y0 ($RES_SRT_384); [SCAL] (1) Adder1.Adder1.AND.G2.y_auxiliary = Adder1.Adder1.AND.G2.y0 ($RES_SRT_381); [SCAL] (1) Adder1.Adder2.XOR.G2.y_auxiliary = Adder1.Adder2.XOR.G2.y0 ($RES_SRT_378); [SCAL] (1) Adder1.Adder2.AND.G2.y_auxiliary = Adder1.Adder2.AND.G2.y0 ($RES_SRT_375); [SCAL] (1) Adder1.Adder1.XOR.G2.y0 = Adder1.Adder1.XOR.y0 ($RES_BND_434); [SCAL] (1) Adder1.Adder1.AND.G2.y0 = Adder1.Adder1.AND.y0 ($RES_BND_429); [SCAL] (1) Adder1.Adder2.XOR.G2.y0 = Adder1.Adder2.XOR.y0 ($RES_BND_424); [SCAL] (1) Adder1.Adder2.AND.G2.y0 = Adder1.Adder2.AND.y0 ($RES_BND_419); Notification: Performance of Causalize: time 0.01766/0.1965, allocations: 15.67 MB / 441.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Tearing: time 0.001633/0.1981, allocations: 1.925 MB / 443.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of Initialization: time 5.61e-07/0.1981, allocations: 0 / 443.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of Tearing: time 2.477e-05/0.1981, allocations: 4.031 kB / 443.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of Categorize: time 2.03e-05/0.1981, allocations: 11.98 kB / 443.7 MB, free: 3.348 MB / 350.1 MB Error: Internal error NFExpression.makeZero failed for: enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') 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.FF1.RS2.Nor2.x[2] ### Equation: [FOR-] (1) ($RES_SIM_491) [----] for $i1 in 2:1:2 loop [----] [SCAL] (1) Counter.FF1.RS2.Nor2.x[$i1] = $START.Counter.FF1.RS2.Nor2.x[$i1] ($RES_SIM_492) [----] end for;