Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001089/0.001089, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0006576/0.0006577, allocations: 10.66 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3826, allocations: 47.59 MB / 326.4 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001764/0.3844, allocations: 1.188 MB / 327.6 MB, free: 492 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3864, allocations: 0.8626 MB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.3865, allocations: 1 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.509e-05/0.3866, allocations: 9.078 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.3867, allocations: 11.45 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.387, allocations: 47.53 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3872, allocations: 59.84 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3873, allocations: 15.94 kB / 328.6 MB, free: 15.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.3879, allocations: 423.9 kB / 329 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.3881, allocations: 81.31 kB / 329.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.3881, allocations: 4.094 kB / 329.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.3882, allocations: 2.906 kB / 329.1 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.3883, allocations: 68.77 kB / 329.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.255e-05/0.3884, allocations: 68.14 kB / 329.3 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003183/0.3887, allocations: 291.8 kB / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3887, allocations: 1.188 kB / 329.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3887, allocations: 0 / 329.6 MB, free: 15.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.3887, allocations: 0 / 329.6 MB, free: 15.23 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.0007624/0.3895, allocations: 0.6601 MB / 330.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3895, allocations: 9.25 kB / 330.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3897, allocations: 33.84 kB / 330.3 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.39, allocations: 269.4 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3901, allocations: 9.719 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.3901, allocations: 7 kB / 330.5 MB, free: 14.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.3904, allocations: 133.6 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3905, allocations: 0 / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.3905, allocations: 4.062 kB / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3905, allocations: 0 / 330.7 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3907, allocations: 65.77 kB / 330.7 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.3914, allocations: 458 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.3917, allocations: 96.05 kB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3917, allocations: 1.031 kB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.3922, allocations: 209.8 kB / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.846e-06/0.3922, allocations: 0 / 331.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.00107/0.3933, allocations: 0.6298 MB / 332.1 MB, free: 13.03 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.3934, allocations: 164.8 kB / 332.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.3942, allocations: 0.5172 MB / 332.8 MB, free: 12.49 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.3943, allocations: 33.31 kB / 332.8 MB, free: 12.46 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3944, allocations: 97.05 kB / 332.9 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.3945, allocations: 38.62 kB / 333 MB, free: 12.33 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.3945, allocations: 6.719 kB / 333 MB, free: 12.33 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3947, allocations: 326.3 kB / 333.3 MB, free: 12 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.3948, allocations: 55.91 kB / 333.3 MB, free: 11.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.395, allocations: 75.31 kB / 333.4 MB, free: 11.93 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.3952, allocations: 163.4 kB / 333.6 MB, free: 11.78 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3952, allocations: 1.156 kB / 333.6 MB, free: 11.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006689/0.3959, allocations: 385.9 kB / 333.9 MB, free: 11.54 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.396, allocations: 129.8 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.396, allocations: 0 / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.396, allocations: 2.438 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.05e-05/0.3961, allocations: 0 / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3961, allocations: 1.062 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.3963, allocations: 13.98 kB / 334.1 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.3964, allocations: 57.19 kB / 334.1 MB, free: 11.39 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.nXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003733/0.3968, allocations: 371.8 kB / 334.5 MB, free: 11 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.3968, allocations: 47.47 kB / 334.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.397, allocations: 71.12 kB / 334.6 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.397, allocations: 0 / 334.6 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.397, allocations: 0 / 334.6 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.397, allocations: 0 / 334.6 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.398, allocations: 0.8212 MB / 335.4 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3981, allocations: 0 / 335.4 MB, free: 9.973 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.231e-06/0.3981, allocations: 4 kB / 335.4 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3981, allocations: 0 / 335.4 MB, free: 9.969 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.3981, allocations: 19.98 kB / 335.5 MB, free: 9.949 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3981, allocations: 0 / 335.5 MB, free: 9.949 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3981, allocations: 0 / 335.5 MB, free: 9.949 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.3988, allocations: 0.5294 MB / 336 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.3992, allocations: 248.4 kB / 336.2 MB, free: 9.117 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.579e-05/0.3992, allocations: 12 kB / 336.2 MB, free: 9.105 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.3994, allocations: 8 kB / 336.3 MB, free: 9.098 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.3995, allocations: 31.97 kB / 336.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.3996, allocations: 59.92 kB / 336.3 MB, free: 9.008 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000483/0.4001, allocations: 386.9 kB / 336.7 MB, free: 8.633 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4001, allocations: 0 / 336.7 MB, free: 8.633 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.4004, allocations: 48 kB / 336.8 MB, free: 8.586 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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 (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.0001922/0.4006, allocations: 119.3 kB / 336.9 MB, free: 8.461 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.4011, allocations: 441.5 kB / 337.3 MB, free: 7.98 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4011, allocations: 0 / 337.3 MB, free: 7.98 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.4015, allocations: 377.6 kB / 337.7 MB, free: 7.562 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.402, allocations: 97.44 kB / 337.8 MB, free: 7.465 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4032, allocations: 0.7387 MB / 338.5 MB, free: 6.703 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4037, allocations: 0.8024 MB / 339.3 MB, free: 5.875 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.495e-05/0.4037, allocations: 8.656 kB / 339.3 MB, free: 5.863 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.4038, allocations: 11.44 kB / 339.3 MB, free: 5.855 MB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4038, allocations: 0 / 339.3 MB, free: 5.855 MB / 270.1 MB Notification: Performance of Templates: time 0.008181/0.4119, allocations: 4.063 MB / 343.4 MB, free: 1.699 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) Environment - environmentSimulation: