Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.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.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.0.0_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.0.0_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 115.5 kB / 17.69 MB, free: 5.438 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.001137/0.001137, allocations: 192 kB / 18.63 MB, free: 4.508 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.301/1.301, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009748/0.0009748, allocations: 51.02 kB / 302.1 MB, free: 5.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1047, allocations: 49.44 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.008229/0.113, allocations: 4.901 MB / 356.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.1192, allocations: 2.159 MB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.1198, allocations: 19.88 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005842/0.1204, allocations: 198.2 kB / 358.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005758/0.121, allocations: 170.5 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.1229, allocations: 0.7179 MB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00255/0.1254, allocations: 2.123 MB / 361.8 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/0.1265, allocations: 0.8228 MB / 362.6 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.1301, allocations: 2.55 MB / 365.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.1319, allocations: 1.055 MB / 366.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.1325, allocations: 232 kB / 366.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005158/0.133, allocations: 239.9 kB / 366.7 MB, free: 4.453 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009456/0.134, allocations: 0.7241 MB / 367.4 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001707/0.1357, allocations: 1.165 MB / 368.6 MB, free: 2.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1868/0.3225, allocations: 5.129 MB / 373.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.3226, allocations: 1.156 kB / 373.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3226, allocations: 0 / 373.7 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.3227, allocations: 0 / 373.7 MB, free: 15.98 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 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005401/0.3281, allocations: 3.112 MB / 376.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3282, allocations: 9.25 kB / 376.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005926/0.3288, allocations: 256.8 kB / 377.1 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.3308, allocations: 1.171 MB / 378.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3309, allocations: 101 kB / 378.3 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00036/0.3313, allocations: 127.5 kB / 378.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.3348, allocations: 1.827 MB / 380.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.3348, allocations: 5.016 kB / 380.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002666/0.3351, allocations: 55.08 kB / 380.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.3351, allocations: 28.72 kB / 380.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.338, allocations: 1.438 MB / 381.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00847/0.3465, allocations: 4.598 MB / 386.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/0.3495, allocations: 1.452 MB / 387.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.3508, allocations: 0.6877 MB / 388.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3511, allocations: 18.36 kB / 388.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002173/0.3533, allocations: 1.485 MB / 390 MB, free: 9.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 3.827e-06/0.3533, allocations: 0.5312 kB / 390 MB, free: 9.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.005752/0.359, allocations: 2.775 MB / 392.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.3592, allocations: 226.4 kB / 393 MB, free: 7.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003182/0.3624, allocations: 2.295 MB / 395.3 MB, free: 6.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.3626, allocations: 80.12 kB / 395.4 MB, free: 6.258 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.3629, allocations: 449.4 kB / 395.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003594/0.3633, allocations: 320.2 kB / 396.2 MB, free: 5.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.3643, allocations: 0.7986 MB / 397 MB, free: 5.293 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.3644, allocations: 342.3 kB / 397.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.3656, allocations: 0.6658 MB / 398 MB, free: 4.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3669, allocations: 0.8706 MB / 398.8 MB, free: 4.141 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002543/0.3695, allocations: 1.819 MB / 400.7 MB, free: 2.398 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3695, allocations: 4 kB / 400.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003746/0.3733, allocations: 2.365 MB / 403 MB, free: 40 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.3734, allocations: 180.5 kB / 403.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3734, allocations: 4 kB / 403.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.3735, allocations: 12 kB / 403.2 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.3739, allocations: 197.8 kB / 403.4 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/0.374, allocations: 12 kB / 403.4 MB, free: 15.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.375, allocations: 91.8 kB / 403.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/0.3761, allocations: 1.061 MB / 404.6 MB, free: 14.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 177 ($PRE.Adder1.Adder1.XOR.G2.y,$PRE.Adder1.Adder1.AND.G2.y,$PRE.Adder1.Adder2.XOR.G2.y,$PRE.Adder1.Adder2.AND.G2.y,$whenCondition1,Adder1.OR.auxiliary_n,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition4,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$whenCondition7,$whenCondition6,c_out.x[1],$PRE.Adder1.OR.auxiliary_n,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.x[1],$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.x[1],$PRE.Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.x[2],$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.y,Counter.FF1.RS2.TD1.x,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.x[1],$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.x[1],$PRE.Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.x[2],$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.y,Counter.FF2.RS2.TD1.x,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.x[1],$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.x[1],$PRE.Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.x[2],$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.y,Counter.FF3.RS2.TD1.x,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],CLK.t_i,$PRE.CLK.t_i,Enable.y,Counter.FF3.Not1.auxiliary,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.And3.y,Counter.FF3.And2.auxiliary_n,Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.x[1],Counter.FF3.And1.auxiliary_n,Counter.FF3.And1.auxiliary[2],Counter.FF3.RS1.TD1.x,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF2.Not1.auxiliary,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.And3.y,Counter.FF2.And2.auxiliary_n,Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.x[1],Counter.FF2.And1.auxiliary_n,Counter.FF2.And1.auxiliary[2],Counter.FF2.RS1.TD1.x,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF1.Not1.auxiliary,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.And3.y,Counter.FF1.And2.auxiliary_n,Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.x[1],Counter.FF1.And1.auxiliary_n,Counter.FF1.And1.auxiliary[2],Counter.FF1.RS1.TD1.x,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.count,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.x,$PRE.Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002213/0.3783, allocations: 1.289 MB / 405.9 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/0.3789, allocations: 208.2 kB / 406.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.3796, allocations: 307 kB / 406.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3796, allocations: 12 kB / 406.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/0.3796, allocations: 2.812 kB / 406.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3796, allocations: 3.984 kB / 406.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.3829, allocations: 2.124 MB / 408.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3829, allocations: 2.719 kB / 408.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.3833, allocations: 176.7 kB / 408.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.3833, allocations: 4 kB / 408.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/0.3836, allocations: 187.9 kB / 408.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3836, allocations: 4 kB / 408.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3836, allocations: 0 / 408.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.388, allocations: 2.38 MB / 411.3 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/0.3906, allocations: 1.454 MB / 412.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004652/0.3911, allocations: 92 kB / 412.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.3917, allocations: 55.95 kB / 412.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006235/0.3924, allocations: 268.4 kB / 413.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001048/0.3934, allocations: 1.057 MB / 414.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002266/0.3957, allocations: 1.597 MB / 415.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3957, allocations: 0 / 415.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00144/0.3972, allocations: 411.1 kB / 416.2 MB, free: 2.789 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 130 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder1.AND.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.t_next,Adder1.OR.auxiliary_n,c_out.x[1],Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,CLK.t_i) * Number of discrete states: 75 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,Adder1.OR.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,Enable.y,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,$whenCondition3,$whenCondition2,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,$whenCondition5,$whenCondition4,Adder1.Adder1.AND.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,$whenCondition7,$whenCondition6,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,$whenCondition9,$whenCondition8,Adder1.Adder2.AND.G2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005075/0.3977, allocations: 345 kB / 416.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.4015, allocations: 2.232 MB / 418.7 MB, free: 192 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4015, allocations: 4.312 kB / 418.7 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.4036, allocations: 1.488 MB / 420.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003325/0.4069, allocations: 1.022 MB / 421.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.4137, allocations: 4.05 MB / 425.3 MB, free: 9.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.4152, allocations: 1.602 MB / 426.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.008035/0.4232, allocations: 2.579 MB / 429.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002775/0.426, allocations: 0.8178 MB / 430.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of SimCode: time 6.21e-07/0.426, allocations: 0 / 430.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of Templates: time 0.05687/0.4829, allocations: 39.96 MB / 470.3 MB, free: 12.18 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches