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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Digital.Examples.FullAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder1.Adder1.AND.G2.x|Adder1.Adder1.AND.G2.y|Adder1.Adder1.XOR.G2.x|Adder1.Adder1.XOR.G2.y|Adder1.Adder2.AND.G2.x|Adder1.Adder2.AND.G2.y|Adder1.Adder2.XOR.G2.x|Adder1.Adder2.XOR.G2.y|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder") translateModel(Modelica.Electrical.Digital.Examples.FullAdder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Adder1.Adder1.AND.G2.x|Adder1.Adder1.AND.G2.y|Adder1.Adder1.XOR.G2.x|Adder1.Adder1.XOR.G2.y|Adder1.Adder2.AND.G2.x|Adder1.Adder2.AND.G2.y|Adder1.Adder2.XOR.G2.x|Adder1.Adder2.XOR.G2.y|Counter.FF1.RS1.TD1.x|Counter.FF1.RS2.TD1.x|Counter.FF2.RS1.TD1.x|Counter.FF2.RS2.TD1.x|Counter.FF3.RS1.TD1.x|Counter.FF3.RS2.TD1.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001414, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 240.9 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 114.3 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009053/0.0009054, allocations: 43.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3389, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.006061/0.345, allocations: 4.915 MB / 404.4 MB, free: 28.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.3495, allocations: 2.182 MB / 406.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.3506, allocations: 19.88 kB / 406.6 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.3511, allocations: 154.9 kB / 406.7 MB, free: 26.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.3516, allocations: 127 kB / 406.9 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3531, allocations: 0.6597 MB / 407.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.3545, allocations: 1.822 MB / 409.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/0.3554, allocations: 0.8033 MB / 410.1 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.3574, allocations: 2.393 MB / 412.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.3583, allocations: 0.9531 MB / 413.5 MB, free: 19.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.3586, allocations: 72 kB / 413.6 MB, free: 19.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.359, allocations: 72 kB / 413.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005838/0.3596, allocations: 0.599 MB / 414.2 MB, free: 18.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008929/0.3605, allocations: 1.013 MB / 415.2 MB, free: 17.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.3633, allocations: 4.967 MB / 420.2 MB, free: 12.51 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3634, allocations: 3.938 kB / 420.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3634, allocations: 0 / 420.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.669e-05/0.3635, allocations: 0 / 420.2 MB, free: 12.5 MB / 298.7 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.004854/0.3683, allocations: 3.105 MB / 423.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3684, allocations: 12.03 kB / 423.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.3689, allocations: 249.9 kB / 423.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.3705, allocations: 1.181 MB / 424.8 MB, free: 7.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3707, allocations: 98.77 kB / 424.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.3709, allocations: 120.4 kB / 425 MB, free: 7.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002871/0.3738, allocations: 1.832 MB / 426.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.3739, allocations: 0 / 426.8 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.3741, allocations: 52 kB / 426.8 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.3741, allocations: 28 kB / 426.9 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.3767, allocations: 1.442 MB / 428.3 MB, free: 4.223 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.3841, allocations: 4.577 MB / 432.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.3872, allocations: 1.451 MB / 434.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3886, allocations: 0.6916 MB / 435 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.3888, allocations: 9 kB / 435 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002487/0.3913, allocations: 1.488 MB / 436.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=138): time 5.57e-06/0.3913, allocations: 0 / 436.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=138): time 0.00581/0.3971, allocations: 2.782 MB / 439.3 MB, free: 9.047 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.3973, allocations: 220.9 kB / 439.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004191/0.4015, allocations: 2.299 MB / 441.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004304/0.402, allocations: 81.7 kB / 441.9 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.4025, allocations: 443.7 kB / 442.3 MB, free: 5.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/0.4031, allocations: 324 kB / 442.7 MB, free: 5.641 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.4045, allocations: 0.7943 MB / 443.5 MB, free: 4.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4047, allocations: 349.9 kB / 443.8 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001535/0.4063, allocations: 0.6631 MB / 444.5 MB, free: 3.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.4078, allocations: 0.8601 MB / 445.3 MB, free: 2.914 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003157/0.411, allocations: 1.826 MB / 447.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.411, allocations: 0 / 447.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004702/0.4158, allocations: 2.355 MB / 449.5 MB, free: 14.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.4159, allocations: 181.4 kB / 449.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.416, allocations: 4 kB / 449.7 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.886e-05/0.416, allocations: 8 kB / 449.7 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.4164, allocations: 211.7 kB / 449.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.4164, allocations: 8.469 kB / 449.9 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.418, allocations: 215.1 kB / 450.1 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.4191, allocations: 1.061 MB / 451.2 MB, free: 12.88 MB / 330.7 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.002882/0.422, allocations: 1.29 MB / 452.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006857/0.4227, allocations: 197.8 kB / 452.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008288/0.4235, allocations: 319 kB / 453 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4235, allocations: 8 kB / 453 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.4236, allocations: 4 kB / 453 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.4236, allocations: 15.91 kB / 453 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.4273, allocations: 2.118 MB / 455.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4273, allocations: 0 / 455.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003843/0.4277, allocations: 171.8 kB / 455.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.4277, allocations: 4 kB / 455.3 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/0.428, allocations: 183.9 kB / 455.5 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.428, allocations: 4 kB / 455.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.428, allocations: 3.938 kB / 455.5 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006707/0.4348, allocations: 4.026 MB / 459.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00329/0.4381, allocations: 1.454 MB / 461 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006927/0.4388, allocations: 95.94 kB / 461 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.4402, allocations: 147.6 kB / 461.2 MB, free: 2.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000751/0.441, allocations: 264.8 kB / 461.5 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001379/0.4424, allocations: 1.061 MB / 462.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003777/0.4462, allocations: 1.59 MB / 464.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.814e-06/0.4462, allocations: 0 / 464.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002716/0.4489, allocations: 415.1 kB / 464.5 MB, free: 15.32 MB / 346.7 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.0009936/0.4499, allocations: 332.6 kB / 464.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005286/0.4552, allocations: 2.239 MB / 467.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4553, allocations: 0 / 467.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002824/0.4581, allocations: 1.491 MB / 468.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/0.463, allocations: 0.9162 MB / 469.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/0.4754, allocations: 5.611 MB / 475.1 MB, free: 4.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003488/0.479, allocations: 1.635 MB / 476.7 MB, free: 2.898 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007654/0.4867, allocations: 2.579 MB / 479.3 MB, free: 316 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004376/0.4911, allocations: 0.814 MB / 480.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of SimCode: time 2.224e-06/0.4911, allocations: 7.938 kB / 480.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Templates: time 0.3493/0.8404, allocations: 39.59 MB / 0.5075 GB, free: 93.87 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches