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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 117.2 kB / 17.78 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002068/0.002068, allocations: 204.6 kB / 18.74 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 64.08 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2707, allocations: 50.54 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006233/0.277, allocations: 4.922 MB / 413.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004556/0.2816, allocations: 2.191 MB / 415.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.2823, allocations: 19.88 kB / 415.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.2828, allocations: 194.2 kB / 416.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.2833, allocations: 174.4 kB / 416.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.2848, allocations: 0.7141 MB / 417 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002333/0.2872, allocations: 2.123 MB / 419.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2883, allocations: 0.819 MB / 419.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.2913, allocations: 2.546 MB / 422.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.2928, allocations: 1.059 MB / 423.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004716/0.2933, allocations: 232 kB / 423.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.2937, allocations: 236 kB / 424 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007916/0.2945, allocations: 0.724 MB / 424.7 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.2958, allocations: 1.162 MB / 425.9 MB, free: 324 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00485/0.3007, allocations: 5.157 MB / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3007, allocations: 0 / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3007, allocations: 0 / 431 MB, free: 11.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.482e-05/0.3008, allocations: 0 / 431 MB, free: 11.14 MB / 350.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.005247/0.306, allocations: 3.187 MB / 434.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.3061, allocations: 11.97 kB / 434.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003514/0.3065, allocations: 190.3 kB / 434.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.307, allocations: 271.3 kB / 434.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.3089, allocations: 1.186 MB / 435.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.309, allocations: 98.77 kB / 435.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/0.3093, allocations: 124.4 kB / 436.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003546/0.3129, allocations: 1.824 MB / 437.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.3129, allocations: 3.984 kB / 437.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.3132, allocations: 52 kB / 437.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.3132, allocations: 36 kB / 438 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002982/0.3162, allocations: 1.442 MB / 439.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008375/0.3246, allocations: 4.6 MB / 444 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/0.3277, allocations: 1.452 MB / 445.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/0.3291, allocations: 0.6877 MB / 446.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.3293, allocations: 12.98 kB / 446.2 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002285/0.3316, allocations: 1.488 MB / 447.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=138): time 3.387e-06/0.3316, allocations: 0 / 447.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.005594/0.3372, allocations: 2.779 MB / 450.4 MB, free: 7.352 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.3374, allocations: 228.9 kB / 450.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.3411, allocations: 2.311 MB / 453 MB, free: 4.773 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003968/0.3415, allocations: 81.69 kB / 453.1 MB, free: 4.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.342, allocations: 456.7 kB / 453.5 MB, free: 4.234 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005289/0.3425, allocations: 325.6 kB / 453.8 MB, free: 3.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/0.3438, allocations: 0.8027 MB / 454.6 MB, free: 3.105 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.344, allocations: 341.9 kB / 455 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.3454, allocations: 0.6709 MB / 455.6 MB, free: 2.094 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.347, allocations: 0.86 MB / 456.5 MB, free: 1.184 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.3502, allocations: 1.825 MB / 458.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.3502, allocations: 0 / 458.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004621/0.3548, allocations: 2.364 MB / 460.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.355, allocations: 184.5 kB / 460.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.355, allocations: 4 kB / 460.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.964e-05/0.3551, allocations: 8 kB / 460.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.3555, allocations: 199.6 kB / 461.1 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.3555, allocations: 8 kB / 461.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.3564, allocations: 99.73 kB / 461.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/0.3576, allocations: 1.065 MB / 462.2 MB, free: 11.25 MB / 382.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.002404/0.36, allocations: 1.286 MB / 463.5 MB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005901/0.3606, allocations: 206.7 kB / 463.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007369/0.3613, allocations: 311 kB / 464 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/0.3614, allocations: 12 kB / 464 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3614, allocations: 96 / 464 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.3614, allocations: 11.86 kB / 464.1 MB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.3647, allocations: 2.122 MB / 466.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3647, allocations: 0 / 466.2 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.3651, allocations: 179.8 kB / 466.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.3652, allocations: 4 kB / 466.4 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003056/0.3655, allocations: 183.9 kB / 466.5 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.924e-06/0.3655, allocations: 4 kB / 466.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3655, allocations: 0 / 466.5 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004535/0.37, allocations: 2.393 MB / 468.9 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/0.3727, allocations: 1.471 MB / 470.4 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/0.3732, allocations: 88 kB / 470.5 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.3738, allocations: 63.95 kB / 470.5 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006164/0.3744, allocations: 272.7 kB / 470.8 MB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001139/0.3756, allocations: 1.054 MB / 471.9 MB, free: 1.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002653/0.3782, allocations: 1.594 MB / 473.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3782, allocations: 0 / 473.5 MB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001687/0.3799, allocations: 411.4 kB / 473.9 MB, free: 15.43 MB / 398.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.005251/0.3852, allocations: 3.17 MB / 477 MB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.3893, allocations: 2.246 MB / 479.3 MB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3893, allocations: 0 / 479.3 MB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.3916, allocations: 1.483 MB / 480.8 MB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003547/0.3952, allocations: 1.03 MB / 481.8 MB, free: 7.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02497/0.4202, allocations: 13.22 MB / 495 MB, free: 9.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.4221, allocations: 1.599 MB / 496.6 MB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005396/0.4275, allocations: 2.579 MB / 499.2 MB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002827/0.4303, allocations: 1.134 MB / 0.4886 GB, free: 4.527 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4303, allocations: 0 / 0.4886 GB, free: 4.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09352/0.5238, allocations: 48.06 MB / 0.5355 GB, free: 3.777 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.489/10.01, allocations: 8.859 kB / 0.5355 GB, free: 3.77 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_trunk_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.FullAdder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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