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.001485/0.001486, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001637/0.001637, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.551/1.551, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001193/0.001193, allocations: 47.92 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09754/0.09875, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006042/0.1048, allocations: 4.916 MB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.1096, allocations: 2.199 MB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003603/0.11, allocations: 19.88 kB / 335.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.1104, allocations: 194.2 kB / 336 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003766/0.1108, allocations: 174.5 kB / 336.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.1123, allocations: 0.714 MB / 336.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.1145, allocations: 2.123 MB / 339 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.1156, allocations: 0.8229 MB / 339.9 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.118, allocations: 2.557 MB / 342.4 MB, free: 5.957 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.1193, allocations: 1.055 MB / 343.5 MB, free: 4.898 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.1197, allocations: 232 kB / 343.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.1201, allocations: 236 kB / 343.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007995/0.1209, allocations: 0.728 MB / 344.7 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.1222, allocations: 1.165 MB / 345.8 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003848/0.1261, allocations: 5.129 MB / 351 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1261, allocations: 0 / 351 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1261, allocations: 3.984 kB / 351 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.228e-05/0.1262, allocations: 0 / 351 MB, free: 13.39 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.004396/0.1306, allocations: 3.119 MB / 354.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1306, allocations: 8.031 kB / 354.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004856/0.1311, allocations: 257.9 kB / 354.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.133, allocations: 1.169 MB / 355.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.1332, allocations: 98.77 kB / 355.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.1335, allocations: 120.4 kB / 355.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.1366, allocations: 1.832 MB / 357.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.1366, allocations: 0 / 357.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002081/0.1368, allocations: 55.98 kB / 357.6 MB, free: 6.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.1369, allocations: 31.94 kB / 357.6 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.1396, allocations: 1.438 MB / 359.1 MB, free: 5.098 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007214/0.1468, allocations: 4.589 MB / 363.7 MB, free: 456 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.1496, allocations: 1.46 MB / 365.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.1509, allocations: 0.6916 MB / 365.8 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000234/0.1511, allocations: 16.98 kB / 365.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00205/0.1532, allocations: 1.48 MB / 367.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=138): time 3.757e-06/0.1532, allocations: 0 / 367.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=138): time 0.005406/0.1586, allocations: 2.782 MB / 370.1 MB, free: 9.895 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1587, allocations: 220.9 kB / 370.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003688/0.1624, allocations: 2.299 MB / 372.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002694/0.1627, allocations: 85.69 kB / 372.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.1632, allocations: 443.8 kB / 373.1 MB, free: 6.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004824/0.1637, allocations: 316.1 kB / 373.4 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.1649, allocations: 0.802 MB / 374.2 MB, free: 5.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.165, allocations: 345.9 kB / 374.6 MB, free: 5.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.1664, allocations: 0.6631 MB / 375.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.1679, allocations: 0.8601 MB / 376.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00304/0.171, allocations: 1.826 MB / 377.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.171, allocations: 4 kB / 377.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.1572/0.3282, allocations: 2.351 MB / 380.3 MB, free: 50.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.3284, allocations: 179.7 kB / 380.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3284, allocations: 4.125 kB / 380.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.539e-05/0.3285, allocations: 11.2 kB / 380.5 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005115/0.329, allocations: 198.5 kB / 380.7 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.329, allocations: 14.03 kB / 380.7 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008843/0.3299, allocations: 99.33 kB / 380.8 MB, free: 50.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/0.3311, allocations: 1.06 MB / 381.8 MB, free: 49.95 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.001909/0.333, allocations: 1.289 MB / 383.1 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004005/0.3334, allocations: 198.2 kB / 383.3 MB, free: 49.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.334, allocations: 312.3 kB / 383.6 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.334, allocations: 10.16 kB / 383.6 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.334, allocations: 0.6562 kB / 383.6 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.334, allocations: 9.844 kB / 383.6 MB, free: 49.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.3367, allocations: 2.116 MB / 385.8 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3367, allocations: 5.484 kB / 385.8 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.337, allocations: 168.7 kB / 385.9 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.3371, allocations: 7.094 kB / 385.9 MB, free: 48.67 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003009/0.3374, allocations: 186.3 kB / 386.1 MB, free: 48.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.3374, allocations: 4.734 kB / 386.1 MB, free: 48.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3374, allocations: 1.688 kB / 386.1 MB, free: 48.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004372/0.3418, allocations: 2.387 MB / 388.5 MB, free: 47.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/0.3445, allocations: 1.462 MB / 390 MB, free: 47.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.3449, allocations: 90.28 kB / 390.1 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.3455, allocations: 57.58 kB / 390.1 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005682/0.3461, allocations: 263.8 kB / 390.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/0.3471, allocations: 1.059 MB / 391.4 MB, free: 46.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002442/0.3496, allocations: 1.587 MB / 393 MB, free: 46.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3496, allocations: 4.719 kB / 393 MB, free: 46.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001671/0.3513, allocations: 411.8 kB / 393.4 MB, free: 46.08 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.0004401/0.3517, allocations: 335.8 kB / 393.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003342/0.3551, allocations: 2.248 MB / 396 MB, free: 44.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3551, allocations: 1.5 kB / 396 MB, free: 44.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.3568, allocations: 1.484 MB / 397.5 MB, free: 44.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/0.3598, allocations: 1.018 MB / 398.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005398/0.3652, allocations: 4.05 MB / 402.6 MB, free: 39.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.3663, allocations: 1.603 MB / 404.2 MB, free: 38.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.004293/0.3706, allocations: 2.575 MB / 406.7 MB, free: 35.44 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/0.3727, allocations: 0.8178 MB / 407.6 MB, free: 34.62 MB / 318.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3727, allocations: 0 / 407.6 MB, free: 34.62 MB / 318.1 MB Notification: Performance of Templates: time 0.04327/0.4159, allocations: 39.98 MB / 447.5 MB, free: 9.777 MB / 334.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 -s cvode -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