Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 110.8 kB / 16.92 MB, free: 6.145 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.001194/0.001193, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 47.86 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09473, allocations: 49.44 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005652/0.1004, allocations: 4.897 MB / 355.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00517/0.1056, allocations: 2.167 MB / 357.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007416/0.1064, allocations: 15.94 kB / 357.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.107, allocations: 198.2 kB / 357.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.1075, allocations: 174.4 kB / 357.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.1089, allocations: 0.7157 MB / 358.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.1113, allocations: 2.127 MB / 360.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.1124, allocations: 0.819 MB / 361.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.115, allocations: 2.542 MB / 363.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.1166, allocations: 1.055 MB / 364.9 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000586/0.1172, allocations: 232 kB / 365.1 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004923/0.1177, allocations: 236 kB / 365.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.1184, allocations: 0.7202 MB / 366 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.1196, allocations: 1.173 MB / 367.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1612/0.2808, allocations: 5.07 MB / 372.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2809, allocations: 0 / 372.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2809, allocations: 1 kB / 372.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.551e-05/0.281, allocations: 0 / 372.3 MB, free: 15.41 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.005144/0.2861, allocations: 3.111 MB / 375.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.2862, allocations: 9.781 kB / 375.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003959/0.2866, allocations: 188.9 kB / 375.6 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/0.2872, allocations: 256.4 kB / 375.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.2887, allocations: 1.174 MB / 377 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.2888, allocations: 102.1 kB / 377.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.2892, allocations: 121 kB / 377.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.2927, allocations: 1.83 MB / 379.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.2927, allocations: 0.9062 kB / 379.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/0.293, allocations: 54.27 kB / 379.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.293, allocations: 28 kB / 379.1 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.2959, allocations: 1.439 MB / 380.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007407/0.3033, allocations: 4.651 MB / 385.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.3063, allocations: 1.451 MB / 386.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.3076, allocations: 0.6918 MB / 387.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.3078, allocations: 18.41 kB / 387.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/0.3098, allocations: 1.482 MB / 388.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=138): time 3.397e-06/0.3098, allocations: 0 / 388.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=138): time 0.008517/0.3183, allocations: 2.773 MB / 391.6 MB, free: 7.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.3185, allocations: 226.2 kB / 391.9 MB, free: 7.441 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002969/0.3214, allocations: 2.302 MB / 394.2 MB, free: 6.031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003805/0.3218, allocations: 80.81 kB / 394.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.3221, allocations: 449.4 kB / 394.7 MB, free: 5.617 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/0.3225, allocations: 316.4 kB / 395 MB, free: 5.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009833/0.3235, allocations: 0.8055 MB / 395.8 MB, free: 5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.089e-05/0.3236, allocations: 336.8 kB / 396.1 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.3248, allocations: 0.6671 MB / 396.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3261, allocations: 0.8595 MB / 397.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.3287, allocations: 1.832 MB / 399.5 MB, free: 2.152 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3287, allocations: 4 kB / 399.5 MB, free: 2.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003776/0.3325, allocations: 2.358 MB / 401.9 MB, free: 15.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.3326, allocations: 180.5 kB / 402 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3326, allocations: 8.156 kB / 402 MB, free: 15.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.3327, allocations: 12 kB / 402 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.3331, allocations: 195.5 kB / 402.2 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/0.3331, allocations: 15.56 kB / 402.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009962/0.3341, allocations: 93 kB / 402.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/0.3352, allocations: 1.061 MB / 403.4 MB, free: 14.23 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.002195/0.3374, allocations: 1.281 MB / 404.7 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005884/0.338, allocations: 205.6 kB / 404.9 MB, free: 12.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.3388, allocations: 315 kB / 405.2 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3388, allocations: 12 kB / 405.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/0.3388, allocations: 0 / 405.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.3388, allocations: 7.922 kB / 405.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003323/0.3422, allocations: 2.12 MB / 407.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3422, allocations: 0 / 407.3 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.3426, allocations: 180.1 kB / 407.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.3427, allocations: 0 / 407.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003519/0.343, allocations: 183.9 kB / 407.7 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.343, allocations: 4 kB / 407.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.343, allocations: 0 / 407.7 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/0.3479, allocations: 2.384 MB / 410.1 MB, free: 7.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002347/0.3502, allocations: 1.454 MB / 411.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006098/0.3509, allocations: 93.81 kB / 411.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.3516, allocations: 59.95 kB / 411.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006128/0.3523, allocations: 271.5 kB / 411.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001002/0.3533, allocations: 1.061 MB / 413 MB, free: 4.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002561/0.3558, allocations: 1.597 MB / 414.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3559, allocations: 0 / 414.6 MB, free: 2.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001725/0.3576, allocations: 407.1 kB / 415 MB, free: 2.523 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.00569/0.3633, allocations: 3.17 MB / 418.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.005768/0.3691, allocations: 2.564 MB / 420.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.3691, allocations: 0 / 420.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002616/0.3717, allocations: 1.489 MB / 422.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/0.3767, allocations: 1.021 MB / 423.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02923/0.4059, allocations: 13.49 MB / 436.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/0.4085, allocations: 1.603 MB / 438.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.007837/0.4164, allocations: 2.575 MB / 440.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004254/0.4207, allocations: 1.13 MB / 442 MB, free: 7.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.064e-06/0.4207, allocations: 4 kB / 442 MB, free: 7.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07855/0.4992, allocations: 47.86 MB / 489.9 MB, free: 6.867 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.931/9.431, allocations: 4.781 kB / 489.9 MB, free: 6.863 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder_res.csv","/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_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches