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.00166/0.00166, allocations: 105.2 kB / 17.16 MB, free: 6.082 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.002001/0.002001, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.268/2.268, allocations: 222.9 MB / 241.8 MB, free: 15.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 51.45 kB / 300.6 MB, free: 6.281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1687, allocations: 49.44 MB / 350 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.01146/0.1802, allocations: 4.9 MB / 354.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008859/0.1891, allocations: 2.198 MB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.1905, allocations: 19.88 kB / 357.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1917, allocations: 150.9 kB / 357.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.1933, allocations: 135 kB / 357.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.1965, allocations: 0.6615 MB / 358.1 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004148/0.2006, allocations: 1.81 MB / 359.9 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.2032, allocations: 0.7916 MB / 360.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.2082, allocations: 2.385 MB / 363.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.2103, allocations: 0.9569 MB / 364.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009752/0.2113, allocations: 72 kB / 364.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009221/0.2123, allocations: 76 kB / 364.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.2138, allocations: 0.6029 MB / 364.8 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002807/0.2167, allocations: 1.009 MB / 365.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006989/0.2237, allocations: 4.447 MB / 370.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.2238, allocations: 0 / 370.3 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2238, allocations: 4 kB / 370.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001371/0.2239, allocations: 0 / 370.3 MB, free: 0.5117 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.3103/0.5342, allocations: 3.102 MB / 373.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.824e-05/0.5343, allocations: 9.594 kB / 373.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.536, allocations: 260.7 kB / 373.6 MB, free: 22.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/0.5401, allocations: 1.169 MB / 374.8 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.5404, allocations: 98.27 kB / 374.9 MB, free: 21.51 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.5415, allocations: 120.5 kB / 375 MB, free: 21.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008536/0.55, allocations: 1.836 MB / 376.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.96e-05/0.5501, allocations: 0 / 376.8 MB, free: 20.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004361/0.5506, allocations: 56.19 kB / 376.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.5506, allocations: 30.91 kB / 376.9 MB, free: 20.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006615/0.5573, allocations: 1.441 MB / 378.4 MB, free: 20.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/0.5759, allocations: 4.574 MB / 382.9 MB, free: 18.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007005/0.583, allocations: 1.444 MB / 384.4 MB, free: 17.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/0.5864, allocations: 0.6906 MB / 385.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/0.5869, allocations: 11.69 kB / 385.1 MB, free: 17.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005514/0.5924, allocations: 1.485 MB / 386.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 8.095e-06/0.5925, allocations: 0 / 386.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.01311/0.6056, allocations: 2.778 MB / 389.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.6059, allocations: 225.5 kB / 389.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009219/0.6151, allocations: 2.296 MB / 391.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00116/0.6164, allocations: 87.44 kB / 392 MB, free: 13.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007412/0.6171, allocations: 446.9 kB / 392.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.6185, allocations: 320.9 kB / 392.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/0.6209, allocations: 0.7962 MB / 393.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6211, allocations: 341.9 kB / 393.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.6237, allocations: 0.6709 MB / 394.5 MB, free: 11.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.6265, allocations: 0.8562 MB / 395.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005574/0.6321, allocations: 1.831 MB / 397.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.6322, allocations: 0 / 397.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.008411/0.6406, allocations: 2.354 MB / 399.5 MB, free: 5.883 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.6408, allocations: 180.5 kB / 399.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/0.6409, allocations: 4 kB / 399.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.984e-05/0.641, allocations: 11.19 kB / 399.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009119/0.6419, allocations: 203.6 kB / 399.9 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.165e-05/0.6419, allocations: 12.09 kB / 399.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.6455, allocations: 215.2 kB / 400.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/0.6472, allocations: 1.054 MB / 401.2 MB, free: 4.188 MB / 302.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.004058/0.6513, allocations: 1.295 MB / 402.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001297/0.6526, allocations: 197.7 kB / 402.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.654, allocations: 315 kB / 403 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.6541, allocations: 12 kB / 403 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.6541, allocations: 3.938 kB / 403 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.483e-05/0.6542, allocations: 4.078 kB / 403 MB, free: 2.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/0.6617, allocations: 2.134 MB / 405.2 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/0.6618, allocations: 0 / 405.2 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.663, allocations: 167.8 kB / 405.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.332e-05/0.663, allocations: 4 kB / 405.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009836/0.664, allocations: 187.9 kB / 405.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.927e-05/0.6641, allocations: 4 kB / 405.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6641, allocations: 0 / 405.5 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.6755, allocations: 2.384 MB / 407.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005838/0.6814, allocations: 1.458 MB / 409.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/0.6832, allocations: 91.98 kB / 409.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003127/0.6863, allocations: 139.6 kB / 409.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001566/0.6879, allocations: 260.7 kB / 409.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002373/0.6903, allocations: 1.054 MB / 410.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.006124/0.6965, allocations: 1.594 MB / 412.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.6966, allocations: 4 kB / 412.5 MB, free: 8.734 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.004368/0.701, allocations: 415.1 kB / 412.9 MB, free: 8.328 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.001647/0.7027, allocations: 336 kB / 413.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.008506/0.7112, allocations: 2.236 MB / 415.5 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.7113, allocations: 3.938 kB / 415.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004592/0.7159, allocations: 1.475 MB / 416.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008174/0.7241, allocations: 0.9299 MB / 417.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.741, allocations: 5.028 MB / 422.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004042/0.7451, allocations: 1.599 MB / 424.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008856/0.754, allocations: 1.153 MB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of SimCode: time 1.773e-06/0.7541, allocations: 0 / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of Templates: time 0.0674/0.8215, allocations: 29.91 MB / 455.6 MB, free: 12.16 MB / 366.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 -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