Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.Adder4,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|Adder2.Adder1.AND.G2.x|Adder2.Adder1.AND.G2.y|Adder2.Adder1.XOR.G2.x|Adder2.Adder1.XOR.G2.y|Adder2.Adder2.AND.G2.x|Adder2.Adder2.AND.G2.y|Adder2.Adder2.XOR.G2.x|Adder2.Adder2.XOR.G2.y|Adder3.Adder1.AND.G2.x|Adder3.Adder1.AND.G2.y|Adder3.Adder1.XOR.G2.x|Adder3.Adder1.XOR.G2.y|Adder3.Adder2.AND.G2.x|Adder3.Adder2.AND.G2.y|Adder3.Adder2.XOR.G2.x|Adder3.Adder2.XOR.G2.y|Adder4.Adder1.AND.G2.x|Adder4.Adder1.AND.G2.y|Adder4.Adder1.XOR.G2.x|Adder4.Adder1.XOR.G2.y|Adder4.Adder2.AND.G2.x|Adder4.Adder2.AND.G2.y|Adder4.Adder2.XOR.G2.x|Adder4.Adder2.XOR.G2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4") translateModel(Modelica.Electrical.Digital.Examples.Adder4,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|Adder2.Adder1.AND.G2.x|Adder2.Adder1.AND.G2.y|Adder2.Adder1.XOR.G2.x|Adder2.Adder1.XOR.G2.y|Adder2.Adder2.AND.G2.x|Adder2.Adder2.AND.G2.y|Adder2.Adder2.XOR.G2.x|Adder2.Adder2.XOR.G2.y|Adder3.Adder1.AND.G2.x|Adder3.Adder1.AND.G2.y|Adder3.Adder1.XOR.G2.x|Adder3.Adder1.XOR.G2.y|Adder3.Adder2.AND.G2.x|Adder3.Adder2.AND.G2.y|Adder3.Adder2.XOR.G2.x|Adder3.Adder2.XOR.G2.y|Adder4.Adder1.AND.G2.x|Adder4.Adder1.AND.G2.y|Adder4.Adder1.XOR.G2.x|Adder4.Adder1.XOR.G2.y|Adder4.Adder2.AND.G2.x|Adder4.Adder2.AND.G2.y|Adder4.Adder2.XOR.G2.x|Adder4.Adder2.XOR.G2.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 109.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00151/0.00151, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.3 MB / 246.9 MB, free: 10.67 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 67.31 kB / 306.9 MB, free: 0.9883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08949, allocations: 50.55 MB / 357.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Adder4): time 0.00662/0.09615, allocations: 5.845 MB / 363.3 MB, free: 8.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.1014, allocations: 2.791 MB / 366.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.1026, allocations: 19.88 kB / 366.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000783/0.1034, allocations: 178.7 kB / 366.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.1046, allocations: 238.4 kB / 366.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.1064, allocations: 0.8002 MB / 367.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.1092, allocations: 2.226 MB / 369.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.1105, allocations: 0.8636 MB / 370.4 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1725/0.283, allocations: 2.637 MB / 373 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.2851, allocations: 1.159 MB / 374.2 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001265/0.2863, allocations: 84.94 kB / 374.3 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.2876, allocations: 86.62 kB / 374.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001635/0.2892, allocations: 1.091 MB / 375.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0029/0.2921, allocations: 1.961 MB / 377.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006813/0.299, allocations: 7.202 MB / 384.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.299, allocations: 1.094 kB / 384.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.299, allocations: 0 / 384.6 MB, free: 7.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002493/0.2993, allocations: 4.906 kB / 384.6 MB, free: 7.898 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01459/0.3139, allocations: 6.238 MB / 390.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.314, allocations: 10 kB / 390.9 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.3154, allocations: 0.5426 MB / 391.4 MB, free: 2.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/0.3181, allocations: 2.06 MB / 393.5 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.3183, allocations: 115 kB / 393.6 MB, free: 1.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005476/0.3188, allocations: 150.5 kB / 393.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.3229, allocations: 1.998 MB / 395.7 MB, free: 112 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.3229, allocations: 5.312 kB / 395.7 MB, free: 108 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002592/0.3232, allocations: 86.39 kB / 395.8 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.3232, allocations: 24.75 kB / 395.8 MB, free: 64 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/0.3262, allocations: 1.342 MB / 397.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.3406, allocations: 5.724 MB / 402.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003196/0.3438, allocations: 1.304 MB / 404.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/0.3458, allocations: 1.016 MB / 405.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/0.346, allocations: 7.938 kB / 405.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003739/0.3498, allocations: 2.608 MB / 407.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=177): time 3.246e-06/0.3498, allocations: 0 / 407.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=177): time 0.009484/0.3593, allocations: 4.944 MB / 412.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004374/0.3598, allocations: 0.8188 MB / 413.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02018/0.38, allocations: 7.065 MB / 420.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000844/0.3808, allocations: 101.7 kB / 420.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006981/0.3816, allocations: 0.5277 MB / 421.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001005/0.3826, allocations: 385.8 kB / 421.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/0.3856, allocations: 1.287 MB / 423 MB, free: 8.84 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3858, allocations: 305.1 kB / 423.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.3876, allocations: 0.7995 MB / 424.1 MB, free: 7.738 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.3895, allocations: 1.08 MB / 425.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004056/0.3936, allocations: 3.217 MB / 428.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.3936, allocations: 4 kB / 428.4 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007256/0.4009, allocations: 3.899 MB / 432.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005697/0.4015, allocations: 0.8382 MB / 433.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-05/0.4015, allocations: 8.312 kB / 433.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.694e-05/0.4016, allocations: 12 kB / 433.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.4019, allocations: 109.7 kB / 433.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.4019, allocations: 15.38 kB / 433.2 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.4047, allocations: 289.5 kB / 433.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/0.406, allocations: 0.9875 MB / 434.5 MB, free: 12.59 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 229 ($PRE.Adder4.Adder1.XOR.G2.y,$PRE.Adder4.Adder1.AND.G2.y,$PRE.Adder4.Adder2.XOR.G2.y,$PRE.Adder4.Adder2.AND.G2.y,$PRE.Adder3.Adder1.XOR.G2.y,$PRE.Adder3.Adder1.AND.G2.y,$PRE.Adder3.Adder2.XOR.G2.y,$PRE.Adder3.Adder2.AND.G2.y,$PRE.Adder2.Adder1.XOR.G2.y,$PRE.Adder2.Adder1.AND.G2.y,$PRE.Adder2.Adder2.XOR.G2.y,$PRE.Adder2.Adder2.AND.G2.y,$PRE.Adder1.Adder1.XOR.G2.y,$PRE.Adder1.Adder1.AND.G2.y,$PRE.Adder1.Adder2.XOR.G2.y,$PRE.Adder1.Adder2.AND.G2.y,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,$whenCondition30,$whenCondition29,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,a1.y,b1.y,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,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,Set.y,$whenCondition26,$whenCondition25,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,$whenCondition32,$whenCondition31,$whenCondition28,$whenCondition27,Adder2.Adder2.XOR.G2.t_next,Adder2.Adder2.XOR.G2.lh,Adder2.Adder2.XOR.G2.y_old,Adder2.Adder2.XOR.G2.y_auxiliary,Adder2.Adder2.XOR.G2.delayTime,Adder2.Adder2.XOR.G2.y,Adder2.Adder2.XOR.G2.x,$PRE.Adder2.Adder2.XOR.G2.x,$PRE.Adder2.Adder2.XOR.G1.auxiliary_n,$whenCondition22,$whenCondition21,Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder1.AND.G1.auxiliary_n,a2.y,b2.y,Adder2.c_in,Adder2.Adder1.XOR.G2.t_next,Adder2.Adder1.XOR.G2.lh,Adder2.Adder1.XOR.G2.y_old,Adder2.Adder1.XOR.G2.y_auxiliary,Adder2.Adder1.XOR.G2.delayTime,Adder2.Adder1.XOR.G2.y,Adder2.Adder1.XOR.G2.x,$PRE.Adder2.Adder1.XOR.G2.x,$PRE.Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder2.XOR.G1.auxiliary_n,Adder2.Adder2.AND.G1.auxiliary_n,$PRE.Adder1.OR.auxiliary_n,$whenCondition18,$whenCondition17,Adder2.OR.auxiliary_n,Adder2.Adder1.AND.G2.t_next,Adder2.Adder1.AND.G2.lh,Adder2.Adder1.AND.G2.y_old,Adder2.Adder1.AND.G2.y_auxiliary,Adder2.Adder1.AND.G2.delayTime,Adder2.Adder1.AND.G2.y,Adder2.Adder1.AND.G2.x,$PRE.Adder2.Adder1.AND.G2.x,$PRE.Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder2.AND.G2.t_next,Adder2.Adder2.AND.G2.lh,Adder2.Adder2.AND.G2.y_old,Adder2.Adder2.AND.G2.y_auxiliary,Adder2.Adder2.AND.G2.delayTime,Adder2.Adder2.AND.G2.y,Adder2.Adder2.AND.G2.x,$PRE.Adder2.Adder2.AND.G2.x,$PRE.Adder2.Adder2.AND.G1.auxiliary_n,$whenCondition24,$whenCondition23,$whenCondition20,$whenCondition19,Adder3.Adder2.XOR.G2.t_next,Adder3.Adder2.XOR.G2.lh,Adder3.Adder2.XOR.G2.y_old,Adder3.Adder2.XOR.G2.y_auxiliary,Adder3.Adder2.XOR.G2.delayTime,Adder3.Adder2.XOR.G2.y,Adder3.Adder2.XOR.G2.x,$PRE.Adder3.Adder2.XOR.G2.x,$PRE.Adder3.Adder2.XOR.G1.auxiliary_n,$whenCondition14,$whenCondition13,Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder1.AND.G1.auxiliary_n,a3.y,b3.y,Adder3.c_in,Adder3.Adder1.XOR.G2.t_next,Adder3.Adder1.XOR.G2.lh,Adder3.Adder1.XOR.G2.y_old,Adder3.Adder1.XOR.G2.y_auxiliary,Adder3.Adder1.XOR.G2.delayTime,Adder3.Adder1.XOR.G2.y,Adder3.Adder1.XOR.G2.x,$PRE.Adder3.Adder1.XOR.G2.x,$PRE.Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder2.XOR.G1.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,$PRE.Adder2.OR.auxiliary_n,$whenCondition10,$whenCondition9,Adder3.OR.auxiliary_n,Adder3.Adder1.AND.G2.t_next,Adder3.Adder1.AND.G2.lh,Adder3.Adder1.AND.G2.y_old,Adder3.Adder1.AND.G2.y_auxiliary,Adder3.Adder1.AND.G2.delayTime,Adder3.Adder1.AND.G2.y,Adder3.Adder1.AND.G2.x,$PRE.Adder3.Adder1.AND.G2.x,$PRE.Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder2.AND.G2.t_next,Adder3.Adder2.AND.G2.lh,Adder3.Adder2.AND.G2.y_old,Adder3.Adder2.AND.G2.y_auxiliary,Adder3.Adder2.AND.G2.delayTime,Adder3.Adder2.AND.G2.y,Adder3.Adder2.AND.G2.x,$PRE.Adder3.Adder2.AND.G2.x,$PRE.Adder3.Adder2.AND.G1.auxiliary_n,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition11,Adder4.Adder2.XOR.G2.t_next,Adder4.Adder2.XOR.G2.lh,Adder4.Adder2.XOR.G2.y_old,Adder4.Adder2.XOR.G2.y_auxiliary,Adder4.Adder2.XOR.G2.delayTime,Adder4.Adder2.XOR.G2.y,Adder4.Adder2.XOR.G2.x,$PRE.Adder4.Adder2.XOR.G2.x,$PRE.Adder4.Adder2.XOR.G1.auxiliary_n,$whenCondition6,$whenCondition5,Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder1.AND.G1.auxiliary_n,a4.y,b4.y,Adder4.c_in,Adder4.Adder1.XOR.G2.t_next,Adder4.Adder1.XOR.G2.lh,Adder4.Adder1.XOR.G2.y_old,Adder4.Adder1.XOR.G2.y_auxiliary,Adder4.Adder1.XOR.G2.delayTime,Adder4.Adder1.XOR.G2.y,Adder4.Adder1.XOR.G2.x,$PRE.Adder4.Adder1.XOR.G2.x,$PRE.Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder2.XOR.G1.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,$PRE.Adder3.OR.auxiliary_n,$whenCondition2,$whenCondition1,Adder4.OR.auxiliary_n,Adder4.Adder1.AND.G2.t_next,Adder4.Adder1.AND.G2.lh,Adder4.Adder1.AND.G2.y_old,Adder4.Adder1.AND.G2.y_auxiliary,Adder4.Adder1.AND.G2.delayTime,Adder4.Adder1.AND.G2.y,Adder4.Adder1.AND.G2.x,$PRE.Adder4.Adder1.AND.G2.x,$PRE.Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder2.AND.G2.t_next,Adder4.Adder2.AND.G2.lh,Adder4.Adder2.AND.G2.y_old,Adder4.Adder2.AND.G2.y_auxiliary,Adder4.Adder2.AND.G2.delayTime,Adder4.Adder2.AND.G2.y,Adder4.Adder2.AND.G2.x,$PRE.Adder4.Adder2.AND.G2.x,$PRE.Adder4.Adder2.AND.G1.auxiliary_n,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition3,$PRE.Adder4.OR.auxiliary_n,Adder4.c_out) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 25 * 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.008272/0.4143, allocations: 3.504 MB / 438 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/0.4162, allocations: 0.5173 MB / 438.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003949/0.4201, allocations: 0.9303 MB / 439.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.4201, allocations: 4 kB / 439.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4202, allocations: 0 / 439.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.4202, allocations: 9.797 kB / 439.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.435, allocations: 3.94 MB / 443.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.4351, allocations: 0 / 443.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/0.4355, allocations: 91.12 kB / 443.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.4355, allocations: 0 / 443.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/0.4366, allocations: 207.9 kB / 443.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.4366, allocations: 4 kB / 443.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4366, allocations: 0 / 443.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.4476, allocations: 4.703 MB / 448.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01028/0.458, allocations: 4.152 MB / 452.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002172/0.4602, allocations: 192 kB / 452.7 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/0.4633, allocations: 213.9 kB / 453 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/0.4644, allocations: 278.8 kB / 453.2 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001718/0.4661, allocations: 1.007 MB / 454.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.01452/0.4806, allocations: 5.098 MB / 459.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4807, allocations: 0 / 459.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003551/0.4842, allocations: 0.6241 MB / 460 MB, free: 2.758 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: 177 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition32,b4.y,b1.y,b2.y,b3.y,a1.y,a2.y,a3.y,a4.y,Set.y,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,Adder2.Adder2.AND.G1.auxiliary_n,Adder2.Adder2.AND.G2.x,Adder2.Adder2.AND.G2.y,Adder2.Adder2.AND.G2.delayTime,Adder2.Adder2.AND.G2.y_auxiliary,Adder2.Adder2.AND.G2.y_old,Adder2.Adder2.AND.G2.lh,Adder2.Adder2.AND.G2.t_next,Adder2.Adder2.XOR.G1.auxiliary_n,Adder2.Adder2.XOR.G2.x,Adder2.Adder2.XOR.G2.y,Adder2.Adder2.XOR.G2.delayTime,Adder2.Adder2.XOR.G2.y_auxiliary,Adder2.Adder2.XOR.G2.y_old,Adder2.Adder2.XOR.G2.lh,Adder2.Adder2.XOR.G2.t_next,Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder1.AND.G2.x,Adder2.Adder1.AND.G2.y,Adder2.Adder1.AND.G2.delayTime,Adder2.Adder1.AND.G2.y_auxiliary,Adder2.Adder1.AND.G2.y_old,Adder2.Adder1.AND.G2.lh,Adder2.Adder1.AND.G2.t_next,Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder1.XOR.G2.x,Adder2.Adder1.XOR.G2.y,Adder2.Adder1.XOR.G2.delayTime,Adder2.Adder1.XOR.G2.y_auxiliary,Adder2.Adder1.XOR.G2.y_old,Adder2.Adder1.XOR.G2.lh,Adder2.Adder1.XOR.G2.t_next,Adder2.c_in,Adder2.OR.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,Adder3.Adder2.AND.G2.x,Adder3.Adder2.AND.G2.y,Adder3.Adder2.AND.G2.delayTime,Adder3.Adder2.AND.G2.y_auxiliary,Adder3.Adder2.AND.G2.y_old,Adder3.Adder2.AND.G2.lh,Adder3.Adder2.AND.G2.t_next,Adder3.Adder2.XOR.G1.auxiliary_n,Adder3.Adder2.XOR.G2.x,Adder3.Adder2.XOR.G2.y,Adder3.Adder2.XOR.G2.delayTime,Adder3.Adder2.XOR.G2.y_auxiliary,Adder3.Adder2.XOR.G2.y_old,Adder3.Adder2.XOR.G2.lh,Adder3.Adder2.XOR.G2.t_next,Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder1.AND.G2.x,Adder3.Adder1.AND.G2.y,Adder3.Adder1.AND.G2.delayTime,Adder3.Adder1.AND.G2.y_auxiliary,Adder3.Adder1.AND.G2.y_old,Adder3.Adder1.AND.G2.lh,Adder3.Adder1.AND.G2.t_next,Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder1.XOR.G2.x,Adder3.Adder1.XOR.G2.y,Adder3.Adder1.XOR.G2.delayTime,Adder3.Adder1.XOR.G2.y_auxiliary,Adder3.Adder1.XOR.G2.y_old,Adder3.Adder1.XOR.G2.lh,Adder3.Adder1.XOR.G2.t_next,Adder3.c_in,Adder3.OR.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,Adder4.Adder2.AND.G2.x,Adder4.Adder2.AND.G2.y,Adder4.Adder2.AND.G2.delayTime,Adder4.Adder2.AND.G2.y_auxiliary,Adder4.Adder2.AND.G2.y_old,Adder4.Adder2.AND.G2.lh,Adder4.Adder2.AND.G2.t_next,Adder4.Adder2.XOR.G1.auxiliary_n,Adder4.Adder2.XOR.G2.x,Adder4.Adder2.XOR.G2.y,Adder4.Adder2.XOR.G2.delayTime,Adder4.Adder2.XOR.G2.y_auxiliary,Adder4.Adder2.XOR.G2.y_old,Adder4.Adder2.XOR.G2.lh,Adder4.Adder2.XOR.G2.t_next,Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder1.AND.G2.x,Adder4.Adder1.AND.G2.y,Adder4.Adder1.AND.G2.delayTime,Adder4.Adder1.AND.G2.y_auxiliary,Adder4.Adder1.AND.G2.y_old,Adder4.Adder1.AND.G2.lh,Adder4.Adder1.AND.G2.t_next,Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder1.XOR.G2.x,Adder4.Adder1.XOR.G2.y,Adder4.Adder1.XOR.G2.delayTime,Adder4.Adder1.XOR.G2.y_auxiliary,Adder4.Adder1.XOR.G2.y_old,Adder4.Adder1.XOR.G2.lh,Adder4.Adder1.XOR.G2.t_next,Adder4.c_in,Adder4.c_out,Adder4.OR.auxiliary_n) * Number of discrete states: 173 (Adder4.OR.auxiliary_n,Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder2.XOR.G1.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,Adder3.OR.auxiliary_n,Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder2.XOR.G1.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,Adder2.OR.auxiliary_n,Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder2.XOR.G1.auxiliary_n,Adder2.Adder2.AND.G1.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,Adder4.Adder1.XOR.G2.y,Adder4.Adder1.XOR.G2.y_auxiliary,Adder4.Adder1.XOR.G2.t_next,Adder4.Adder1.XOR.G2.delayTime,Adder4.Adder1.XOR.G2.lh,Adder4.Adder1.XOR.G2.y_old,$whenCondition2,$whenCondition1,Adder4.Adder1.XOR.G2.x,Adder4.Adder1.AND.G2.y,Adder4.Adder1.AND.G2.y_auxiliary,Adder4.Adder1.AND.G2.t_next,Adder4.Adder1.AND.G2.delayTime,Adder4.Adder1.AND.G2.lh,Adder4.Adder1.AND.G2.y_old,$whenCondition4,$whenCondition3,Adder4.Adder1.AND.G2.x,Adder4.Adder2.XOR.G2.y,Adder4.Adder2.XOR.G2.y_auxiliary,Adder4.Adder2.XOR.G2.t_next,Adder4.Adder2.XOR.G2.delayTime,Adder4.Adder2.XOR.G2.lh,Adder4.Adder2.XOR.G2.y_old,$whenCondition6,$whenCondition5,Adder4.Adder2.XOR.G2.x,Adder4.Adder2.AND.G2.y,Adder4.Adder2.AND.G2.y_auxiliary,Adder4.Adder2.AND.G2.t_next,Adder4.Adder2.AND.G2.delayTime,Adder4.Adder2.AND.G2.lh,Adder4.Adder2.AND.G2.y_old,$whenCondition8,$whenCondition7,Adder4.Adder2.AND.G2.x,Adder3.Adder1.XOR.G2.y,Adder3.Adder1.XOR.G2.y_auxiliary,Adder3.Adder1.XOR.G2.t_next,Adder3.Adder1.XOR.G2.delayTime,Adder3.Adder1.XOR.G2.lh,Adder3.Adder1.XOR.G2.y_old,$whenCondition10,$whenCondition9,Adder3.Adder1.XOR.G2.x,Adder3.Adder1.AND.G2.y,Adder3.Adder1.AND.G2.y_auxiliary,Adder3.Adder1.AND.G2.t_next,Adder3.Adder1.AND.G2.delayTime,Adder3.Adder1.AND.G2.lh,Adder3.Adder1.AND.G2.y_old,$whenCondition12,$whenCondition11,Adder3.Adder1.AND.G2.x,Adder3.Adder2.XOR.G2.y,Adder3.Adder2.XOR.G2.y_auxiliary,Adder3.Adder2.XOR.G2.t_next,Adder3.Adder2.XOR.G2.delayTime,Adder3.Adder2.XOR.G2.lh,Adder3.Adder2.XOR.G2.y_old,$whenCondition14,$whenCondition13,Adder3.Adder2.XOR.G2.x,Adder3.Adder2.AND.G2.y,Adder3.Adder2.AND.G2.y_auxiliary,Adder3.Adder2.AND.G2.t_next,Adder3.Adder2.AND.G2.delayTime,Adder3.Adder2.AND.G2.lh,Adder3.Adder2.AND.G2.y_old,$whenCondition16,$whenCondition15,Adder3.Adder2.AND.G2.x,Adder2.Adder1.XOR.G2.y,Adder2.Adder1.XOR.G2.y_auxiliary,Adder2.Adder1.XOR.G2.t_next,Adder2.Adder1.XOR.G2.delayTime,Adder2.Adder1.XOR.G2.lh,Adder2.Adder1.XOR.G2.y_old,$whenCondition18,$whenCondition17,Adder2.Adder1.XOR.G2.x,Adder2.Adder1.AND.G2.y,Adder2.Adder1.AND.G2.y_auxiliary,Adder2.Adder1.AND.G2.t_next,Adder2.Adder1.AND.G2.delayTime,Adder2.Adder1.AND.G2.lh,Adder2.Adder1.AND.G2.y_old,$whenCondition20,$whenCondition19,Adder2.Adder1.AND.G2.x,Adder2.Adder2.XOR.G2.y,Adder2.Adder2.XOR.G2.y_auxiliary,Adder2.Adder2.XOR.G2.t_next,Adder2.Adder2.XOR.G2.delayTime,Adder2.Adder2.XOR.G2.lh,Adder2.Adder2.XOR.G2.y_old,$whenCondition22,$whenCondition21,Adder2.Adder2.XOR.G2.x,Adder2.Adder2.AND.G2.y,Adder2.Adder2.AND.G2.y_auxiliary,Adder2.Adder2.AND.G2.t_next,Adder2.Adder2.AND.G2.delayTime,Adder2.Adder2.AND.G2.lh,Adder2.Adder2.AND.G2.y_old,$whenCondition24,$whenCondition23,Adder2.Adder2.AND.G2.x,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,$whenCondition26,$whenCondition25,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,$whenCondition28,$whenCondition27,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,$whenCondition30,$whenCondition29,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,$whenCondition32,$whenCondition31,Adder1.Adder2.AND.G2.x,Set.y,a4.y,a3.y,a2.y,a1.y,b3.y,b2.y,b1.y,b4.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 25 * 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 Backend phase and start with SimCode phase: time 0.001287/0.4855, allocations: 486.6 kB / 460.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006984/0.4925, allocations: 4.545 MB / 465 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4926, allocations: 1.062 kB / 465 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004413/0.497, allocations: 3.7 MB / 468.7 MB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006354/0.5034, allocations: 1.171 MB / 469.8 MB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/0.5272, allocations: 11.9 MB / 481.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007742/0.535, allocations: 2.948 MB / 484.7 MB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/0.5375, allocations: 0.6463 MB / 485.3 MB, free: 8.652 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5375, allocations: 4 kB / 485.3 MB, free: 8.648 MB / 398.1 MB Notification: Performance of Templates: time 0.04689/0.5844, allocations: 34.29 MB / 0.5075 GB, free: 5.84 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Adder4/Adder4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.Adder4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches