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.001046/0.001046, allocations: 109.4 kB / 16.63 MB, free: 6.816 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.001218/0.001218, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.337/1.337, allocations: 222.9 MB / 241.2 MB, free: 13.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 52.45 kB / 300.1 MB, free: 6 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09692, allocations: 49.45 MB / 349.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006214/0.1032, allocations: 4.9 MB / 354.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.1077, allocations: 2.105 MB / 356.6 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.1087, allocations: 19.88 kB / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.1093, allocations: 150.9 kB / 356.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006839/0.11, allocations: 139 kB / 356.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.1116, allocations: 0.6597 MB / 357.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002164/0.1138, allocations: 2.115 MB / 359.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.1149, allocations: 0.819 MB / 360.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.1174, allocations: 2.577 MB / 363.1 MB, free: 6.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.1188, allocations: 1.082 MB / 364.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000431/0.1192, allocations: 240 kB / 364.4 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.1196, allocations: 232 kB / 364.6 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.1204, allocations: 0.7318 MB / 365.3 MB, free: 4.695 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.1216, allocations: 1.169 MB / 366.5 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1821/0.3037, allocations: 5.076 MB / 371.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.3038, allocations: 0 / 371.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.3038, allocations: 1.531 kB / 371.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001485/0.304, allocations: 0 / 371.6 MB, free: 15.32 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.006852/0.3108, allocations: 3.11 MB / 374.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3109, allocations: 9.375 kB / 374.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006639/0.3115, allocations: 256.8 kB / 374.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.3132, allocations: 1.173 MB / 376.1 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3133, allocations: 99.56 kB / 376.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.3137, allocations: 124.5 kB / 376.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003831/0.3175, allocations: 1.825 MB / 378.2 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.3176, allocations: 3.938 kB / 378.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002564/0.3178, allocations: 61.94 kB / 378.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.3179, allocations: 28.09 kB / 378.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/0.3207, allocations: 1.44 MB / 379.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007947/0.3287, allocations: 4.573 MB / 384.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.3317, allocations: 1.443 MB / 385.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.3331, allocations: 0.6914 MB / 386.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.3333, allocations: 19.47 kB / 386.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002141/0.3355, allocations: 1.477 MB / 387.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 3.837e-06/0.3355, allocations: 0 / 387.9 MB, free: 9.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.005977/0.3415, allocations: 2.779 MB / 390.7 MB, free: 7.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.3417, allocations: 233 kB / 390.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.3453, allocations: 2.287 MB / 393.2 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003727/0.3456, allocations: 85.03 kB / 393.3 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003491/0.346, allocations: 451.1 kB / 393.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/0.3464, allocations: 316.9 kB / 394 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/0.3474, allocations: 0.797 MB / 394.8 MB, free: 5.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.3475, allocations: 341.6 kB / 395.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3487, allocations: 0.6755 MB / 395.8 MB, free: 4.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.3499, allocations: 0.8478 MB / 396.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.3525, allocations: 1.831 MB / 398.5 MB, free: 2.789 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3525, allocations: 4 kB / 398.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00367/0.3562, allocations: 2.36 MB / 400.9 MB, free: 436 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.446e-05/0.3563, allocations: 180.5 kB / 401 MB, free: 224 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3563, allocations: 4 kB / 401.1 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.3563, allocations: 12 kB / 401.1 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004109/0.3567, allocations: 197.7 kB / 401.3 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.3568, allocations: 15.38 kB / 401.3 MB, free: 16 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.3585, allocations: 215 kB / 401.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/0.3595, allocations: 1.061 MB / 402.5 MB, free: 14.75 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.002204/0.3617, allocations: 1.289 MB / 403.8 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/0.3623, allocations: 205.7 kB / 404 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006256/0.3629, allocations: 307 kB / 404.3 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.363, allocations: 12 kB / 404.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.301e-05/0.363, allocations: 0 / 404.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.363, allocations: 3.984 kB / 404.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.3663, allocations: 2.124 MB / 406.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3663, allocations: 2.625 kB / 406.5 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.3667, allocations: 179.6 kB / 406.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.3668, allocations: 4 kB / 406.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/0.3671, allocations: 183.9 kB / 406.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3671, allocations: 4 kB / 406.8 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3671, allocations: 5.75 kB / 406.8 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004325/0.3714, allocations: 2.381 MB / 409.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/0.3737, allocations: 1.454 MB / 410.7 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004851/0.3742, allocations: 92 kB / 410.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.3751, allocations: 151.2 kB / 410.9 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005972/0.3757, allocations: 260.8 kB / 411.2 MB, free: 6.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001034/0.3768, allocations: 1.057 MB / 412.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00224/0.379, allocations: 1.597 MB / 413.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.379, allocations: 0 / 413.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00152/0.3806, allocations: 411.1 kB / 414.2 MB, free: 2.961 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.0005443/0.3811, allocations: 342.2 kB / 414.6 MB, free: 2.629 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005246/0.3864, allocations: 2.569 MB / 417.1 MB, free: 48 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3864, allocations: 4.062 kB / 417.1 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.3885, allocations: 1.488 MB / 418.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/0.3926, allocations: 1.017 MB / 419.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.4009, allocations: 4.82 MB / 424.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.4025, allocations: 1.61 MB / 426.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.007483/0.41, allocations: 2.575 MB / 428.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002533/0.4126, allocations: 0.8217 MB / 429.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4126, allocations: 0 / 429.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of Templates: time 0.05577/0.4683, allocations: 39.79 MB / 469.3 MB, free: 11.43 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches