Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 186.8 kB / 16.4 MB, free: 5.746 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.945/1.945, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001149/0.001149, allocations: 98.03 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3317, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1348/0.4665, allocations: 85.72 MB / 460.3 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.4668, allocations: 71.97 kB / 460.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6804/1.147, allocations: 138.8 MB / 0.5851 GB, free: 30.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.564e-06/1.147, allocations: 0 / 0.5851 GB, free: 30.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001815/1.148, allocations: 75.94 kB / 0.5852 GB, free: 30.88 MB / 378.7 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.0107/1.158, allocations: 5.127 MB / 0.5902 GB, free: 25.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/1.158, allocations: 12.03 kB / 0.5902 GB, free: 25.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/1.16, allocations: 0.5441 MB / 0.5907 GB, free: 24.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/1.165, allocations: 1.887 MB / 0.5926 GB, free: 23.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003232/1.166, allocations: 118 kB / 0.5927 GB, free: 22.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009585/1.167, allocations: 143.9 kB / 0.5928 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007835/1.174, allocations: 2.002 MB / 0.5948 GB, free: 20.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/1.174, allocations: 8 kB / 0.5948 GB, free: 20.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005547/1.175, allocations: 79.92 kB / 0.5949 GB, free: 20.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/1.175, allocations: 24 kB / 0.5949 GB, free: 20.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/1.18, allocations: 1.344 MB / 0.5962 GB, free: 19.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/1.197, allocations: 5.675 MB / 0.6018 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/1.201, allocations: 1.29 MB / 0.603 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/1.201, allocations: 4.562 kB / 0.603 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00564/1.207, allocations: 2.606 MB / 0.6056 GB, free: 9.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=177): time 6.502e-06/1.207, allocations: 3.938 kB / 0.6056 GB, free: 9.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=177): time 0.01709/1.224, allocations: 6.205 MB / 0.6116 GB, free: 2.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004154/1.225, allocations: 0.8188 MB / 0.6124 GB, free: 1.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01842/1.243, allocations: 6.24 MB / 0.6185 GB, free: 11.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008461/1.244, allocations: 101.7 kB / 0.6186 GB, free: 11.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008054/1.245, allocations: 498.2 kB / 0.6191 GB, free: 10.94 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/1.246, allocations: 395.1 kB / 0.6195 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/1.247, allocations: 44 kB / 0.6195 GB, free: 10.51 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002513/1.247, allocations: 378.8 kB / 0.6199 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00349/1.25, allocations: 0.7917 MB / 0.6206 GB, free: 9.344 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/1.254, allocations: 1.071 MB / 0.6217 GB, free: 8.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/1.258, allocations: 1.54 MB / 0.6232 GB, free: 6.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-05/1.258, allocations: 4 kB / 0.6232 GB, free: 6.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01251/1.271, allocations: 3.719 MB / 0.6268 GB, free: 2.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001488/1.272, allocations: 0.8304 MB / 0.6276 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-05/1.273, allocations: 8 kB / 0.6276 GB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.758e-05/1.273, allocations: 16.47 kB / 0.6277 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/1.273, allocations: 115.8 kB / 0.6278 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.862e-05/1.273, allocations: 15.98 kB / 0.6278 GB, free: 1.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006917/1.28, allocations: 294.8 kB / 0.6281 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/1.283, allocations: 0.9895 MB / 0.629 GB, free: 192 kB / 394.7 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,$whenCondition29,$whenCondition30,$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,b1.y,a1.y,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,$whenCondition25,$whenCondition26,Set.y,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,$PRE.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,$whenCondition27,$whenCondition28,$whenCondition31,$whenCondition32,$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,$whenCondition21,$whenCondition22,$PRE.Adder2.Adder2.XOR.G1.auxiliary_n,$PRE.Adder2.Adder2.XOR.G2.x,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,b2.y,a2.y,Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder1.XOR.G1.auxiliary_n,$whenCondition17,$whenCondition18,Adder1.c_out,$PRE.Adder1.OR.auxiliary_n,Adder2.Adder2.AND.G1.auxiliary_n,Adder2.Adder2.XOR.G1.auxiliary_n,$PRE.Adder2.Adder1.XOR.G1.auxiliary_n,$PRE.Adder2.Adder1.XOR.G2.x,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,$whenCondition19,$whenCondition20,$whenCondition23,$whenCondition24,$PRE.Adder2.Adder2.AND.G1.auxiliary_n,$PRE.Adder2.Adder2.AND.G2.x,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,$PRE.Adder2.Adder1.AND.G1.auxiliary_n,$PRE.Adder2.Adder1.AND.G2.x,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.OR.auxiliary_n,$whenCondition13,$whenCondition14,$PRE.Adder3.Adder2.XOR.G1.auxiliary_n,$PRE.Adder3.Adder2.XOR.G2.x,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,b3.y,a3.y,Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder1.XOR.G1.auxiliary_n,$whenCondition9,$whenCondition10,Adder2.c_out,$PRE.Adder2.OR.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,Adder3.Adder2.XOR.G1.auxiliary_n,$PRE.Adder3.Adder1.XOR.G1.auxiliary_n,$PRE.Adder3.Adder1.XOR.G2.x,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,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition16,$PRE.Adder3.Adder2.AND.G1.auxiliary_n,$PRE.Adder3.Adder2.AND.G2.x,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,$PRE.Adder3.Adder1.AND.G1.auxiliary_n,$PRE.Adder3.Adder1.AND.G2.x,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.OR.auxiliary_n,$whenCondition5,$whenCondition6,$PRE.Adder4.Adder2.XOR.G1.auxiliary_n,$PRE.Adder4.Adder2.XOR.G2.x,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,b4.y,a4.y,Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder1.XOR.G1.auxiliary_n,$whenCondition1,$whenCondition2,Adder3.c_out,$PRE.Adder3.OR.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,Adder4.Adder2.XOR.G1.auxiliary_n,$PRE.Adder4.Adder1.XOR.G1.auxiliary_n,$PRE.Adder4.Adder1.XOR.G2.x,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,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$PRE.Adder4.Adder2.AND.G1.auxiliary_n,$PRE.Adder4.Adder2.AND.G2.x,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,$PRE.Adder4.Adder1.AND.G1.auxiliary_n,$PRE.Adder4.Adder1.AND.G2.x,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.OR.auxiliary_n,Adder4.c_out,$PRE.Adder4.OR.auxiliary_n) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008959/1.292, allocations: 3.497 MB / 0.6325 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/1.293, allocations: 0.5173 MB / 0.633 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/1.296, allocations: 0.9187 MB / 0.6339 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/1.297, allocations: 8 kB / 0.6339 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.297, allocations: 0 / 0.6339 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.297, allocations: 3.984 kB / 0.6339 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/1.31, allocations: 3.932 MB / 0.6377 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/1.31, allocations: 384 / 0.6377 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003258/1.31, allocations: 83.89 kB / 0.6378 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/1.31, allocations: 7.938 kB / 0.6378 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000943/1.311, allocations: 219.8 kB / 0.638 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/1.311, allocations: 7.938 kB / 0.638 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.311, allocations: 0 / 0.638 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/1.328, allocations: 4.57 MB / 0.6425 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2989/1.627, allocations: 4.162 MB / 0.6465 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/1.629, allocations: 185.5 kB / 0.6467 GB, free: 89.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003704/1.633, allocations: 223.4 kB / 0.6469 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/1.634, allocations: 307.1 kB / 0.6472 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001849/1.636, allocations: 1.003 MB / 0.6482 GB, free: 89.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01431/1.65, allocations: 5.111 MB / 0.6532 GB, free: 88.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.65, allocations: 0 / 0.6532 GB, free: 88.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003611/1.654, allocations: 0.5634 MB / 0.6537 GB, free: 88.44 MB / 410.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: 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.c_out,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_out,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_out,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_out,Adder4.OR.auxiliary_n) * Number of discrete states: 173 (Adder4.OR.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.XOR.G1.auxiliary_n,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.Adder1.AND.G1.auxiliary_n,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.XOR.G1.auxiliary_n,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,Adder4.Adder2.AND.G1.auxiliary_n,Adder3.OR.auxiliary_n,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.XOR.G1.auxiliary_n,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.Adder1.AND.G1.auxiliary_n,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.XOR.G1.auxiliary_n,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,Adder3.Adder2.AND.G1.auxiliary_n,Adder2.OR.auxiliary_n,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.XOR.G1.auxiliary_n,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.Adder1.AND.G1.auxiliary_n,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.XOR.G1.auxiliary_n,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,Adder2.Adder2.AND.G1.auxiliary_n,Adder1.OR.auxiliary_n,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.XOR.G1.auxiliary_n,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.Adder1.AND.G1.auxiliary_n,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.XOR.G1.auxiliary_n,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,Adder1.Adder2.AND.G1.auxiliary_n,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 (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.001529/1.655, allocations: 476.8 kB / 0.6542 GB, free: 88.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009437/1.665, allocations: 4.568 MB / 0.6587 GB, free: 86.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/1.665, allocations: 0 / 0.6587 GB, free: 86.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006338/1.671, allocations: 3.703 MB / 0.6623 GB, free: 85.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007774/1.679, allocations: 1.079 MB / 0.6633 GB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03297/1.712, allocations: 11.47 MB / 0.6745 GB, free: 80.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008616/1.721, allocations: 3.045 MB / 0.6775 GB, free: 78.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002976/1.724, allocations: 0.6462 MB / 0.6781 GB, free: 78.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/1.724, allocations: 0 / 0.6781 GB, free: 78.51 MB / 410.7 MB Notification: Performance of Templates: time 0.06289/1.787, allocations: 33.47 MB / 0.7108 GB, free: 68.08 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/Adder4/Adder4.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.Adder4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches