Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00174/0.00174, allocations: 192.3 kB / 17.38 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 226.6 MB / 244.7 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007542/0.0007539, allocations: 89.59 kB / 296.8 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002109/0.0002109, allocations: 8 kB / 356.7 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1826, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.002806/0.1854, allocations: 4.138 MB / 412.2 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00264/0.1881, allocations: 2.086 MB / 414.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.1884, allocations: 11.94 kB / 414.3 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1886, allocations: 127.7 kB / 414.4 MB, free: 21.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1889, allocations: 128.7 kB / 414.5 MB, free: 21.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.1896, allocations: 396.8 kB / 414.9 MB, free: 20.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1907, allocations: 1.725 MB / 416.6 MB, free: 19.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007408/0.1914, allocations: 0.7923 MB / 417.4 MB, free: 18.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.1931, allocations: 1.856 MB / 419.3 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/0.1938, allocations: 1.006 MB / 420.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.1941, allocations: 44 kB / 420.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.1944, allocations: 40 kB / 420.4 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004621/0.1949, allocations: 0.5725 MB / 421 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006719/0.1955, allocations: 0.9653 MB / 421.9 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.1975, allocations: 4.364 MB / 426.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1975, allocations: 3.984 kB / 426.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1975, allocations: 0 / 426.3 MB, free: 9.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.335e-05/0.1976, allocations: 0 / 426.3 MB, free: 9.383 MB / 298.7 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.002571/0.2001, allocations: 2.359 MB / 428.6 MB, free: 6.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.2002, allocations: 8.031 kB / 428.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.2005, allocations: 257.8 kB / 428.9 MB, free: 6.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.2017, allocations: 1.169 MB / 430.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.368e-05/0.2018, allocations: 98.77 kB / 430.2 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.2021, allocations: 120.4 kB / 430.3 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002802/0.2049, allocations: 1.836 MB / 432.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.2049, allocations: 0 / 432.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002142/0.2052, allocations: 52 kB / 432.2 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.2052, allocations: 28 kB / 432.2 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.2077, allocations: 1.454 MB / 433.7 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006612/0.2143, allocations: 4.577 MB / 438.2 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002966/0.2173, allocations: 1.492 MB / 439.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.2187, allocations: 0.7072 MB / 440.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/0.2189, allocations: 9 kB / 440.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00215/0.2211, allocations: 1.484 MB / 441.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=138): time 3.948e-06/0.2211, allocations: 0 / 441.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.005348/0.2264, allocations: 2.802 MB / 444.7 MB, free: 6.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.2266, allocations: 224.9 kB / 444.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003144/0.2297, allocations: 2.291 MB / 447.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.23, allocations: 85.7 kB / 447.3 MB, free: 3.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.2304, allocations: 407.8 kB / 447.7 MB, free: 3.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004132/0.2308, allocations: 312.2 kB / 448 MB, free: 3.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.231, allocations: 28 kB / 448.1 MB, free: 3.195 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2312, allocations: 414.6 kB / 448.5 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.2325, allocations: 0.667 MB / 449.1 MB, free: 2.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/0.234, allocations: 0.8678 MB / 450 MB, free: 1.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002985/0.237, allocations: 1.838 MB / 451.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.237, allocations: 0 / 451.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004153/0.2411, allocations: 2.357 MB / 454.2 MB, free: 12.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.2413, allocations: 180.5 kB / 454.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.2413, allocations: 4.156 kB / 454.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.2413, allocations: 12 kB / 454.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.2417, allocations: 203.6 kB / 454.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.2418, allocations: 8 kB / 454.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.243, allocations: 227 kB / 454.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009274/0.244, allocations: 1.061 MB / 455.9 MB, free: 11.12 MB / 330.7 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,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition9,$PRE.Adder1.Adder2.AND.G1.auxiliary_n,$PRE.Adder1.Adder2.AND.G2.x,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,$PRE.Adder1.Adder1.AND.G1.auxiliary_n,$PRE.Adder1.Adder1.AND.G2.x,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.OR.auxiliary_n,$whenCondition6,$whenCondition7,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$PRE.Adder1.Adder2.XOR.G2.x,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,$PRE.Adder1.OR.auxiliary_n,c_out.x[1],Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.And2.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,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.And1.y,$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,$PRE.Counter.FF1.Not1.auxiliary,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.And2.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,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.And1.y,$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,$PRE.Counter.FF2.Not1.auxiliary,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.And2.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,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.And1.y,$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,$PRE.Counter.FF3.Not1.auxiliary,$whenCondition2,$whenCondition3,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G2.x,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,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,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.y,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,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.y,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,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.y,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,$PRE.CLK.t_i,CLK.t_i) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.2458, allocations: 1.275 MB / 457.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.2462, allocations: 205.6 kB / 457.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/0.2467, allocations: 319 kB / 457.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.2467, allocations: 15.94 kB / 457.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2467, allocations: 0 / 457.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.2467, allocations: 11.91 kB / 457.7 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002681/0.2494, allocations: 2.122 MB / 459.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2494, allocations: 0 / 459.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.2498, allocations: 171.7 kB / 460 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.2498, allocations: 4 kB / 460 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002767/0.2501, allocations: 183.9 kB / 460.2 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.2501, allocations: 4 kB / 460.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2501, allocations: 4 kB / 460.2 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00408/0.2542, allocations: 2.389 MB / 462.6 MB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/0.2562, allocations: 1.454 MB / 464 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004141/0.2566, allocations: 92 kB / 464.1 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.2575, allocations: 159.4 kB / 464.3 MB, free: 2.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/0.258, allocations: 260.8 kB / 464.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009439/0.259, allocations: 1.069 MB / 465.6 MB, free: 1.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002163/0.2612, allocations: 1.594 MB / 467.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2612, allocations: 0 / 467.2 MB, free: 15.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001272/0.2624, allocations: 411.1 kB / 467.6 MB, free: 15.23 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004817/0.2629, allocations: 332.5 kB / 467.9 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003659/0.2666, allocations: 2.247 MB / 470.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.2666, allocations: 4.312 kB / 470.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.2686, allocations: 1.479 MB / 471.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.2717, allocations: 0.8781 MB / 472.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.2786, allocations: 4.831 MB / 477.3 MB, free: 5.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.2801, allocations: 1.603 MB / 478.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00366/0.2838, allocations: 1.153 MB / 480.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2838, allocations: 0 / 480.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of Templates: time 0.03357/0.3173, allocations: 29.8 MB / 0.4979 GB, free: 3.375 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches