Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.FullAdder,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_FullAdder",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002643/0.002643, allocations: 186.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 90.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004017, allocations: 16 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 47.57 MB / 374.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.FullAdder): time 0.00667/0.1148, allocations: 4.123 MB / 378.8 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006476/0.1213, allocations: 2.122 MB / 380.9 MB, free: 9.066 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.1223, allocations: 19.88 kB / 380.9 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.1229, allocations: 135 kB / 381 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008016/0.1237, allocations: 151.5 kB / 381.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.1256, allocations: 395.3 kB / 381.6 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.1285, allocations: 1.07 MB / 382.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.1299, allocations: 0.5554 MB / 383.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/0.1328, allocations: 1.302 MB / 384.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.1348, allocations: 0.9939 MB / 385.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007624/0.1356, allocations: 40 kB / 385.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006038/0.1362, allocations: 40 kB / 385.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1374, allocations: 0.5726 MB / 386.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007447/0.1382, allocations: 444.4 kB / 386.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2743/0.4125, allocations: 4.347 MB / 390.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4126, allocations: 0 / 390.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4126, allocations: 0 / 390.9 MB, free: 11.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001257/0.4128, allocations: 1.344 kB / 390.9 MB, free: 11.14 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.007183/0.42, allocations: 2.385 MB / 393.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.42, allocations: 8.938 kB / 393.3 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001416/0.4215, allocations: 193.8 kB / 393.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/0.4224, allocations: 256.3 kB / 393.7 MB, free: 9.676 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.4255, allocations: 1.101 MB / 394.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.4258, allocations: 98.25 kB / 394.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007365/0.4265, allocations: 124.6 kB / 395.1 MB, free: 9.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007693/0.4342, allocations: 1.815 MB / 396.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.531e-05/0.4344, allocations: 0 / 396.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007921/0.4352, allocations: 56.56 kB / 396.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.76e-05/0.4353, allocations: 28.47 kB / 397 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.4499, allocations: 1.451 MB / 398.4 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02462/0.4745, allocations: 4.578 MB / 403 MB, free: 8.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006629/0.4812, allocations: 1.499 MB / 404.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004954/0.4818, allocations: 12.56 kB / 404.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004775/0.4865, allocations: 1.486 MB / 406 MB, free: 6.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=138): time 4.989e-06/0.4866, allocations: 3.172 kB / 406 MB, free: 6.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=138): time 0.01087/0.4975, allocations: 3.138 MB / 409.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.4977, allocations: 224.5 kB / 409.3 MB, free: 4.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005616/0.5033, allocations: 2.299 MB / 411.6 MB, free: 3.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001076/0.5044, allocations: 85.05 kB / 411.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.5049, allocations: 433.8 kB / 412.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.506, allocations: 319 kB / 412.5 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.5064, allocations: 34.59 kB / 412.5 MB, free: 2.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.5065, allocations: 370.4 kB / 412.9 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002861/0.5094, allocations: 0.6711 MB / 413.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003244/0.5127, allocations: 0.8549 MB / 414.4 MB, free: 1.613 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003258/0.516, allocations: 0.9008 MB / 415.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.516, allocations: 0 / 415.3 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009008/0.5251, allocations: 2.334 MB / 417.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.5254, allocations: 180.5 kB / 417.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.5254, allocations: 8.156 kB / 417.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/0.5254, allocations: 8 kB / 417.8 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.5264, allocations: 205.5 kB / 418 MB, free: 14.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.942e-05/0.5265, allocations: 8 kB / 418 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00326/0.5297, allocations: 222.4 kB / 418.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/0.532, allocations: 1.057 MB / 419.3 MB, free: 13.29 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 177 ($PRE.Adder1.Adder1.XOR.G2.y,$PRE.Adder1.Adder1.AND.G2.y,$PRE.Adder1.Adder2.XOR.G2.y,$PRE.Adder1.Adder2.AND.G2.y,$whenCondition1,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition9,$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,$whenCondition6,$whenCondition7,$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,$PRE.Adder1.OR.auxiliary_n,c_out.x[1],Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,$PRE.Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,$PRE.Counter.FF1.And2.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,$PRE.Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,$PRE.Counter.FF1.And4.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary[2],$PRE.Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,$PRE.Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.And1.y,$PRE.Counter.FF1.And1.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,$PRE.Counter.FF1.Not1.auxiliary,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,$PRE.Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,$PRE.Counter.FF2.And2.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,$PRE.Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,$PRE.Counter.FF2.And4.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary[2],$PRE.Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,$PRE.Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.And1.y,$PRE.Counter.FF2.And1.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,$PRE.Counter.FF2.Not1.auxiliary,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,$PRE.Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,$PRE.Counter.FF3.And2.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,$PRE.Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,$PRE.Counter.FF3.And4.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary[2],$PRE.Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,$PRE.Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.And1.y,$PRE.Counter.FF3.And1.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,$PRE.Counter.FF3.Not1.auxiliary,$whenCondition2,$whenCondition3,Adder1.Adder2.AND.G1.auxiliary_n,Adder1.Adder2.XOR.G1.auxiliary_n,Adder1.Adder1.AND.G1.auxiliary_n,$PRE.Adder1.Adder1.XOR.G1.auxiliary_n,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,Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],$PRE.Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor1.auxiliary_n,$PRE.Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.y,$PRE.Counter.FF1.And3.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],$PRE.Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,$PRE.Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.y,$PRE.Counter.FF2.And3.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],$PRE.Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,$PRE.Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.y,$PRE.Counter.FF3.And3.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,$PRE.CLK.t_i,CLK.t_i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 5 * 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.004562/0.5366, allocations: 1.286 MB / 420.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/0.5378, allocations: 211 kB / 420.8 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.5394, allocations: 315 kB / 421.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.5394, allocations: 12 kB / 421.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/0.5395, allocations: 0 / 421.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.168e-05/0.5395, allocations: 7.969 kB / 421.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007222/0.5467, allocations: 2.119 MB / 423.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.5468, allocations: 0 / 423.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.5479, allocations: 170.7 kB / 423.4 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.072e-05/0.548, allocations: 7.953 kB / 423.4 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009124/0.5489, allocations: 189.1 kB / 423.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.72e-05/0.5489, allocations: 8.062 kB / 423.6 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5489, allocations: 4 kB / 423.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009788/0.5587, allocations: 2.385 MB / 426 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004851/0.5636, allocations: 1.458 MB / 427.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/0.5649, allocations: 95.94 kB / 427.5 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002621/0.5676, allocations: 152.9 kB / 427.7 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/0.5688, allocations: 268.7 kB / 428 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002198/0.571, allocations: 1.057 MB / 429 MB, free: 3.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00456/0.5756, allocations: 1.594 MB / 430.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.5757, allocations: 0 / 430.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003321/0.579, allocations: 411.1 kB / 431 MB, free: 1.461 MB / 298.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: 130 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,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,c_out.x[1],Counter.count,Counter.FF1.RS1.Nor1.auxiliary[2],Counter.FF1.RS1.Nor1.auxiliary_n,Counter.FF1.RS1.Nor2.x[1],Counter.FF1.RS1.Nor2.x[2],Counter.FF1.RS1.Nor2.auxiliary[2],Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.TD1.x_delayed,Counter.FF1.RS2.Nor1.auxiliary[2],Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS2.Nor2.x[1],Counter.FF1.RS2.Nor2.x[2],Counter.FF1.RS2.Nor2.auxiliary[2],Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.TD1.x_delayed,Counter.FF1.And1.y,Counter.FF1.And1.auxiliary[2],Counter.FF1.And1.auxiliary_n,Counter.FF1.And2.x[1],Counter.FF1.And2.auxiliary[2],Counter.FF1.And2.auxiliary_n,Counter.FF1.And3.x[2],Counter.FF1.And3.y,Counter.FF1.And3.auxiliary_n,Counter.FF1.And4.x[1],Counter.FF1.And4.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF2.RS1.Nor1.auxiliary[2],Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF2.RS1.Nor2.x[1],Counter.FF2.RS1.Nor2.x[2],Counter.FF2.RS1.Nor2.auxiliary[2],Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.TD1.x_delayed,Counter.FF2.RS2.Nor1.auxiliary[2],Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS2.Nor2.x[1],Counter.FF2.RS2.Nor2.x[2],Counter.FF2.RS2.Nor2.auxiliary[2],Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.TD1.x_delayed,Counter.FF2.And1.y,Counter.FF2.And1.auxiliary[2],Counter.FF2.And1.auxiliary_n,Counter.FF2.And2.x[1],Counter.FF2.And2.auxiliary[2],Counter.FF2.And2.auxiliary_n,Counter.FF2.And3.x[2],Counter.FF2.And3.y,Counter.FF2.And3.auxiliary_n,Counter.FF2.And4.x[1],Counter.FF2.And4.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF3.RS1.Nor1.auxiliary[2],Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF3.RS1.Nor2.x[1],Counter.FF3.RS1.Nor2.x[2],Counter.FF3.RS1.Nor2.auxiliary[2],Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.TD1.x_delayed,Counter.FF3.RS2.Nor1.auxiliary[2],Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS2.Nor2.x[1],Counter.FF3.RS2.Nor2.x[2],Counter.FF3.RS2.Nor2.auxiliary[2],Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.TD1.x_delayed,Counter.FF3.And1.y,Counter.FF3.And1.auxiliary[2],Counter.FF3.And1.auxiliary_n,Counter.FF3.And2.x[1],Counter.FF3.And2.auxiliary[2],Counter.FF3.And2.auxiliary_n,Counter.FF3.And3.x[2],Counter.FF3.And3.y,Counter.FF3.And3.auxiliary_n,Counter.FF3.And4.x[1],Counter.FF3.And4.auxiliary_n,Counter.FF3.Not1.auxiliary,Enable.y,CLK.t_i) * Number of discrete states: 75 (Counter.FF3.Not1.auxiliary,Counter.FF3.And4.auxiliary_n,Counter.FF3.And3.auxiliary_n,Counter.FF3.And2.auxiliary_n,Counter.FF3.And1.auxiliary_n,Counter.FF3.RS2.TD1.x,Counter.FF3.RS2.Nor2.auxiliary_n,Counter.FF3.RS2.Nor1.auxiliary_n,Counter.FF3.RS1.TD1.x,Counter.FF3.RS1.Nor2.auxiliary_n,Counter.FF3.RS1.Nor1.auxiliary_n,Counter.FF2.Not1.auxiliary,Counter.FF2.And4.auxiliary_n,Counter.FF2.And3.auxiliary_n,Counter.FF2.And2.auxiliary_n,Counter.FF2.And1.auxiliary_n,Counter.FF2.RS2.TD1.x,Counter.FF2.RS2.Nor2.auxiliary_n,Counter.FF2.RS2.Nor1.auxiliary_n,Counter.FF2.RS1.TD1.x,Counter.FF2.RS1.Nor2.auxiliary_n,Counter.FF2.RS1.Nor1.auxiliary_n,Counter.FF1.Not1.auxiliary,Counter.FF1.And4.auxiliary_n,Counter.FF1.And3.auxiliary_n,Counter.FF1.And2.auxiliary_n,Counter.FF1.And1.auxiliary_n,Counter.FF1.RS2.TD1.x,Counter.FF1.RS2.Nor2.auxiliary_n,Counter.FF1.RS2.Nor1.auxiliary_n,Counter.FF1.RS1.TD1.x,Counter.FF1.RS1.Nor2.auxiliary_n,Counter.FF1.RS1.Nor1.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,Enable.y,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,$whenCondition3,$whenCondition2,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,$whenCondition5,$whenCondition4,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,$whenCondition7,$whenCondition6,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,$whenCondition9,$whenCondition8,Adder1.Adder2.AND.G2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 1 * 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.01166/0.5907, allocations: 3.174 MB / 434.2 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007942/0.5987, allocations: 2.25 MB / 436.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.5988, allocations: 3.938 kB / 436.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004916/0.6037, allocations: 1.481 MB / 437.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00662/0.6104, allocations: 0.8644 MB / 438.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03754/0.6479, allocations: 12.03 MB / 450.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.6508, allocations: 1.649 MB / 452.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008251/0.6591, allocations: 1.465 MB / 453.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.482e-06/0.6591, allocations: 0 / 453.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.434/4.093, allocations: 34.07 MB / 488 MB, free: 6.727 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_FullAdder_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Digital_Examples_FullAdder.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Electrical.Digital.Examples.FullAdder_res.mat does not exist to compare? outputFormat=mat