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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_3_2_3_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.001107/0.001107, allocations: 109.3 kB / 17.73 MB, free: 5.316 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.001114/0.001114, allocations: 188.2 kB / 18.66 MB, free: 4.391 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.402/1.402, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001477/0.001477, allocations: 51.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09384, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005819/0.09971, allocations: 4.923 MB / 379.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2136/0.3133, allocations: 2.199 MB / 381.8 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008531/0.3142, allocations: 21.69 kB / 381.8 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006483/0.315, allocations: 194.7 kB / 382 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.3157, allocations: 189.7 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0016/0.3173, allocations: 0.7075 MB / 382.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.3196, allocations: 2.123 MB / 385 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.3207, allocations: 0.8279 MB / 385.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.3235, allocations: 2.595 MB / 388.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.3248, allocations: 1.058 MB / 389.5 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.3252, allocations: 237 kB / 389.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.3257, allocations: 235.5 kB / 389.9 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007136/0.3264, allocations: 0.7308 MB / 390.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000979/0.3274, allocations: 1.17 MB / 391.8 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004922/0.3323, allocations: 5.151 MB / 397 MB, free: 2.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3323, allocations: 0 / 397 MB, free: 2.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3323, allocations: 1.438 kB / 397 MB, free: 2.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.3325, allocations: 0 / 397 MB, free: 2.039 MB / 318.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.006661/0.3391, allocations: 3.186 MB / 400.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3392, allocations: 9.625 kB / 400.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003668/0.3396, allocations: 191 kB / 400.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/0.3401, allocations: 265.4 kB / 400.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.3421, allocations: 1.189 MB / 401.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.3423, allocations: 101.9 kB / 401.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003508/0.3426, allocations: 121.4 kB / 402 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.3462, allocations: 1.83 MB / 403.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.3463, allocations: 0 / 403.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002482/0.3465, allocations: 67.58 kB / 403.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.3466, allocations: 28.94 kB / 404 MB, free: 13.35 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003165/0.3497, allocations: 1.435 MB / 405.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01035/0.3601, allocations: 4.603 MB / 410 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.3637, allocations: 1.443 MB / 411.4 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.3654, allocations: 0.6918 MB / 412.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.3657, allocations: 13.14 kB / 412.1 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002693/0.3685, allocations: 1.485 MB / 413.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=138): time 4.018e-06/0.3685, allocations: 0 / 413.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=138): time 0.006129/0.3746, allocations: 2.786 MB / 416.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.3748, allocations: 228.8 kB / 416.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/0.3801, allocations: 2.299 MB / 418.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006574/0.3808, allocations: 81.69 kB / 419 MB, free: 1.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.3813, allocations: 460.7 kB / 419.5 MB, free: 1.402 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008874/0.3822, allocations: 332.9 kB / 419.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002172/0.3844, allocations: 0.8027 MB / 420.6 MB, free: 284 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3846, allocations: 334 kB / 420.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.3864, allocations: 0.6709 MB / 421.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.3882, allocations: 0.8562 MB / 422.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.3914, allocations: 1.837 MB / 424.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/0.3915, allocations: 1.125 kB / 424.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004517/0.396, allocations: 2.36 MB / 426.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3961, allocations: 180.5 kB / 426.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.3962, allocations: 4 kB / 426.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.197e-05/0.3962, allocations: 8.156 kB / 426.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/0.3967, allocations: 208.3 kB / 427 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.3967, allocations: 11.94 kB / 427.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.3978, allocations: 91.69 kB / 427.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009904/0.3988, allocations: 1.061 MB / 428.2 MB, free: 8.438 MB / 350.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.003167/0.402, allocations: 1.291 MB / 429.5 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008195/0.4028, allocations: 210.7 kB / 429.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.4041, allocations: 319.1 kB / 430 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4041, allocations: 15.94 kB / 430 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.4042, allocations: 0 / 430 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.4042, allocations: 11.92 kB / 430 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005681/0.4099, allocations: 2.114 MB / 432.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.4099, allocations: 0 / 432.2 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.4106, allocations: 171.8 kB / 432.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.4106, allocations: 4 kB / 432.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005672/0.4112, allocations: 179.9 kB / 432.5 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-05/0.4112, allocations: 11.92 kB / 432.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4112, allocations: 0 / 432.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/0.4172, allocations: 2.392 MB / 434.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003619/0.4208, allocations: 1.463 MB / 436.4 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007595/0.4216, allocations: 92 kB / 436.5 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/0.4226, allocations: 56.02 kB / 436.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/0.4232, allocations: 271.4 kB / 436.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001066/0.4243, allocations: 1.061 MB / 437.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.003743/0.428, allocations: 1.597 MB / 439.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4281, allocations: 0 / 439.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002377/0.4304, allocations: 411.4 kB / 439.8 MB, free: 12.66 MB / 366.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.006186/0.4366, allocations: 3.172 MB / 443 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004068/0.4407, allocations: 2.24 MB / 445.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4408, allocations: 320 / 445.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4433, allocations: 1.487 MB / 446.7 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005331/0.4487, allocations: 1.035 MB / 447.8 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03279/0.4815, allocations: 13.22 MB / 461 MB, free: 7.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/0.4847, allocations: 1.603 MB / 462.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.008953/0.4937, allocations: 2.575 MB / 465.2 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004753/0.4985, allocations: 1.134 MB / 466.3 MB, free: 1.695 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.4985, allocations: 0 / 466.3 MB, free: 1.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08601/0.5845, allocations: 48.05 MB / 0.5023 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.411/9.996, allocations: 8.047 kB / 0.5023 GB, free: 0.6914 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches