Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001815/0.001815, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007973/0.0007972, allocations: 89.36 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2243, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.003453/0.2278, allocations: 4.143 MB / 379.2 MB, free: 42.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003892/0.2318, allocations: 2.083 MB / 381.3 MB, free: 40.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.2324, allocations: 17.19 kB / 381.3 MB, free: 40.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.2327, allocations: 123.3 kB / 381.5 MB, free: 40.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.2331, allocations: 125.9 kB / 381.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.2343, allocations: 400.1 kB / 382 MB, free: 39.97 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.2364, allocations: 1.723 MB / 383.7 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.2379, allocations: 0.7892 MB / 384.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002708/0.2406, allocations: 1.867 MB / 386.3 MB, free: 37.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.2419, allocations: 0.9977 MB / 387.3 MB, free: 36.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003576/0.2422, allocations: 40 kB / 387.4 MB, free: 36.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003324/0.2426, allocations: 44 kB / 387.4 MB, free: 36.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000543/0.2431, allocations: 0.5764 MB / 388 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009193/0.2441, allocations: 0.9653 MB / 389 MB, free: 34.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.2466, allocations: 4.361 MB / 393.3 MB, free: 30.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.2466, allocations: 0 / 393.3 MB, free: 30.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.2466, allocations: 4 kB / 393.3 MB, free: 30.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.2467, allocations: 0 / 393.3 MB, free: 30.39 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.004123/0.2509, allocations: 2.367 MB / 395.7 MB, free: 27.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2509, allocations: 8.031 kB / 395.7 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000643/0.2516, allocations: 249.9 kB / 396 MB, free: 27.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.2531, allocations: 1.165 MB / 397.1 MB, free: 26.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2533, allocations: 98.77 kB / 397.2 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.2536, allocations: 128.4 kB / 397.3 MB, free: 26.25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.2569, allocations: 1.832 MB / 399.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2569, allocations: 4 kB / 399.2 MB, free: 24.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.2571, allocations: 63.97 kB / 399.2 MB, free: 24.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.2572, allocations: 28 kB / 399.3 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.2599, allocations: 1.442 MB / 400.7 MB, free: 22.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007107/0.267, allocations: 4.581 MB / 405.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.2698, allocations: 1.496 MB / 406.8 MB, free: 16.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.2711, allocations: 0.6993 MB / 407.5 MB, free: 16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.2714, allocations: 16.98 kB / 407.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.2733, allocations: 1.487 MB / 409 MB, free: 14.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=138): time 4.018e-06/0.2733, allocations: 0 / 409 MB, free: 14.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=138): time 0.004986/0.2783, allocations: 2.798 MB / 411.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.548e-05/0.2784, allocations: 224.9 kB / 412 MB, free: 11.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.2816, allocations: 2.299 MB / 414.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004894/0.2821, allocations: 81.7 kB / 414.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2825, allocations: 407.8 kB / 414.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000508/0.283, allocations: 304.2 kB / 415.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.2832, allocations: 39.98 kB / 415.1 MB, free: 8.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2834, allocations: 402.7 kB / 415.5 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.2847, allocations: 0.667 MB / 416.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/0.286, allocations: 0.8679 MB / 417 MB, free: 6.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00276/0.2888, allocations: 1.83 MB / 418.9 MB, free: 4.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.2888, allocations: 0 / 418.9 MB, free: 4.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.004077/0.2929, allocations: 2.372 MB / 421.2 MB, free: 1.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.293, allocations: 180.5 kB / 421.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.2931, allocations: 4 kB / 421.4 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.829e-05/0.2931, allocations: 12 kB / 421.4 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.2935, allocations: 195.6 kB / 421.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.2935, allocations: 15.94 kB / 421.6 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.2951, allocations: 223.2 kB / 421.9 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008391/0.296, allocations: 1.062 MB / 422.9 MB, free: 136 kB / 298.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,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition9,$PRE.Adder1.Adder2.AND.G1.auxiliary_n,$PRE.Adder1.Adder2.AND.G2.x,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,$PRE.Adder1.Adder1.AND.G1.auxiliary_n,$PRE.Adder1.Adder1.AND.G2.x,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.OR.auxiliary_n,$whenCondition6,$whenCondition7,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$PRE.Adder1.Adder2.XOR.G2.x,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,$PRE.Adder1.OR.auxiliary_n,c_out.x[1],Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.And2.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,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.And1.y,$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,$PRE.Counter.FF1.Not1.auxiliary,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.And2.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,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.And1.y,$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,$PRE.Counter.FF2.Not1.auxiliary,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.And2.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,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.And1.y,$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,$PRE.Counter.FF3.Not1.auxiliary,$whenCondition2,$whenCondition3,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G2.x,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,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,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.y,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,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.y,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,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.y,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,$PRE.CLK.t_i,CLK.t_i) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002931/0.2989, allocations: 1.282 MB / 424.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.2995, allocations: 197.7 kB / 424.4 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007639/0.3002, allocations: 315 kB / 424.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.3003, allocations: 12 kB / 424.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.3003, allocations: 96 / 424.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.3003, allocations: 19.84 kB / 424.7 MB, free: 14.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.3042, allocations: 2.118 MB / 426.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.3042, allocations: 4 kB / 426.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.3047, allocations: 179.7 kB / 427 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.3047, allocations: 4 kB / 427 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000396/0.3051, allocations: 179.9 kB / 427.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/0.3052, allocations: 4 kB / 427.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3052, allocations: 0 / 427.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004931/0.3101, allocations: 2.396 MB / 429.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003108/0.3133, allocations: 1.458 MB / 431.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006273/0.3139, allocations: 88 kB / 431.2 MB, free: 7.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.3151, allocations: 159.5 kB / 431.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000579/0.3157, allocations: 252.8 kB / 431.6 MB, free: 7.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001124/0.3169, allocations: 1.073 MB / 432.6 MB, free: 6.234 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.003294/0.3202, allocations: 1.59 MB / 434.2 MB, free: 4.652 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3202, allocations: 3.938 kB / 434.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002426/0.3226, allocations: 415.1 kB / 434.6 MB, free: 4.242 MB / 314.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007455/0.3234, allocations: 332.6 kB / 435 MB, free: 3.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004431/0.3278, allocations: 2.254 MB / 437.2 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.3279, allocations: 0 / 437.2 MB, free: 1.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.3304, allocations: 1.479 MB / 438.7 MB, free: 48 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/0.3343, allocations: 0.8689 MB / 439.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008576/0.3429, allocations: 4.838 MB / 444.4 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/0.3447, allocations: 1.592 MB / 446 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004622/0.3494, allocations: 1.165 MB / 447.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.3494, allocations: 0 / 447.2 MB, free: 7.512 MB / 330.7 MB Notification: Performance of Templates: time 0.04381/0.3932, allocations: 29.81 MB / 477 MB, free: 8.297 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/FullAdder/FullAdder.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches