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.001169/0.001169, allocations: 104 kB / 17.58 MB, free: 5.438 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.001231/0.001231, allocations: 187.9 kB / 18.51 MB, free: 4.531 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.352/1.352, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001303/0.001303, allocations: 48.61 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08678, allocations: 46.65 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.005972/0.0928, allocations: 4.9 MB / 332.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004238/0.09707, allocations: 2.195 MB / 334.5 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006088/0.09774, allocations: 19.88 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.09824, allocations: 198.2 kB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005102/0.09877, allocations: 170.4 kB / 334.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1001, allocations: 0.7141 MB / 335.6 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001682/0.1018, allocations: 2.119 MB / 337.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009241/0.1027, allocations: 0.819 MB / 338.5 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.1049, allocations: 2.557 MB / 341.1 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.1061, allocations: 1.051 MB / 342.1 MB, free: 5.543 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.1065, allocations: 232 kB / 342.3 MB, free: 5.316 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.107, allocations: 236 kB / 342.6 MB, free: 5.086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.1076, allocations: 0.7241 MB / 343.3 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.1087, allocations: 1.169 MB / 344.5 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003648/0.1123, allocations: 5.071 MB / 349.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1123, allocations: 0 / 349.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1124, allocations: 0 / 349.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.322e-05/0.1124, allocations: 3.984 kB / 349.5 MB, free: 14.09 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.003991/0.1164, allocations: 3.115 MB / 352.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1164, allocations: 12.03 kB / 352.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003188/0.1168, allocations: 194.3 kB / 352.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004247/0.1172, allocations: 249.9 kB / 353.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.1186, allocations: 1.169 MB / 354.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1187, allocations: 106.7 kB / 354.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.119, allocations: 120.4 kB / 354.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/0.1221, allocations: 1.828 MB / 356.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1221, allocations: 0 / 356.3 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.1223, allocations: 59.97 kB / 356.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.1224, allocations: 31.98 kB / 356.4 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.1251, allocations: 1.438 MB / 357.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006895/0.1321, allocations: 4.65 MB / 362.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.1351, allocations: 1.448 MB / 364 MB, free: 15.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001322/0.1364, allocations: 0.6955 MB / 364.6 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.1366, allocations: 20.92 kB / 364.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002078/0.1387, allocations: 1.476 MB / 366.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=138): time 3.547e-06/0.1387, allocations: 0 / 366.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=138): time 0.005446/0.1442, allocations: 2.782 MB / 368.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.1443, allocations: 224.9 kB / 369.1 MB, free: 10.08 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00323/0.1476, allocations: 2.303 MB / 371.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/0.1478, allocations: 81.69 kB / 371.5 MB, free: 7.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.1482, allocations: 447.8 kB / 372 MB, free: 7.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000417/0.1486, allocations: 308.1 kB / 372.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.1497, allocations: 0.7943 MB / 373.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1499, allocations: 341.9 kB / 373.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.1513, allocations: 0.6708 MB / 374.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.1529, allocations: 0.8562 MB / 374.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003014/0.1559, allocations: 1.834 MB / 376.8 MB, free: 2.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.1559, allocations: 4 kB / 376.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.1707/0.3266, allocations: 2.35 MB / 379.1 MB, free: 50 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.3268, allocations: 181.4 kB / 379.3 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.3268, allocations: 3.344 kB / 379.3 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/0.3269, allocations: 10.53 kB / 379.3 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007281/0.3276, allocations: 205.8 kB / 379.5 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.3276, allocations: 10.17 kB / 379.5 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/0.3286, allocations: 93.64 kB / 379.6 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/0.3298, allocations: 1.063 MB / 380.7 MB, free: 49.78 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.001993/0.3318, allocations: 1.286 MB / 381.9 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004211/0.3323, allocations: 199.3 kB / 382.1 MB, free: 49.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004858/0.3328, allocations: 319.5 kB / 382.5 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.3328, allocations: 11.25 kB / 382.5 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3328, allocations: 3.75 kB / 382.5 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3328, allocations: 8.5 kB / 382.5 MB, free: 49.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.3355, allocations: 2.115 MB / 384.6 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3355, allocations: 0 / 384.6 MB, free: 48.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.3359, allocations: 171.5 kB / 384.8 MB, free: 48.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.3359, allocations: 8.078 kB / 384.8 MB, free: 48.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002764/0.3362, allocations: 181.9 kB / 384.9 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.565e-06/0.3362, allocations: 10.73 kB / 385 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3362, allocations: 3.062 kB / 385 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/0.3404, allocations: 2.381 MB / 387.3 MB, free: 47.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/0.3422, allocations: 1.452 MB / 388.8 MB, free: 47.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004447/0.3427, allocations: 92.09 kB / 388.9 MB, free: 46.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005848/0.3433, allocations: 62.64 kB / 388.9 MB, free: 46.96 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005634/0.3438, allocations: 264.6 kB / 389.2 MB, free: 46.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000815/0.3447, allocations: 1.057 MB / 390.3 MB, free: 46.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00203/0.3467, allocations: 1.595 MB / 391.9 MB, free: 46.09 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3467, allocations: 0 / 391.9 MB, free: 46.09 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001426/0.3481, allocations: 411.1 kB / 392.3 MB, free: 46.03 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.004117/0.3523, allocations: 3.173 MB / 395.4 MB, free: 44.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004667/0.357, allocations: 2.561 MB / 398 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.357, allocations: 3.969 kB / 398 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.3587, allocations: 1.496 MB / 399.5 MB, free: 41.83 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/0.3621, allocations: 1.018 MB / 400.5 MB, free: 41.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/0.3795, allocations: 13.49 MB / 414 MB, free: 27.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.3807, allocations: 1.603 MB / 415.6 MB, free: 25.58 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.003971/0.3847, allocations: 2.571 MB / 418.2 MB, free: 23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002338/0.3871, allocations: 1.134 MB / 419.3 MB, free: 21.86 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3871, allocations: 0 / 419.3 MB, free: 21.86 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/0.4537, allocations: 47.86 MB / 467.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.796, allocations: 19.28 kB / 467.2 MB, free: 5.027 MB / 350.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