Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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(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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001604/0.001604, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002024/0.002024, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 56.12 kB / 306.4 MB, free: 0.957 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1038, allocations: 50.53 MB / 357 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.007666/0.1116, allocations: 4.918 MB / 361.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004526/0.1161, allocations: 2.136 MB / 364 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.1167, allocations: 15.88 kB / 364 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1171, allocations: 150.9 kB / 364.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003898/0.1175, allocations: 139 kB / 364.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1188, allocations: 0.6558 MB / 365 MB, free: 6.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002632/0.1215, allocations: 2.119 MB / 367.1 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1231, allocations: 0.8268 MB / 367.9 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003729/0.1268, allocations: 2.573 MB / 370.5 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1719/0.2987, allocations: 1.08 MB / 371.6 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008414/0.2996, allocations: 235.1 kB / 371.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.3002, allocations: 234.8 kB / 372 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006959/0.3009, allocations: 0.7323 MB / 372.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.3022, allocations: 1.168 MB / 373.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00516/0.3073, allocations: 5.079 MB / 379 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3073, allocations: 0 / 379 MB, free: 11.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3074, allocations: 0 / 379 MB, free: 11.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001074/0.3075, allocations: 1.875 kB / 379 MB, free: 11.3 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.004814/0.3123, allocations: 3.12 MB / 382.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.3123, allocations: 9.219 kB / 382.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004719/0.3128, allocations: 252.2 kB / 382.4 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3141, allocations: 1.166 MB / 383.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.3142, allocations: 117.8 kB / 383.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.3145, allocations: 122.2 kB / 383.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/0.3175, allocations: 1.83 MB / 385.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3175, allocations: 0 / 385.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.3178, allocations: 51.81 kB / 385.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/0.3178, allocations: 30.03 kB / 385.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.3204, allocations: 1.44 MB / 387.1 MB, free: 6.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006835/0.3272, allocations: 4.575 MB / 391.7 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/0.3299, allocations: 1.458 MB / 393.2 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.3311, allocations: 0.6861 MB / 393.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.3313, allocations: 12 kB / 393.9 MB, free: 2.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001976/0.3333, allocations: 1.482 MB / 395.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 3.256e-06/0.3333, allocations: 0 / 395.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.004822/0.3382, allocations: 2.782 MB / 398.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.3382, allocations: 224.1 kB / 398.4 MB, free: 440 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.3415, allocations: 2.293 MB / 400.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000314/0.3418, allocations: 83.22 kB / 400.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/0.3423, allocations: 448.5 kB / 401.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.3427, allocations: 314.2 kB / 401.5 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.3439, allocations: 0.7967 MB / 402.3 MB, free: 14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.344, allocations: 341.3 kB / 402.6 MB, free: 13.67 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3454, allocations: 0.673 MB / 403.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.3468, allocations: 0.8554 MB / 404.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.3498, allocations: 1.823 MB / 406 MB, free: 10.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.3498, allocations: 8 kB / 406 MB, free: 10.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004186/0.354, allocations: 2.354 MB / 408.3 MB, free: 7.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.3541, allocations: 180.5 kB / 408.5 MB, free: 7.719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3541, allocations: 4 kB / 408.5 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3542, allocations: 15.47 kB / 408.5 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.3546, allocations: 198 kB / 408.7 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.3546, allocations: 15.19 kB / 408.7 MB, free: 7.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.3561, allocations: 215.4 kB / 408.9 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009517/0.3571, allocations: 1.057 MB / 410 MB, free: 6.246 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.002377/0.3594, allocations: 1.292 MB / 411.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.3599, allocations: 197.7 kB / 411.5 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006631/0.3606, allocations: 315.1 kB / 411.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.3606, allocations: 15.94 kB / 411.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/0.3606, allocations: 0 / 411.8 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.3606, allocations: 11.92 kB / 411.8 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.3637, allocations: 2.119 MB / 413.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3637, allocations: 0 / 413.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000385/0.3641, allocations: 173.2 kB / 414.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.3641, allocations: 4 kB / 414.1 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/0.3644, allocations: 183.9 kB / 414.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3644, allocations: 4 kB / 414.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3644, allocations: 0 / 414.3 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.3687, allocations: 2.382 MB / 416.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/0.371, allocations: 1.462 MB / 418.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004698/0.3715, allocations: 88 kB / 418.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009211/0.3724, allocations: 150.4 kB / 418.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/0.373, allocations: 260.8 kB / 418.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009742/0.374, allocations: 1.068 MB / 419.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002269/0.3762, allocations: 1.597 MB / 421.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3762, allocations: 0 / 421.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001324/0.3776, allocations: 411.1 kB / 421.7 MB, free: 10.45 MB / 334.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.0004947/0.3781, allocations: 333.1 kB / 422 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.384, allocations: 2.569 MB / 424.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.384, allocations: 0 / 424.6 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003189/0.3872, allocations: 1.484 MB / 426.1 MB, free: 6.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/0.3929, allocations: 1.023 MB / 427.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.4058, allocations: 4.822 MB / 431.9 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/0.4084, allocations: 1.599 MB / 433.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.01067/0.4191, allocations: 2.579 MB / 436.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004054/0.4232, allocations: 0.8178 MB / 436.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4232, allocations: 0 / 436.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Templates: time 0.06148/0.4847, allocations: 39.8 MB / 476.7 MB, free: 2.695 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches