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.001563/0.001563, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001834/0.001834, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.594/1.594, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001504/0.001504, allocations: 56.14 kB / 280.6 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.008156/0.1562, allocations: 4.904 MB / 332.2 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00495/0.1612, allocations: 2.199 MB / 334.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.1623, allocations: 19.88 kB / 334.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006848/0.163, allocations: 190.2 kB / 334.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.1642, allocations: 174.4 kB / 334.8 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.1663, allocations: 0.7141 MB / 335.5 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004021/0.1704, allocations: 2.111 MB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.1718, allocations: 0.8267 MB / 338.4 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.1749, allocations: 2.55 MB / 341 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.1764, allocations: 1.062 MB / 342 MB, free: 5.645 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004735/0.1769, allocations: 232 kB / 342.3 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004756/0.1773, allocations: 236 kB / 342.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008166/0.1782, allocations: 0.7202 MB / 343.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.1797, allocations: 1.161 MB / 344.4 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00467/0.1844, allocations: 5.075 MB / 349.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1844, allocations: 0 / 349.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1845, allocations: 4 kB / 349.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.873e-05/0.1845, allocations: 0 / 349.4 MB, free: 14.2 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.005257/0.1898, allocations: 3.115 MB / 352.6 MB, free: 11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.049e-05/0.1899, allocations: 8.031 kB / 352.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005908/0.1905, allocations: 253.9 kB / 352.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.1922, allocations: 1.169 MB / 354 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.1923, allocations: 94.77 kB / 354.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002899/0.1926, allocations: 132.4 kB / 354.2 MB, free: 9.301 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/0.1961, allocations: 1.824 MB / 356 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.1962, allocations: 3.938 kB / 356 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002737/0.1964, allocations: 56 kB / 356.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.1965, allocations: 31.98 kB / 356.1 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002835/0.1993, allocations: 1.434 MB / 357.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008277/0.2076, allocations: 4.663 MB / 362.2 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003214/0.2108, allocations: 1.456 MB / 363.7 MB, free: 15.72 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.2123, allocations: 0.6955 MB / 364.4 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.2124, allocations: 9 kB / 364.4 MB, free: 15.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002335/0.2148, allocations: 1.484 MB / 365.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=138): time 4.338e-06/0.2148, allocations: 4 kB / 365.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=138): time 0.005948/0.2208, allocations: 2.771 MB / 368.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.221, allocations: 228.9 kB / 368.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.2251, allocations: 2.299 MB / 371.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002773/0.2254, allocations: 85.69 kB / 371.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000495/0.2259, allocations: 451.7 kB / 371.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.2263, allocations: 308.1 kB / 372 MB, free: 7.242 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.2275, allocations: 0.7943 MB / 372.8 MB, free: 6.438 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.2277, allocations: 345.9 kB / 373.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.2291, allocations: 0.667 MB / 373.8 MB, free: 5.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.2306, allocations: 0.86 MB / 374.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.2338, allocations: 1.83 MB / 376.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2338, allocations: 0 / 376.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004424/0.2382, allocations: 2.348 MB / 378.8 MB, free: 172 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2707/0.5089, allocations: 183 kB / 379 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.083e-05/0.509, allocations: 9.188 kB / 379 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.829e-05/0.5091, allocations: 10.39 kB / 379 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.5103, allocations: 197.9 kB / 379.2 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.669e-05/0.5103, allocations: 14.91 kB / 379.2 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.5116, allocations: 96.55 kB / 379.3 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/0.5133, allocations: 1.06 MB / 380.4 MB, free: 50.57 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.002927/0.5162, allocations: 1.283 MB / 381.7 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/0.5168, allocations: 198.5 kB / 381.9 MB, free: 50.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006412/0.5175, allocations: 316.6 kB / 382.2 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.5175, allocations: 11.95 kB / 382.2 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/0.5175, allocations: 0 / 382.2 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.5175, allocations: 11.75 kB / 382.2 MB, free: 50.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.5208, allocations: 2.116 MB / 384.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5209, allocations: 0 / 384.3 MB, free: 49.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.5214, allocations: 176.5 kB / 384.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-05/0.5215, allocations: 3.281 kB / 384.5 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/0.5219, allocations: 183.2 kB / 384.7 MB, free: 49.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.522, allocations: 4.406 kB / 384.7 MB, free: 49.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.522, allocations: 2.484 kB / 384.7 MB, free: 49.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/0.5276, allocations: 2.384 MB / 387 MB, free: 48.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/0.5302, allocations: 1.452 MB / 388.5 MB, free: 47.79 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004817/0.5307, allocations: 90.31 kB / 388.6 MB, free: 47.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005481/0.5313, allocations: 66.61 kB / 388.7 MB, free: 47.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006618/0.5319, allocations: 264.8 kB / 388.9 MB, free: 47.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001163/0.5331, allocations: 1.064 MB / 390 MB, free: 47.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002641/0.5358, allocations: 1.599 MB / 391.6 MB, free: 46.86 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5358, allocations: 0 / 391.6 MB, free: 46.86 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001889/0.5377, allocations: 409.2 kB / 392 MB, free: 46.8 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.0005465/0.5382, allocations: 334.5 kB / 392.3 MB, free: 46.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005057/0.5433, allocations: 2.57 MB / 394.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5433, allocations: 0 / 394.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001767/0.5451, allocations: 1.492 MB / 396.4 MB, free: 44.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/0.5483, allocations: 1.02 MB / 397.4 MB, free: 44.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006404/0.5547, allocations: 4.096 MB / 401.5 MB, free: 40.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.5561, allocations: 1.603 MB / 403.1 MB, free: 38.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.004798/0.561, allocations: 2.575 MB / 405.7 MB, free: 35.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/0.5632, allocations: 0.8178 MB / 406.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of SimCode: time 1.703e-06/0.5632, allocations: 0 / 406.5 MB, free: 35.11 MB / 318.1 MB Notification: Performance of Templates: time 0.05907/0.6223, allocations: 40.07 MB / 446.5 MB, free: 10.18 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins/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