Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.Adder4") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009886/0.0009887, allocations: 183.4 kB / 8.135 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 221.4 MB / 229.9 MB, free: 2.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 101.7 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.661e-06/5.701e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.191, allocations: 50.4 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08998/0.281, allocations: 85.8 MB / 472.7 MB, free: 1.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.2813, allocations: 69.69 kB / 472.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3656/0.6469, allocations: 138.6 MB / 0.5971 GB, free: 12.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001669/0.6471, allocations: 71.94 kB / 0.5972 GB, free: 12.04 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.006774/0.6539, allocations: 4.342 MB / 0.6014 GB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.6539, allocations: 12.03 kB / 0.6014 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.6553, allocations: 0.5441 MB / 0.6019 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/0.6593, allocations: 1.93 MB / 0.6038 GB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.6595, allocations: 76 kB / 0.6039 GB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007087/0.6602, allocations: 103.9 kB / 0.604 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002594/0.6628, allocations: 1.25 MB / 0.6052 GB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/0.6658, allocations: 1.807 MB / 0.607 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.6658, allocations: 0 / 0.607 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002449/0.6661, allocations: 39.97 kB / 0.607 GB, free: 1.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.6661, allocations: 24 kB / 0.607 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.6761, allocations: 5.543 MB / 0.6125 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.6783, allocations: 1.188 MB / 0.6136 GB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.6799, allocations: 0.9452 MB / 0.6145 GB, free: 9.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.68, allocations: 8.656 kB / 0.6146 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002525/0.6826, allocations: 2.211 MB / 0.6167 GB, free: 7.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=177): time 3.316e-06/0.6826, allocations: 4 kB / 0.6167 GB, free: 7.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=177): time 0.00413/0.6867, allocations: 2.321 MB / 0.619 GB, free: 5.094 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004012/0.6871, allocations: 0.8228 MB / 0.6198 GB, free: 4.105 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01156/0.6987, allocations: 5.936 MB / 0.6256 GB, free: 14.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006938/0.6994, allocations: 93.7 kB / 0.6257 GB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005015/0.6999, allocations: 367.6 kB / 0.626 GB, free: 13.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006537/0.7006, allocations: 379.4 kB / 0.6264 GB, free: 13.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.7008, allocations: 31.98 kB / 0.6264 GB, free: 13.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.701, allocations: 373.9 kB / 0.6268 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.7025, allocations: 0.7606 MB / 0.6275 GB, free: 12.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.704, allocations: 0.9301 MB / 0.6284 GB, free: 11.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.7052, allocations: 0.6938 MB / 0.6291 GB, free: 10.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.7052, allocations: 3.906 kB / 0.6291 GB, free: 10.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.003829/0.7091, allocations: 2.169 MB / 0.6312 GB, free: 8.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7091, allocations: 4 kB / 0.6312 GB, free: 8.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.7091, allocations: 12.02 kB / 0.6312 GB, free: 8.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.7092, allocations: 11.98 kB / 0.6312 GB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.7094, allocations: 103.8 kB / 0.6313 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7094, allocations: 11.91 kB / 0.6314 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/0.7115, allocations: 262.9 kB / 0.6316 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000896/0.7124, allocations: 0.9638 MB / 0.6326 GB, free: 6.977 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 229 ($whenCondition29,$whenCondition30,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$PRE.Adder1.Adder2.XOR.G2.x,Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G2.y,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,$PRE.Adder1.Adder1.XOR.G2.y,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,$PRE.Adder1.Adder2.AND.G2.y,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,$PRE.Adder1.Adder1.AND.G2.y,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,$PRE.Adder2.Adder2.XOR.G2.y,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,$PRE.Adder2.Adder1.XOR.G2.y,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,$PRE.Adder2.Adder2.AND.G2.y,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,$PRE.Adder2.Adder1.AND.G2.y,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,$PRE.Adder3.Adder2.XOR.G2.y,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,$PRE.Adder3.Adder1.XOR.G2.y,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,$PRE.Adder3.Adder2.AND.G2.y,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,$PRE.Adder3.Adder1.AND.G2.y,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,$PRE.Adder4.Adder2.XOR.G2.y,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,$PRE.Adder4.Adder1.XOR.G2.y,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,$PRE.Adder4.Adder2.AND.G2.y,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,$PRE.Adder4.Adder1.AND.G2.y,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 () * 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.001334/0.7137, allocations: 1.204 MB / 0.6337 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008781/0.7146, allocations: 0.5135 MB / 0.6342 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.7173, allocations: 0.9148 MB / 0.6351 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.7173, allocations: 4 kB / 0.6351 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.7173, allocations: 3.984 kB / 0.6351 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7173, allocations: 4 kB / 0.6351 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.7233, allocations: 3.727 MB / 0.6388 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.7233, allocations: 4 kB / 0.6388 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.7235, allocations: 83.89 kB / 0.6389 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.415e-06/0.7236, allocations: 4 kB / 0.6389 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005267/0.7241, allocations: 215.8 kB / 0.6391 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.7241, allocations: 0 / 0.6391 GB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7241, allocations: 3.938 kB / 0.6391 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004688/0.7288, allocations: 2.701 MB / 0.6417 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007587/0.7364, allocations: 4.226 MB / 0.6458 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/0.7375, allocations: 176 kB / 0.646 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/0.7392, allocations: 227.4 kB / 0.6462 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006683/0.7399, allocations: 300.3 kB / 0.6465 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009679/0.7409, allocations: 1.003 MB / 0.6475 GB, free: 7.387 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.008545/0.7494, allocations: 4.821 MB / 0.6522 GB, free: 2.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002064/0.7515, allocations: 500 kB / 0.6527 GB, free: 2.102 MB / 426.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) * 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.0007227/0.7523, allocations: 472.4 kB / 0.6531 GB, free: 1.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1124/0.8647, allocations: 2.819 MB / 0.6559 GB, free: 128.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8647, allocations: 1.875 kB / 0.6559 GB, free: 128.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.8673, allocations: 2.944 MB / 0.6587 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/0.8712, allocations: 1.037 MB / 0.6598 GB, free: 127.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.8844, allocations: 8.016 MB / 0.6676 GB, free: 125.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005718/0.8901, allocations: 4.248 MB / 0.6717 GB, free: 123.3 MB / 426.7 MB Notification: Performance of SimCode: time 9.01e-07/0.8901, allocations: 3.188 kB / 0.6717 GB, free: 123.3 MB / 426.7 MB Notification: Performance of Templates: time 0.05725/0.9474, allocations: 51.35 MB / 0.7219 GB, free: 111.4 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Adder4/Adder4.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches