Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Adder4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Adder4,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Adder4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.Adder4,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Digital_Examples_Adder4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001343, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.397/1.397, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 59.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2656, allocations: 50.54 MB / 409.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.Adder4): time 0.006705/0.2723, allocations: 5.874 MB / 414.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004724/0.2771, allocations: 2.475 MB / 417.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.2777, allocations: 23.81 kB / 417.4 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000495/0.2782, allocations: 229.9 kB / 417.7 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006382/0.2789, allocations: 293.6 kB / 418 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.2805, allocations: 0.8468 MB / 418.8 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003095/0.2836, allocations: 2.87 MB / 421.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2847, allocations: 0.8905 MB / 422.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.2879, allocations: 2.873 MB / 425.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.2897, allocations: 1.311 MB / 426.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006444/0.2904, allocations: 300 kB / 427 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006036/0.291, allocations: 304 kB / 427.3 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001105/0.2921, allocations: 1.183 MB / 428.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.2943, allocations: 2.182 MB / 430.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007994/0.3023, allocations: 8.437 MB / 439.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3024, allocations: 0 / 439.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3024, allocations: 0 / 439.1 MB, free: 3.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.3025, allocations: 4 kB / 439.1 MB, free: 3.148 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.009987/0.3125, allocations: 6.418 MB / 445.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3126, allocations: 8.031 kB / 445.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004102/0.313, allocations: 210.8 kB / 445.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000925/0.3139, allocations: 0.5754 MB / 446.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002751/0.3167, allocations: 2.112 MB / 448.5 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.3169, allocations: 114.4 kB / 448.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.3172, allocations: 140.4 kB / 448.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.321, allocations: 2.006 MB / 450.7 MB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.3211, allocations: 4 kB / 450.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002437/0.3213, allocations: 75.98 kB / 450.8 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.3214, allocations: 24 kB / 450.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002764/0.3241, allocations: 1.344 MB / 452.2 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00995/0.3341, allocations: 5.767 MB / 457.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002886/0.337, allocations: 1.298 MB / 459.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.339, allocations: 1.015 MB / 460.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3392, allocations: 8.547 kB / 460.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003613/0.3428, allocations: 2.616 MB / 462.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=177): time 4.167e-06/0.3428, allocations: 0 / 462.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=177): time 0.009151/0.352, allocations: 4.959 MB / 467.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005385/0.3526, allocations: 0.8266 MB / 468.6 MB, free: 4.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/0.3664, allocations: 7.071 MB / 475.7 MB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009127/0.3673, allocations: 101.7 kB / 475.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.3681, allocations: 0.5317 MB / 476.4 MB, free: 12.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007387/0.3689, allocations: 401.2 kB / 476.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/0.3712, allocations: 1.304 MB / 478 MB, free: 11.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3713, allocations: 309.1 kB / 478.3 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001727/0.3731, allocations: 0.7917 MB / 479.1 MB, free: 10.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.375, allocations: 1.079 MB / 480.2 MB, free: 8.988 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004334/0.3794, allocations: 3.225 MB / 483.4 MB, free: 5.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/0.3794, allocations: 4 kB / 483.4 MB, free: 5.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006639/0.386, allocations: 3.899 MB / 487.3 MB, free: 1.305 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006127/0.3867, allocations: 0.8382 MB / 488.2 MB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3867, allocations: 8 kB / 488.2 MB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.3867, allocations: 12 kB / 488.2 MB, free: 300 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.3869, allocations: 107.8 kB / 488.3 MB, free: 192 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.319e-05/0.387, allocations: 23.88 kB / 488.3 MB, free: 168 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3885, allocations: 148.1 kB / 488.5 MB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/0.3895, allocations: 0.9872 MB / 489.5 MB, free: 15.03 MB / 414.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.005146/0.3946, allocations: 3.501 MB / 493 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.3957, allocations: 0.5397 MB / 493.5 MB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.3977, allocations: 0.9187 MB / 494.4 MB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.3978, allocations: 8 kB / 494.4 MB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.3978, allocations: 3.938 kB / 494.4 MB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3978, allocations: 3.984 kB / 494.4 MB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.4043, allocations: 3.948 MB / 498.4 MB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4044, allocations: 0 / 498.4 MB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.4046, allocations: 79.89 kB / 498.5 MB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.4046, allocations: 4 kB / 498.5 MB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005876/0.4052, allocations: 219.8 kB / 498.7 MB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.4052, allocations: 4 kB / 498.7 MB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4052, allocations: 3.938 kB / 498.7 MB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008265/0.4135, allocations: 4.725 MB / 0.4916 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007758/0.4213, allocations: 4.19 MB / 0.4957 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009798/0.4223, allocations: 188 kB / 0.4959 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.4235, allocations: 115.9 kB / 0.496 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006571/0.4242, allocations: 288.2 kB / 0.4963 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00118/0.4254, allocations: 1.007 MB / 0.4973 GB, free: 10.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0103/0.4357, allocations: 5.098 MB / 0.5022 GB, free: 5.781 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4357, allocations: 4 kB / 0.5022 GB, free: 5.777 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002688/0.4384, allocations: 0.6244 MB / 0.5029 GB, free: 5.152 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.009141/0.4476, allocations: 5.651 MB / 0.5084 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006508/0.4541, allocations: 4.561 MB / 0.5128 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4542, allocations: 0 / 0.5128 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.4589, allocations: 3.696 MB / 0.5164 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005185/0.4641, allocations: 1.272 MB / 0.5177 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2437/0.7078, allocations: 26.21 MB / 0.5433 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003876/0.7117, allocations: 2.958 MB / 0.5462 GB, free: 121.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0024/0.7141, allocations: 1.388 MB / 0.5475 GB, free: 120.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/0.7155, allocations: 0.8788 MB / 0.5484 GB, free: 119.7 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.7155, allocations: 3.906 kB / 0.5484 GB, free: 119.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0898/0.8053, allocations: 64.92 MB / 0.6118 GB, free: 59.72 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.85, allocations: 22.56 kB / 0.6118 GB, free: 59.7 MB / 462.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Adder4.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Adder4.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Adder4.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Adder4.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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_1_0-beta_om_Modelica_Electrical_Digital_Examples_Adder4.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.Adder4.pipe 2>&1)