Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001315/0.001316, allocations: 103.6 kB / 18.39 MB, free: 4.641 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.001301/0.001301, allocations: 187 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.0823, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.1774/0.2597, allocations: 4.922 MB / 380.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.2639, allocations: 2.199 MB / 382.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008475/0.2648, allocations: 19.53 kB / 383 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.2654, allocations: 197.8 kB / 383.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006034/0.2661, allocations: 176.6 kB / 383.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.2676, allocations: 0.7092 MB / 384 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002249/0.2698, allocations: 2.128 MB / 386.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.2709, allocations: 0.8234 MB / 387 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/0.2739, allocations: 2.591 MB / 389.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001564/0.2755, allocations: 1.062 MB / 390.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005997/0.2761, allocations: 231.8 kB / 390.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.2767, allocations: 235.3 kB / 391.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006595/0.2773, allocations: 0.7378 MB / 391.8 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.2783, allocations: 1.163 MB / 393 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.2827, allocations: 5.142 MB / 398.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2828, allocations: 0 / 398.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2828, allocations: 1.344 kB / 398.1 MB, free: 2.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001018/0.2829, allocations: 0 / 398.1 MB, free: 2.477 MB / 318.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.005568/0.2884, allocations: 3.111 MB / 401.2 MB, free: 164 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2885, allocations: 9.625 kB / 401.3 MB, free: 164 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005974/0.2891, allocations: 259.3 kB / 401.5 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.2907, allocations: 1.163 MB / 402.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.2908, allocations: 106.8 kB / 402.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/0.2912, allocations: 125.4 kB / 402.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.2947, allocations: 1.824 MB / 404.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.2948, allocations: 1.688 kB / 404.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/0.295, allocations: 59.2 kB / 404.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.2951, allocations: 28.88 kB / 404.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002909/0.298, allocations: 1.438 MB / 406.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/0.3064, allocations: 4.592 MB / 410.8 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.3096, allocations: 1.459 MB / 412.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3109, allocations: 0.6912 MB / 413 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.3111, allocations: 10.62 kB / 413 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/0.3133, allocations: 1.481 MB / 414.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=138): time 4.037e-06/0.3133, allocations: 3.938 kB / 414.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=138): time 0.005383/0.3187, allocations: 2.777 MB / 417.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.3188, allocations: 224.9 kB / 417.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/0.3232, allocations: 2.295 MB / 419.8 MB, free: 2.539 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007114/0.3239, allocations: 85.69 kB / 419.9 MB, free: 2.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/0.3244, allocations: 447.7 kB / 420.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006272/0.325, allocations: 314.9 kB / 420.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.3263, allocations: 0.7981 MB / 421.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3264, allocations: 341.9 kB / 421.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3278, allocations: 0.6681 MB / 422.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.3292, allocations: 0.8562 MB / 423.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002836/0.3321, allocations: 1.838 MB / 425.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.3321, allocations: 4 kB / 425.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004322/0.3364, allocations: 2.352 MB / 427.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.3366, allocations: 180.5 kB / 427.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.3366, allocations: 4.047 kB / 427.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.3367, allocations: 19.92 kB / 427.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.3371, allocations: 196.5 kB / 427.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.3372, allocations: 8 kB / 427.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/0.3381, allocations: 91.59 kB / 427.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009955/0.3391, allocations: 1.065 MB / 429 MB, free: 9.055 MB / 350.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.002887/0.342, allocations: 1.287 MB / 430.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/0.3426, allocations: 201.6 kB / 430.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.3436, allocations: 315 kB / 430.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3436, allocations: 12 kB / 430.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.3436, allocations: 0 / 430.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3436, allocations: 7.922 kB / 430.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.3469, allocations: 2.124 MB / 432.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.3469, allocations: 0 / 432.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.3473, allocations: 171.8 kB / 433.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.3474, allocations: 4 kB / 433.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/0.3477, allocations: 186 kB / 433.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.3477, allocations: 8.062 kB / 433.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3477, allocations: 3.984 kB / 433.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.352, allocations: 2.377 MB / 435.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/0.3547, allocations: 1.45 MB / 437.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.3552, allocations: 96 kB / 437.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.3558, allocations: 62.84 kB / 437.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005276/0.3564, allocations: 252.8 kB / 437.5 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009799/0.3574, allocations: 1.061 MB / 438.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003338/0.3607, allocations: 1.597 MB / 440.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3607, allocations: 0 / 440.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002359/0.3631, allocations: 411.1 kB / 440.6 MB, free: 13.32 MB / 366.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.0008224/0.3639, allocations: 340.5 kB / 440.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004109/0.368, allocations: 2.234 MB / 443.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3681, allocations: 0 / 443.2 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002187/0.3703, allocations: 1.478 MB / 444.6 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/0.3746, allocations: 1.024 MB / 445.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008551/0.3831, allocations: 4.246 MB / 449.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.3856, allocations: 1.603 MB / 451.5 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006302/0.3919, allocations: 1.164 MB / 452.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3919, allocations: 4 kB / 452.7 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Templates: time 0.03699/0.4289, allocations: 30.05 MB / 482.7 MB, free: 1.566 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches