Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.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 3.2.3+maint.om/package.mo", uses=false) 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 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: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001728/0.001728, allocations: 194.7 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 51.94 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4073, allocations: 46.63 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004642/0.4121, allocations: 1.571 MB / 326.2 MB, free: 0.7109 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.4145, allocations: 0.9181 MB / 327.2 MB, free: 20 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.4145, allocations: 0 / 327.2 MB, free: 20 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.4147, allocations: 7.922 kB / 327.2 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.4148, allocations: 7.438 kB / 327.2 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.4151, allocations: 50.7 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.4153, allocations: 109.2 kB / 327.3 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.4155, allocations: 24.91 kB / 327.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.4162, allocations: 374.2 kB / 327.7 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.4163, allocations: 66.39 kB / 327.8 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.4164, allocations: 5.469 kB / 327.8 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.419e-05/0.4164, allocations: 3.719 kB / 327.8 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.4166, allocations: 69.97 kB / 327.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.4168, allocations: 107.5 kB / 328 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.4173, allocations: 347.5 kB / 328.3 MB, free: 15.33 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.4173, allocations: 0 / 328.3 MB, free: 15.33 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4173, allocations: 0 / 328.3 MB, free: 15.33 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.649e-06/0.4173, allocations: 1.094 kB / 328.3 MB, free: 15.33 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001284/0.4186, allocations: 0.7233 MB / 329 MB, free: 14.63 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.877e-05/0.4187, allocations: 9.688 kB / 329 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.4188, allocations: 34.78 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.4193, allocations: 273.4 kB / 329.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.4194, allocations: 8.812 kB / 329.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.4194, allocations: 8.156 kB / 329.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.4199, allocations: 130.6 kB / 329.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.42, allocations: 3.938 kB / 329.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.42, allocations: 7.297 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.42, allocations: 1.188 kB / 329.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.4203, allocations: 61.14 kB / 329.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009506/0.4212, allocations: 451.4 kB / 330 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.4215, allocations: 94.42 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.4217, allocations: 88.25 kB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4217, allocations: 1.25 kB / 330.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005501/0.4223, allocations: 199.5 kB / 330.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.4223, allocations: 0 / 330.4 MB, free: 13.53 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009698/0.4233, allocations: 467.8 kB / 330.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.4234, allocations: 168.7 kB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008211/0.4243, allocations: 0.5167 MB / 331.5 MB, free: 12.7 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.4243, allocations: 30.53 kB / 331.5 MB, free: 12.67 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4244, allocations: 108.5 kB / 331.6 MB, free: 12.56 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.4245, allocations: 31.34 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.4247, allocations: 80.52 kB / 331.8 MB, free: 12.49 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.4249, allocations: 328.9 kB / 332.1 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4251, allocations: 54.88 kB / 332.1 MB, free: 12.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.4253, allocations: 74.84 kB / 332.2 MB, free: 12.09 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.4258, allocations: 343.8 kB / 332.5 MB, free: 11.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4258, allocations: 0 / 332.5 MB, free: 11.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007316/0.4266, allocations: 379 kB / 332.9 MB, free: 11.51 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.4267, allocations: 125.5 kB / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4267, allocations: 1.188 kB / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4268, allocations: 0 / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.199e-05/0.4268, allocations: 2.094 kB / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.4268, allocations: 0 / 333 MB, free: 11.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.427, allocations: 24.73 kB / 333.1 MB, free: 11.36 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-05/0.4271, allocations: 36 kB / 333.1 MB, free: 11.32 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0003859/0.4275, allocations: 366.2 kB / 333.5 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.431e-05/0.4275, allocations: 39.62 kB / 333.5 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4276, allocations: 71.14 kB / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4277, allocations: 0 / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4277, allocations: 0 / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4277, allocations: 0 / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4288, allocations: 0.8094 MB / 334.4 MB, free: 9.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4288, allocations: 4 kB / 334.4 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-06/0.4288, allocations: 192 / 334.4 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4288, allocations: 0 / 334.4 MB, free: 9.918 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4289, allocations: 19.98 kB / 334.4 MB, free: 9.898 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4289, allocations: 4 kB / 334.4 MB, free: 9.895 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.4289, allocations: 3.938 kB / 334.4 MB, free: 9.891 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.4295, allocations: 0.5135 MB / 334.9 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003293/0.4299, allocations: 248.4 kB / 335.2 MB, free: 9.074 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/0.43, allocations: 12 kB / 335.2 MB, free: 9.062 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.4301, allocations: 8 kB / 335.2 MB, free: 9.055 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.4302, allocations: 31.84 kB / 335.2 MB, free: 9.023 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.4303, allocations: 47.94 kB / 335.3 MB, free: 8.977 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005465/0.4308, allocations: 390.9 kB / 335.6 MB, free: 8.598 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4309, allocations: 0 / 335.6 MB, free: 8.598 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.4312, allocations: 40 kB / 335.7 MB, free: 8.559 MB / 270.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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.0002184/0.4314, allocations: 115 kB / 335.8 MB, free: 8.438 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.432, allocations: 437.5 kB / 336.2 MB, free: 7.961 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.432, allocations: 3.938 kB / 336.2 MB, free: 7.957 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.4324, allocations: 373.6 kB / 336.6 MB, free: 7.543 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.4331, allocations: 121.4 kB / 336.7 MB, free: 7.422 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.4344, allocations: 0.7569 MB / 337.5 MB, free: 6.641 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.435, allocations: 0.7953 MB / 338.3 MB, free: 5.82 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.942e-05/0.4351, allocations: 8.656 kB / 338.3 MB, free: 5.805 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.4351, allocations: 11.44 kB / 338.3 MB, free: 5.797 MB / 270.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4352, allocations: 0 / 338.3 MB, free: 5.797 MB / 270.1 MB Notification: Performance of Templates: time 0.008348/0.4435, allocations: 4.109 MB / 342.4 MB, free: 1.684 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1)