Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_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_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001613/0.001613, allocations: 200.4 kB / 17.38 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0006373/0.0006374, allocations: 105.5 kB / 296.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.0002399, allocations: 4 kB / 356.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2046, allocations: 51.3 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Adder4): time 0.003382/0.208, allocations: 4.997 MB / 413 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.2111, allocations: 2.37 MB / 415.4 MB, free: 20.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003437/0.2115, allocations: 19.81 kB / 415.4 MB, free: 20.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2118, allocations: 150.7 kB / 415.6 MB, free: 20.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000394/0.2122, allocations: 208.1 kB / 415.8 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.2131, allocations: 466.3 kB / 416.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.2144, allocations: 2.132 MB / 418.4 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007857/0.2152, allocations: 0.8451 MB / 419.2 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.2172, allocations: 2.015 MB / 421.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009071/0.2181, allocations: 1.204 MB / 422.4 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.2185, allocations: 56 kB / 422.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.2188, allocations: 56 kB / 422.5 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.2194, allocations: 1.043 MB / 423.6 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.2205, allocations: 1.834 MB / 425.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003397/0.2239, allocations: 7.053 MB / 432.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2239, allocations: 0 / 432.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.224, allocations: 0 / 432.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.856e-05/0.2241, allocations: 0 / 432.5 MB, free: 3.184 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005951/0.23, allocations: 4.995 MB / 437.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.2301, allocations: 16.03 kB / 437.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.2312, allocations: 0.5373 MB / 438 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.2338, allocations: 2.071 MB / 440.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.2339, allocations: 122.4 kB / 440.2 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.2343, allocations: 140.4 kB / 440.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/0.2382, allocations: 1.995 MB / 442.3 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.2383, allocations: 3.938 kB / 442.3 MB, free: 8.984 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.2385, allocations: 79.97 kB / 442.4 MB, free: 8.906 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2386, allocations: 24 kB / 442.4 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002757/0.2413, allocations: 1.336 MB / 443.8 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009409/0.2508, allocations: 5.717 MB / 449.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.2534, allocations: 1.29 MB / 450.8 MB, free: 464 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.2552, allocations: 1.019 MB / 451.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.2553, allocations: 8.562 kB / 451.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003025/0.2584, allocations: 2.607 MB / 454.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=177): time 3.307e-06/0.2584, allocations: 0 / 454.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=177): time 0.008168/0.2666, allocations: 4.914 MB / 459.3 MB, free: 7.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003827/0.267, allocations: 0.8305 MB / 460.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01199/0.279, allocations: 7.082 MB / 467.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000612/0.2796, allocations: 101.7 kB / 467.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004705/0.2801, allocations: 487.6 kB / 467.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/0.2806, allocations: 387.3 kB / 468.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.2809, allocations: 51.98 kB / 468.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.281, allocations: 369.9 kB / 468.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.2827, allocations: 0.7955 MB / 469.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.2844, allocations: 1.075 MB / 470.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/0.2882, allocations: 3.205 MB / 473.7 MB, free: 8.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.2882, allocations: 4 kB / 473.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006089/0.2943, allocations: 3.883 MB / 477.6 MB, free: 4.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004465/0.2948, allocations: 0.8421 MB / 478.4 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.2948, allocations: 4 kB / 478.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2948, allocations: 12 kB / 478.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.295, allocations: 112.3 kB / 478.5 MB, free: 3.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.463e-05/0.295, allocations: 15.94 kB / 478.6 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/0.297, allocations: 298.8 kB / 478.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008865/0.2979, allocations: 0.9798 MB / 479.8 MB, free: 2.035 MB / 346.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,$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,Adder2.c_in,$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,$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,Adder3.c_in,$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,$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,Adder4.c_in,$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.00476/0.3027, allocations: 3.508 MB / 483.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/0.3034, allocations: 0.5135 MB / 483.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.3052, allocations: 0.9265 MB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3053, allocations: 4 kB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3053, allocations: 4 kB / 484.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.3053, allocations: 8.297 kB / 484.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005337/0.3106, allocations: 3.932 MB / 488.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3107, allocations: 0 / 488.7 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3108, allocations: 87.88 kB / 488.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3108, allocations: 3.938 kB / 488.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004014/0.3112, allocations: 215.9 kB / 489 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.3113, allocations: 8 kB / 489 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3113, allocations: 0 / 489 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/0.3185, allocations: 4.699 MB / 493.7 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006256/0.3247, allocations: 4.152 MB / 497.9 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007465/0.3255, allocations: 192 kB / 498.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.327, allocations: 219.5 kB / 498.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/0.3276, allocations: 312.2 kB / 498.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000921/0.3285, allocations: 0.9989 MB / 499.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008478/0.337, allocations: 5.113 MB / 0.4929 GB, free: 8.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3371, allocations: 0 / 0.4929 GB, free: 8.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002167/0.3392, allocations: 0.6202 MB / 0.4935 GB, free: 8.09 MB / 378.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.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 (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.0006818/0.3399, allocations: 484.3 kB / 0.4939 GB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005733/0.3457, allocations: 4.554 MB / 0.4984 GB, free: 2.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3457, allocations: 3.938 kB / 0.4984 GB, free: 2.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1582/0.5039, allocations: 3.686 MB / 0.502 GB, free: 90.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/0.5086, allocations: 1.1 MB / 0.5031 GB, free: 90.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.5242, allocations: 11.49 MB / 0.5143 GB, free: 84.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/0.5276, allocations: 2.954 MB / 0.5172 GB, free: 82.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/0.5295, allocations: 0.6487 MB / 0.5178 GB, free: 82.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5296, allocations: 0 / 0.5178 GB, free: 82.49 MB / 378.7 MB Notification: Performance of Templates: time 0.03584/0.5654, allocations: 34.15 MB / 0.5512 GB, free: 48.7 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4 --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Digital.Examples.Adder4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches