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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Adder4,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Adder4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Adder4,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Adder4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 112.8 kB / 17.06 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 200 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 51.92 kB / 350.8 MB, free: 3.742 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.371, allocations: 49.43 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Adder4): time 0.008135/0.3791, allocations: 5.846 MB / 406.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005314/0.3845, allocations: 2.452 MB / 408.5 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.3859, allocations: 23.81 kB / 408.6 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.3868, allocations: 229.9 kB / 408.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.389, allocations: 293.8 kB / 409.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.392, allocations: 0.8533 MB / 409.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00591/0.3979, allocations: 2.87 MB / 412.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.4, allocations: 0.8826 MB / 413.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00513/0.4051, allocations: 2.873 MB / 416.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003008/0.4082, allocations: 1.319 MB / 417.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009974/0.4092, allocations: 300 kB / 418.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009432/0.4102, allocations: 308 kB / 418.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001825/0.412, allocations: 1.179 MB / 419.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003336/0.4154, allocations: 2.182 MB / 421.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.429, allocations: 8.433 MB / 430.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.4291, allocations: 7.922 kB / 430.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4291, allocations: 0 / 430.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001488/0.4292, allocations: 4 kB / 430.3 MB, free: 10.68 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01601/0.4453, allocations: 6.414 MB / 436.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.4454, allocations: 8.031 kB / 436.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006756/0.4461, allocations: 210.8 kB / 436.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.4475, allocations: 0.5715 MB / 437.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/0.4523, allocations: 2.115 MB / 439.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.4526, allocations: 118.4 kB / 439.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005655/0.4532, allocations: 140.4 kB / 439.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007044/0.4602, allocations: 2.01 MB / 441.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.596e-05/0.4603, allocations: 0 / 441.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004063/0.4607, allocations: 75.97 kB / 441.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.759e-05/0.4608, allocations: 28 kB / 442 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005373/0.4662, allocations: 1.344 MB / 443.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.4806, allocations: 5.756 MB / 449.1 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002789/0.4835, allocations: 1.294 MB / 450.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.4855, allocations: 1.019 MB / 451.4 MB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.4857, allocations: 12.56 kB / 451.4 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00373/0.4894, allocations: 2.611 MB / 454 MB, free: 2.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=177): time 3.226e-06/0.4894, allocations: 3.938 kB / 454 MB, free: 2.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=177): time 0.01012/0.4996, allocations: 4.944 MB / 458.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006085/0.5002, allocations: 0.8266 MB / 459.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/0.5168, allocations: 7.075 MB / 466.8 MB, free: 5.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007213/0.5176, allocations: 97.7 kB / 466.9 MB, free: 5.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007422/0.5183, allocations: 0.5279 MB / 467.5 MB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/0.5193, allocations: 409.1 kB / 467.9 MB, free: 4.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002302/0.5216, allocations: 1.316 MB / 469.2 MB, free: 2.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5218, allocations: 301.1 kB / 469.5 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.5235, allocations: 0.7995 MB / 470.3 MB, free: 1.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.5255, allocations: 1.075 MB / 471.3 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.5299, allocations: 3.219 MB / 474.6 MB, free: 12.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.5299, allocations: 12 kB / 474.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006833/0.5368, allocations: 3.909 MB / 478.5 MB, free: 8.844 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006051/0.5374, allocations: 0.8309 MB / 479.3 MB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5374, allocations: 8 kB / 479.3 MB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.5375, allocations: 16 kB / 479.3 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.5377, allocations: 119.7 kB / 479.5 MB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.528e-05/0.5378, allocations: 19.92 kB / 479.5 MB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.5393, allocations: 147.6 kB / 479.6 MB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.5403, allocations: 0.9794 MB / 480.6 MB, free: 6.574 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 229 ($PRE.Adder4.Adder1.XOR.G2.y,$PRE.Adder4.Adder1.AND.G2.y,$PRE.Adder4.Adder2.XOR.G2.y,$PRE.Adder4.Adder2.AND.G2.y,$PRE.Adder3.Adder1.XOR.G2.y,$PRE.Adder3.Adder1.AND.G2.y,$PRE.Adder3.Adder2.XOR.G2.y,$PRE.Adder3.Adder2.AND.G2.y,$PRE.Adder2.Adder1.XOR.G2.y,$PRE.Adder2.Adder1.AND.G2.y,$PRE.Adder2.Adder2.XOR.G2.y,$PRE.Adder2.Adder2.AND.G2.y,$PRE.Adder1.Adder1.XOR.G2.y,$PRE.Adder1.Adder1.AND.G2.y,$PRE.Adder1.Adder2.XOR.G2.y,$PRE.Adder1.Adder2.AND.G2.y,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G2.x,$PRE.Adder1.Adder2.XOR.G1.auxiliary_n,$whenCondition30,$whenCondition29,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,a1.y,b1.y,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.x,$PRE.Adder1.Adder1.XOR.G2.x,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,Set.y,$whenCondition26,$whenCondition25,Adder1.OR.auxiliary_n,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G2.x,$PRE.Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G2.x,$PRE.Adder1.Adder2.AND.G1.auxiliary_n,$whenCondition32,$whenCondition31,$whenCondition28,$whenCondition27,Adder2.Adder2.XOR.G2.t_next,Adder2.Adder2.XOR.G2.lh,Adder2.Adder2.XOR.G2.y_old,Adder2.Adder2.XOR.G2.y_auxiliary,Adder2.Adder2.XOR.G2.delayTime,Adder2.Adder2.XOR.G2.y,Adder2.Adder2.XOR.G2.x,$PRE.Adder2.Adder2.XOR.G2.x,$PRE.Adder2.Adder2.XOR.G1.auxiliary_n,$whenCondition22,$whenCondition21,Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder1.AND.G1.auxiliary_n,a2.y,b2.y,Adder2.c_in,Adder2.Adder1.XOR.G2.t_next,Adder2.Adder1.XOR.G2.lh,Adder2.Adder1.XOR.G2.y_old,Adder2.Adder1.XOR.G2.y_auxiliary,Adder2.Adder1.XOR.G2.delayTime,Adder2.Adder1.XOR.G2.y,Adder2.Adder1.XOR.G2.x,$PRE.Adder2.Adder1.XOR.G2.x,$PRE.Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder2.XOR.G1.auxiliary_n,Adder2.Adder2.AND.G1.auxiliary_n,$PRE.Adder1.OR.auxiliary_n,$whenCondition18,$whenCondition17,Adder2.OR.auxiliary_n,Adder2.Adder1.AND.G2.t_next,Adder2.Adder1.AND.G2.lh,Adder2.Adder1.AND.G2.y_old,Adder2.Adder1.AND.G2.y_auxiliary,Adder2.Adder1.AND.G2.delayTime,Adder2.Adder1.AND.G2.y,Adder2.Adder1.AND.G2.x,$PRE.Adder2.Adder1.AND.G2.x,$PRE.Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder2.AND.G2.t_next,Adder2.Adder2.AND.G2.lh,Adder2.Adder2.AND.G2.y_old,Adder2.Adder2.AND.G2.y_auxiliary,Adder2.Adder2.AND.G2.delayTime,Adder2.Adder2.AND.G2.y,Adder2.Adder2.AND.G2.x,$PRE.Adder2.Adder2.AND.G2.x,$PRE.Adder2.Adder2.AND.G1.auxiliary_n,$whenCondition24,$whenCondition23,$whenCondition20,$whenCondition19,Adder3.Adder2.XOR.G2.t_next,Adder3.Adder2.XOR.G2.lh,Adder3.Adder2.XOR.G2.y_old,Adder3.Adder2.XOR.G2.y_auxiliary,Adder3.Adder2.XOR.G2.delayTime,Adder3.Adder2.XOR.G2.y,Adder3.Adder2.XOR.G2.x,$PRE.Adder3.Adder2.XOR.G2.x,$PRE.Adder3.Adder2.XOR.G1.auxiliary_n,$whenCondition14,$whenCondition13,Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder1.AND.G1.auxiliary_n,a3.y,b3.y,Adder3.c_in,Adder3.Adder1.XOR.G2.t_next,Adder3.Adder1.XOR.G2.lh,Adder3.Adder1.XOR.G2.y_old,Adder3.Adder1.XOR.G2.y_auxiliary,Adder3.Adder1.XOR.G2.delayTime,Adder3.Adder1.XOR.G2.y,Adder3.Adder1.XOR.G2.x,$PRE.Adder3.Adder1.XOR.G2.x,$PRE.Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder2.XOR.G1.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,$PRE.Adder2.OR.auxiliary_n,$whenCondition10,$whenCondition9,Adder3.OR.auxiliary_n,Adder3.Adder1.AND.G2.t_next,Adder3.Adder1.AND.G2.lh,Adder3.Adder1.AND.G2.y_old,Adder3.Adder1.AND.G2.y_auxiliary,Adder3.Adder1.AND.G2.delayTime,Adder3.Adder1.AND.G2.y,Adder3.Adder1.AND.G2.x,$PRE.Adder3.Adder1.AND.G2.x,$PRE.Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder2.AND.G2.t_next,Adder3.Adder2.AND.G2.lh,Adder3.Adder2.AND.G2.y_old,Adder3.Adder2.AND.G2.y_auxiliary,Adder3.Adder2.AND.G2.delayTime,Adder3.Adder2.AND.G2.y,Adder3.Adder2.AND.G2.x,$PRE.Adder3.Adder2.AND.G2.x,$PRE.Adder3.Adder2.AND.G1.auxiliary_n,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition11,Adder4.Adder2.XOR.G2.t_next,Adder4.Adder2.XOR.G2.lh,Adder4.Adder2.XOR.G2.y_old,Adder4.Adder2.XOR.G2.y_auxiliary,Adder4.Adder2.XOR.G2.delayTime,Adder4.Adder2.XOR.G2.y,Adder4.Adder2.XOR.G2.x,$PRE.Adder4.Adder2.XOR.G2.x,$PRE.Adder4.Adder2.XOR.G1.auxiliary_n,$whenCondition6,$whenCondition5,Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder1.AND.G1.auxiliary_n,a4.y,b4.y,Adder4.c_in,Adder4.Adder1.XOR.G2.t_next,Adder4.Adder1.XOR.G2.lh,Adder4.Adder1.XOR.G2.y_old,Adder4.Adder1.XOR.G2.y_auxiliary,Adder4.Adder1.XOR.G2.delayTime,Adder4.Adder1.XOR.G2.y,Adder4.Adder1.XOR.G2.x,$PRE.Adder4.Adder1.XOR.G2.x,$PRE.Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder2.XOR.G1.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,$PRE.Adder3.OR.auxiliary_n,$whenCondition2,$whenCondition1,Adder4.OR.auxiliary_n,Adder4.Adder1.AND.G2.t_next,Adder4.Adder1.AND.G2.lh,Adder4.Adder1.AND.G2.y_old,Adder4.Adder1.AND.G2.y_auxiliary,Adder4.Adder1.AND.G2.delayTime,Adder4.Adder1.AND.G2.y,Adder4.Adder1.AND.G2.x,$PRE.Adder4.Adder1.AND.G2.x,$PRE.Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder2.AND.G2.t_next,Adder4.Adder2.AND.G2.lh,Adder4.Adder2.AND.G2.y_old,Adder4.Adder2.AND.G2.y_auxiliary,Adder4.Adder2.AND.G2.delayTime,Adder4.Adder2.AND.G2.y,Adder4.Adder2.AND.G2.x,$PRE.Adder4.Adder2.AND.G2.x,$PRE.Adder4.Adder2.AND.G1.auxiliary_n,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition3,$PRE.Adder4.OR.auxiliary_n,Adder4.c_out) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 25 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005458/0.5458, allocations: 3.501 MB / 484.1 MB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009328/0.5467, allocations: 0.5397 MB / 484.6 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.5492, allocations: 0.9265 MB / 485.6 MB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5492, allocations: 8 kB / 485.6 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.5492, allocations: 3.938 kB / 485.6 MB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5493, allocations: 3.984 kB / 485.6 MB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.5558, allocations: 3.932 MB / 489.5 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5558, allocations: 4.359 kB / 489.5 MB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.556, allocations: 83.89 kB / 489.6 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.556, allocations: 7.984 kB / 489.6 MB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000507/0.5565, allocations: 215.9 kB / 489.8 MB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5566, allocations: 7.938 kB / 489.8 MB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5566, allocations: 3.938 kB / 489.8 MB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/0.5647, allocations: 4.725 MB / 494.6 MB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007124/0.5719, allocations: 4.182 MB / 498.7 MB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007656/0.5726, allocations: 188 kB / 498.9 MB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.5737, allocations: 127.9 kB / 499 MB, free: 3.676 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006461/0.5744, allocations: 284.3 kB / 499.3 MB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001044/0.5754, allocations: 0.9989 MB / 0.4886 GB, free: 2.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.009898/0.5853, allocations: 5.098 MB / 0.4936 GB, free: 13.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5854, allocations: 0 / 0.4936 GB, free: 13.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002606/0.588, allocations: 0.6244 MB / 0.4942 GB, free: 12.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 177 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition32,b4.y,b1.y,b2.y,b3.y,a1.y,a2.y,a3.y,a4.y,Set.y,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.AND.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.y_old,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.y_old,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder1.AND.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.y_old,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.y_old,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.t_next,Adder1.OR.auxiliary_n,Adder2.Adder2.AND.G1.auxiliary_n,Adder2.Adder2.AND.G2.x,Adder2.Adder2.AND.G2.y,Adder2.Adder2.AND.G2.delayTime,Adder2.Adder2.AND.G2.y_auxiliary,Adder2.Adder2.AND.G2.y_old,Adder2.Adder2.AND.G2.lh,Adder2.Adder2.AND.G2.t_next,Adder2.Adder2.XOR.G1.auxiliary_n,Adder2.Adder2.XOR.G2.x,Adder2.Adder2.XOR.G2.y,Adder2.Adder2.XOR.G2.delayTime,Adder2.Adder2.XOR.G2.y_auxiliary,Adder2.Adder2.XOR.G2.y_old,Adder2.Adder2.XOR.G2.lh,Adder2.Adder2.XOR.G2.t_next,Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder1.AND.G2.x,Adder2.Adder1.AND.G2.y,Adder2.Adder1.AND.G2.delayTime,Adder2.Adder1.AND.G2.y_auxiliary,Adder2.Adder1.AND.G2.y_old,Adder2.Adder1.AND.G2.lh,Adder2.Adder1.AND.G2.t_next,Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder1.XOR.G2.x,Adder2.Adder1.XOR.G2.y,Adder2.Adder1.XOR.G2.delayTime,Adder2.Adder1.XOR.G2.y_auxiliary,Adder2.Adder1.XOR.G2.y_old,Adder2.Adder1.XOR.G2.lh,Adder2.Adder1.XOR.G2.t_next,Adder2.c_in,Adder2.OR.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,Adder3.Adder2.AND.G2.x,Adder3.Adder2.AND.G2.y,Adder3.Adder2.AND.G2.delayTime,Adder3.Adder2.AND.G2.y_auxiliary,Adder3.Adder2.AND.G2.y_old,Adder3.Adder2.AND.G2.lh,Adder3.Adder2.AND.G2.t_next,Adder3.Adder2.XOR.G1.auxiliary_n,Adder3.Adder2.XOR.G2.x,Adder3.Adder2.XOR.G2.y,Adder3.Adder2.XOR.G2.delayTime,Adder3.Adder2.XOR.G2.y_auxiliary,Adder3.Adder2.XOR.G2.y_old,Adder3.Adder2.XOR.G2.lh,Adder3.Adder2.XOR.G2.t_next,Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder1.AND.G2.x,Adder3.Adder1.AND.G2.y,Adder3.Adder1.AND.G2.delayTime,Adder3.Adder1.AND.G2.y_auxiliary,Adder3.Adder1.AND.G2.y_old,Adder3.Adder1.AND.G2.lh,Adder3.Adder1.AND.G2.t_next,Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder1.XOR.G2.x,Adder3.Adder1.XOR.G2.y,Adder3.Adder1.XOR.G2.delayTime,Adder3.Adder1.XOR.G2.y_auxiliary,Adder3.Adder1.XOR.G2.y_old,Adder3.Adder1.XOR.G2.lh,Adder3.Adder1.XOR.G2.t_next,Adder3.c_in,Adder3.OR.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,Adder4.Adder2.AND.G2.x,Adder4.Adder2.AND.G2.y,Adder4.Adder2.AND.G2.delayTime,Adder4.Adder2.AND.G2.y_auxiliary,Adder4.Adder2.AND.G2.y_old,Adder4.Adder2.AND.G2.lh,Adder4.Adder2.AND.G2.t_next,Adder4.Adder2.XOR.G1.auxiliary_n,Adder4.Adder2.XOR.G2.x,Adder4.Adder2.XOR.G2.y,Adder4.Adder2.XOR.G2.delayTime,Adder4.Adder2.XOR.G2.y_auxiliary,Adder4.Adder2.XOR.G2.y_old,Adder4.Adder2.XOR.G2.lh,Adder4.Adder2.XOR.G2.t_next,Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder1.AND.G2.x,Adder4.Adder1.AND.G2.y,Adder4.Adder1.AND.G2.delayTime,Adder4.Adder1.AND.G2.y_auxiliary,Adder4.Adder1.AND.G2.y_old,Adder4.Adder1.AND.G2.lh,Adder4.Adder1.AND.G2.t_next,Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder1.XOR.G2.x,Adder4.Adder1.XOR.G2.y,Adder4.Adder1.XOR.G2.delayTime,Adder4.Adder1.XOR.G2.y_auxiliary,Adder4.Adder1.XOR.G2.y_old,Adder4.Adder1.XOR.G2.lh,Adder4.Adder1.XOR.G2.t_next,Adder4.c_in,Adder4.c_out,Adder4.OR.auxiliary_n) * Number of discrete states: 173 (Adder4.OR.auxiliary_n,Adder4.Adder1.XOR.G1.auxiliary_n,Adder4.Adder1.AND.G1.auxiliary_n,Adder4.Adder2.XOR.G1.auxiliary_n,Adder4.Adder2.AND.G1.auxiliary_n,Adder3.OR.auxiliary_n,Adder3.Adder1.XOR.G1.auxiliary_n,Adder3.Adder1.AND.G1.auxiliary_n,Adder3.Adder2.XOR.G1.auxiliary_n,Adder3.Adder2.AND.G1.auxiliary_n,Adder2.OR.auxiliary_n,Adder2.Adder1.XOR.G1.auxiliary_n,Adder2.Adder1.AND.G1.auxiliary_n,Adder2.Adder2.XOR.G1.auxiliary_n,Adder2.Adder2.AND.G1.auxiliary_n,Adder1.OR.auxiliary_n,Adder1.Adder1.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder2.AND.G1.auxiliary_n,Adder4.Adder1.XOR.G2.y,Adder4.Adder1.XOR.G2.y_auxiliary,Adder4.Adder1.XOR.G2.t_next,Adder4.Adder1.XOR.G2.delayTime,Adder4.Adder1.XOR.G2.lh,Adder4.Adder1.XOR.G2.y_old,$whenCondition2,$whenCondition1,Adder4.Adder1.XOR.G2.x,Adder4.Adder1.AND.G2.y,Adder4.Adder1.AND.G2.y_auxiliary,Adder4.Adder1.AND.G2.t_next,Adder4.Adder1.AND.G2.delayTime,Adder4.Adder1.AND.G2.lh,Adder4.Adder1.AND.G2.y_old,$whenCondition4,$whenCondition3,Adder4.Adder1.AND.G2.x,Adder4.Adder2.XOR.G2.y,Adder4.Adder2.XOR.G2.y_auxiliary,Adder4.Adder2.XOR.G2.t_next,Adder4.Adder2.XOR.G2.delayTime,Adder4.Adder2.XOR.G2.lh,Adder4.Adder2.XOR.G2.y_old,$whenCondition6,$whenCondition5,Adder4.Adder2.XOR.G2.x,Adder4.Adder2.AND.G2.y,Adder4.Adder2.AND.G2.y_auxiliary,Adder4.Adder2.AND.G2.t_next,Adder4.Adder2.AND.G2.delayTime,Adder4.Adder2.AND.G2.lh,Adder4.Adder2.AND.G2.y_old,$whenCondition8,$whenCondition7,Adder4.Adder2.AND.G2.x,Adder3.Adder1.XOR.G2.y,Adder3.Adder1.XOR.G2.y_auxiliary,Adder3.Adder1.XOR.G2.t_next,Adder3.Adder1.XOR.G2.delayTime,Adder3.Adder1.XOR.G2.lh,Adder3.Adder1.XOR.G2.y_old,$whenCondition10,$whenCondition9,Adder3.Adder1.XOR.G2.x,Adder3.Adder1.AND.G2.y,Adder3.Adder1.AND.G2.y_auxiliary,Adder3.Adder1.AND.G2.t_next,Adder3.Adder1.AND.G2.delayTime,Adder3.Adder1.AND.G2.lh,Adder3.Adder1.AND.G2.y_old,$whenCondition12,$whenCondition11,Adder3.Adder1.AND.G2.x,Adder3.Adder2.XOR.G2.y,Adder3.Adder2.XOR.G2.y_auxiliary,Adder3.Adder2.XOR.G2.t_next,Adder3.Adder2.XOR.G2.delayTime,Adder3.Adder2.XOR.G2.lh,Adder3.Adder2.XOR.G2.y_old,$whenCondition14,$whenCondition13,Adder3.Adder2.XOR.G2.x,Adder3.Adder2.AND.G2.y,Adder3.Adder2.AND.G2.y_auxiliary,Adder3.Adder2.AND.G2.t_next,Adder3.Adder2.AND.G2.delayTime,Adder3.Adder2.AND.G2.lh,Adder3.Adder2.AND.G2.y_old,$whenCondition16,$whenCondition15,Adder3.Adder2.AND.G2.x,Adder2.Adder1.XOR.G2.y,Adder2.Adder1.XOR.G2.y_auxiliary,Adder2.Adder1.XOR.G2.t_next,Adder2.Adder1.XOR.G2.delayTime,Adder2.Adder1.XOR.G2.lh,Adder2.Adder1.XOR.G2.y_old,$whenCondition18,$whenCondition17,Adder2.Adder1.XOR.G2.x,Adder2.Adder1.AND.G2.y,Adder2.Adder1.AND.G2.y_auxiliary,Adder2.Adder1.AND.G2.t_next,Adder2.Adder1.AND.G2.delayTime,Adder2.Adder1.AND.G2.lh,Adder2.Adder1.AND.G2.y_old,$whenCondition20,$whenCondition19,Adder2.Adder1.AND.G2.x,Adder2.Adder2.XOR.G2.y,Adder2.Adder2.XOR.G2.y_auxiliary,Adder2.Adder2.XOR.G2.t_next,Adder2.Adder2.XOR.G2.delayTime,Adder2.Adder2.XOR.G2.lh,Adder2.Adder2.XOR.G2.y_old,$whenCondition22,$whenCondition21,Adder2.Adder2.XOR.G2.x,Adder2.Adder2.AND.G2.y,Adder2.Adder2.AND.G2.y_auxiliary,Adder2.Adder2.AND.G2.t_next,Adder2.Adder2.AND.G2.delayTime,Adder2.Adder2.AND.G2.lh,Adder2.Adder2.AND.G2.y_old,$whenCondition24,$whenCondition23,Adder2.Adder2.AND.G2.x,Adder1.Adder1.XOR.G2.y,Adder1.Adder1.XOR.G2.y_auxiliary,Adder1.Adder1.XOR.G2.t_next,Adder1.Adder1.XOR.G2.delayTime,Adder1.Adder1.XOR.G2.lh,Adder1.Adder1.XOR.G2.y_old,$whenCondition26,$whenCondition25,Adder1.Adder1.XOR.G2.x,Adder1.Adder1.AND.G2.y,Adder1.Adder1.AND.G2.y_auxiliary,Adder1.Adder1.AND.G2.t_next,Adder1.Adder1.AND.G2.delayTime,Adder1.Adder1.AND.G2.lh,Adder1.Adder1.AND.G2.y_old,$whenCondition28,$whenCondition27,Adder1.Adder1.AND.G2.x,Adder1.Adder2.XOR.G2.y,Adder1.Adder2.XOR.G2.y_auxiliary,Adder1.Adder2.XOR.G2.t_next,Adder1.Adder2.XOR.G2.delayTime,Adder1.Adder2.XOR.G2.lh,Adder1.Adder2.XOR.G2.y_old,$whenCondition30,$whenCondition29,Adder1.Adder2.XOR.G2.x,Adder1.Adder2.AND.G2.y,Adder1.Adder2.AND.G2.y_auxiliary,Adder1.Adder2.AND.G2.t_next,Adder1.Adder2.AND.G2.delayTime,Adder1.Adder2.AND.G2.lh,Adder1.Adder2.AND.G2.y_old,$whenCondition32,$whenCondition31,Adder1.Adder2.AND.G2.x,Set.y,a4.y,a3.y,a2.y,a1.y,b3.y,b2.y,b1.y,b4.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 25 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008887/0.5969, allocations: 5.667 MB / 0.4997 GB, free: 6.816 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006352/0.6033, allocations: 4.549 MB / 0.5042 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6033, allocations: 1.062 kB / 0.5042 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004199/0.6075, allocations: 3.693 MB / 0.5078 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005041/0.6126, allocations: 1.27 MB / 0.509 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05011/0.6627, allocations: 26.21 MB / 0.5346 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1925/0.8553, allocations: 2.957 MB / 0.5375 GB, free: 130.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00271/0.858, allocations: 1.395 MB / 0.5389 GB, free: 129.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/0.8596, allocations: 0.8745 MB / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.8596, allocations: 0 / 0.5397 GB, free: 129.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08421/0.9438, allocations: 64.89 MB / 0.6031 GB, free: 73.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.953/10.9, allocations: 7.797 kB / 0.6031 GB, free: 73.04 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_Adder4.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/Adder4/Adder4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.Adder4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches