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.001556/0.001556, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001501/0.001502, allocations: 192 kB / 18.62 MB, free: 4.434 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.514/1.514, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 50.59 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.007085/0.1464, allocations: 4.902 MB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005495/0.1519, allocations: 2.159 MB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.1532, allocations: 19.88 kB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.1538, allocations: 202.2 kB / 358.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009413/0.1548, allocations: 166.5 kB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.157, allocations: 0.7166 MB / 359.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.1615, allocations: 2.13 MB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.1634, allocations: 0.8229 MB / 362.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.167, allocations: 2.546 MB / 365.1 MB, free: 5.957 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002758/0.1698, allocations: 1.066 MB / 366.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.1708, allocations: 232 kB / 366.4 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.1715, allocations: 236 kB / 366.7 MB, free: 4.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008182/0.1723, allocations: 0.724 MB / 367.4 MB, free: 3.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.1742, allocations: 1.162 MB / 368.6 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2828/0.457, allocations: 5.13 MB / 373.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.4571, allocations: 0 / 373.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.4571, allocations: 0.8125 kB / 373.7 MB, free: 16.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001596/0.4573, allocations: 0 / 373.7 MB, free: 16.03 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.01535/0.4727, allocations: 3.112 MB / 376.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4727, allocations: 9.344 kB / 376.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.4743, allocations: 261.8 kB / 377.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003559/0.4779, allocations: 1.166 MB / 378.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002309/0.4782, allocations: 106.1 kB / 378.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008423/0.4791, allocations: 120.7 kB / 378.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007287/0.4864, allocations: 1.828 MB / 380.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.004e-05/0.4865, allocations: 5.25 kB / 380.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004314/0.4869, allocations: 59.69 kB / 380.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.487, allocations: 32.41 kB / 380.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005948/0.4929, allocations: 1.434 MB / 381.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01836/0.5114, allocations: 4.593 MB / 386.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.5186, allocations: 1.45 MB / 387.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/0.5223, allocations: 0.6902 MB / 388.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.5229, allocations: 18.75 kB / 388.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005406/0.5284, allocations: 1.476 MB / 390 MB, free: 9.238 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 7.955e-06/0.5284, allocations: 0 / 390 MB, free: 9.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.01307/0.5415, allocations: 2.781 MB / 392.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/0.5417, allocations: 225.4 kB / 393 MB, free: 7.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007881/0.5497, allocations: 2.297 MB / 395.3 MB, free: 6.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002017/0.5517, allocations: 77 kB / 395.4 MB, free: 6.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.5525, allocations: 450.9 kB / 395.8 MB, free: 5.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001986/0.5545, allocations: 317.5 kB / 396.2 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002836/0.5573, allocations: 0.7985 MB / 397 MB, free: 5.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5576, allocations: 341.5 kB / 397.3 MB, free: 5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.5602, allocations: 0.6695 MB / 398 MB, free: 4.688 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.5629, allocations: 0.8637 MB / 398.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002726/0.5656, allocations: 1.826 MB / 400.6 MB, free: 2.359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.5656, allocations: 8 kB / 400.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004337/0.57, allocations: 2.356 MB / 403 MB, free: 0 / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.5702, allocations: 180.5 kB / 403.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.5702, allocations: 4 kB / 403.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-05/0.5703, allocations: 12 kB / 403.2 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.5708, allocations: 196.3 kB / 403.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/0.5708, allocations: 22.75 kB / 403.4 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.572, allocations: 83.66 kB / 403.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/0.5733, allocations: 1.065 MB / 404.6 MB, free: 14.43 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.003229/0.5765, allocations: 1.294 MB / 405.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007797/0.5773, allocations: 205.6 kB / 406.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008216/0.5782, allocations: 307 kB / 406.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5782, allocations: 12 kB / 406.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.647e-05/0.5782, allocations: 0 / 406.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5782, allocations: 7.984 kB / 406.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/0.5822, allocations: 2.122 MB / 408.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.5822, allocations: 0 / 408.5 MB, free: 10.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.5827, allocations: 175.9 kB / 408.7 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.5827, allocations: 4 kB / 408.7 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000382/0.5831, allocations: 183.9 kB / 408.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.5831, allocations: 7.984 kB / 408.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5831, allocations: 0 / 408.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/0.588, allocations: 2.382 MB / 411.2 MB, free: 7.668 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/0.5915, allocations: 1.45 MB / 412.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006259/0.5922, allocations: 95.44 kB / 412.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007023/0.5929, allocations: 59.95 kB / 412.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/0.5935, allocations: 264.8 kB / 413.1 MB, free: 5.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001161/0.5947, allocations: 1.059 MB / 414.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.5976, allocations: 1.601 MB / 415.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5976, allocations: 0 / 415.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002276/0.5998, allocations: 411.1 kB / 416.2 MB, free: 2.734 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.0005944/0.6005, allocations: 333.2 kB / 416.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004199/0.6047, allocations: 2.235 MB / 418.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.391e-06/0.6047, allocations: 0 / 418.7 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.6071, allocations: 1.492 MB / 420.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004119/0.6112, allocations: 1.022 MB / 421.2 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008206/0.6194, allocations: 4.047 MB / 425.3 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.6213, allocations: 1.603 MB / 426.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.01546/0.6367, allocations: 2.579 MB / 429.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008472/0.6453, allocations: 0.8139 MB / 430.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of SimCode: time 2.204e-06/0.6453, allocations: 0 / 430.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of Templates: time 0.06939/0.7147, allocations: 39.96 MB / 470.2 MB, free: 12.14 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 cvode -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