Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001923/0.001923, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 61.5 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1083, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005914/0.1142, allocations: 4.917 MB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.1188, allocations: 2.194 MB / 366 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000915/0.1197, allocations: 19.88 kB / 366 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.1203, allocations: 194.2 kB / 366.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004495/0.1207, allocations: 170.5 kB / 366.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1222, allocations: 0.7102 MB / 367.1 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002093/0.1243, allocations: 2.127 MB / 369.2 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.1255, allocations: 0.8268 MB / 370 MB, free: 2.117 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1897/0.3152, allocations: 2.541 MB / 372.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.3171, allocations: 1.059 MB / 373.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007767/0.3179, allocations: 232.1 kB / 373.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.3184, allocations: 239 kB / 374.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008581/0.3193, allocations: 0.721 MB / 374.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.3207, allocations: 1.166 MB / 376 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005836/0.3265, allocations: 5.14 MB / 381.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.527e-06/0.3266, allocations: 1.875 kB / 381.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3266, allocations: 0 / 381.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001424/0.3267, allocations: 1.594 kB / 381.1 MB, free: 11.29 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.007285/0.334, allocations: 3.119 MB / 384.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.3341, allocations: 9.531 kB / 384.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007726/0.3349, allocations: 255.1 kB / 384.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.3372, allocations: 1.162 MB / 385.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3373, allocations: 98.7 kB / 385.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.3377, allocations: 124.2 kB / 385.9 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.3418, allocations: 1.824 MB / 387.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.332e-05/0.3419, allocations: 4.438 kB / 387.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.3421, allocations: 58.59 kB / 387.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.093e-05/0.3422, allocations: 29.81 kB / 387.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003193/0.3454, allocations: 1.436 MB / 389.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009039/0.3544, allocations: 4.598 MB / 393.8 MB, free: 3.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002884/0.3574, allocations: 1.452 MB / 395.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.3586, allocations: 0.6919 MB / 396 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.3588, allocations: 11.34 kB / 396 MB, free: 2.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.3608, allocations: 1.481 MB / 397.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 3.216e-06/0.3608, allocations: 1.594 kB / 397.5 MB, free: 1.652 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.004915/0.3657, allocations: 2.781 MB / 400.3 MB, free: 420 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.965e-05/0.3658, allocations: 230.5 kB / 400.5 MB, free: 172 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/0.37, allocations: 2.291 MB / 402.8 MB, free: 14.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00044/0.3704, allocations: 85.69 kB / 402.9 MB, free: 14.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004596/0.3709, allocations: 443.2 kB / 403.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005384/0.3715, allocations: 322.4 kB / 403.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/0.3727, allocations: 0.7943 MB / 404.4 MB, free: 12.9 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3729, allocations: 345.9 kB / 404.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3743, allocations: 0.6631 MB / 405.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.3759, allocations: 0.8648 MB / 406.3 MB, free: 10.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003003/0.3789, allocations: 1.818 MB / 408.1 MB, free: 9.059 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.3789, allocations: 4.688 kB / 408.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004473/0.3834, allocations: 2.363 MB / 410.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.3836, allocations: 184.5 kB / 410.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.3836, allocations: 4 kB / 410.6 MB, free: 6.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.3836, allocations: 9.219 kB / 410.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004553/0.3841, allocations: 195 kB / 410.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.3841, allocations: 23.8 kB / 410.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3853, allocations: 95.33 kB / 411 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.3864, allocations: 1.065 MB / 412 MB, free: 5.117 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.00266/0.389, allocations: 1.283 MB / 413.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/0.3896, allocations: 197.7 kB / 413.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.3904, allocations: 315 kB / 413.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.3904, allocations: 12 kB / 413.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/0.3904, allocations: 0 / 413.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.3904, allocations: 11.97 kB / 413.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.3935, allocations: 2.12 MB / 415.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3935, allocations: 0 / 415.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.3939, allocations: 174.2 kB / 416.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.3939, allocations: 7.938 kB / 416.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003131/0.3942, allocations: 179.9 kB / 416.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.3942, allocations: 4 kB / 416.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3943, allocations: 3.984 kB / 416.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004435/0.3987, allocations: 2.39 MB / 418.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003181/0.4019, allocations: 1.458 MB / 420.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005447/0.4025, allocations: 92 kB / 420.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.4031, allocations: 52.03 kB / 420.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006279/0.4038, allocations: 268.8 kB / 420.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001315/0.4051, allocations: 1.061 MB / 421.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.003076/0.4082, allocations: 1.594 MB / 423.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4082, allocations: 0 / 423.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002273/0.4105, allocations: 411.2 kB / 423.6 MB, free: 9.418 MB / 334.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.0006135/0.4111, allocations: 331.1 kB / 423.9 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00392/0.415, allocations: 2.247 MB / 426.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4151, allocations: 0 / 426.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002206/0.4173, allocations: 1.482 MB / 427.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003574/0.4209, allocations: 1.026 MB / 428.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007689/0.4286, allocations: 4.041 MB / 432.7 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/0.4303, allocations: 1.599 MB / 434.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00799/0.4383, allocations: 2.579 MB / 436.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/0.4416, allocations: 0.8139 MB / 437.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4416, allocations: 0 / 437.7 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Templates: time 0.05785/0.4995, allocations: 39.99 MB / 477.7 MB, free: 2.531 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches