Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Discrete.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 trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Discrete") translateModel(ModelicaTest.Blocks.Discrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrderHold.c|firstOrderHold.firstTrigger|firstOrderHold.pre_uSample|firstOrderHold.tSample|firstOrderHold.uSample|sampler.firstTrigger|sampler.y|stateSpace.firstTrigger|stateSpace.x.1.|stateSpace.x.2.|stateSpace.y.1.|transferFunction.firstTrigger|transferFunction.x.1.|transferFunction.x1|transferFunction.xext.1.|transferFunction.xext.2.|transferFunction.y|triggeredMax.y|triggeredSampler.y|unitDelay.firstTrigger|unitDelay.u|unitDelay.y|zeroOrderHold.firstTrigger|zeroOrderHold.ySample",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Discrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 113.9 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 204.1 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.122/1.122, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1686/0.1686, allocations: 46.11 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.401e-05/1.402e-05, allocations: 2.281 kB / 481.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Discrete): time 0.002269/0.00229, allocations: 1.956 MB / 483.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.003348, allocations: 0.7168 MB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.003447, allocations: 7.938 kB / 484.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.003623, allocations: 47.62 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.003734, allocations: 59.55 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.004088, allocations: 119.7 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.004376, allocations: 323.1 kB / 485.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.004511, allocations: 56.31 kB / 485.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.0047, allocations: 127.5 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.004883, allocations: 147.4 kB / 485.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.004926, allocations: 20 kB / 485.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.00499, allocations: 24 kB / 485.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0002301/0.005225, allocations: 391.6 kB / 485.9 MB, free: 128 kB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000118/0.005349, allocations: 236.8 kB / 486.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.005405, allocations: 35.86 kB / 486.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.305e-05/0.005443, allocations: 19.88 kB / 486.2 MB, free: 15.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 (42) * Number of variables: 44 (42) Notification: Performance of Bindings: time 0.0009134/0.006363, allocations: 1.126 MB / 487.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of FunctionAlias: time 2.925e-05/0.006398, allocations: 23.77 kB / 487.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0005462/0.006949, allocations: 0.6972 MB / 488 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplify1: time 2.727e-05/0.006984, allocations: 27.95 kB / 488 MB, free: 13.83 MB / 366.1 MB Notification: Performance of Alias: time 0.0006431/0.007633, allocations: 0.6138 MB / 488.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplify2: time 3.093e-05/0.007673, allocations: 27.95 kB / 488.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Events: time 0.0001555/0.007833, allocations: 126.4 kB / 488.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Detect States: time 0.0003616/0.008204, allocations: 429.2 kB / 489.2 MB, free: 12.57 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002394/0.008452, allocations: 245.1 kB / 489.5 MB, free: 12.32 MB / 366.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {transferFunction.xext[1], transferFunction.xext[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: transferFunction.xext. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [WHEN] (1)when transferFunction.sampleTrigger then [----] transferFunction.y := {0.0, transferFunction.b[1]} * transferFunction.xext [----] end when;