Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.0131/0.0131, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.767/1.767, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0007782/0.0007786, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3945, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002336/0.397, allocations: 1.222 MB / 328.2 MB, free: 444 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.3994, allocations: 0.9028 MB / 329.2 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.3995, allocations: 1.375 kB / 329.2 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.3996, allocations: 5.391 kB / 329.2 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.3998, allocations: 22.66 kB / 329.2 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.4001, allocations: 36.09 kB / 329.2 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.4004, allocations: 106.1 kB / 329.3 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4006, allocations: 24.3 kB / 329.3 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.4016, allocations: 0.5564 MB / 329.9 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.4018, allocations: 60.67 kB / 330 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.4018, allocations: 7.094 kB / 330 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.128e-05/0.4019, allocations: 4.188 kB / 330 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.402, allocations: 65.47 kB / 330 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.4022, allocations: 132.8 kB / 330.2 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004931/0.4027, allocations: 354.3 kB / 330.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4028, allocations: 3.938 kB / 330.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.4028, allocations: 1.188 kB / 330.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.4028, allocations: 0 / 330.5 MB, free: 14.97 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.0009244/0.4037, allocations: 0.6576 MB / 331.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.4038, allocations: 9.188 kB / 331.2 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.689e-05/0.4039, allocations: 35.62 kB / 331.2 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004031/0.4043, allocations: 276.9 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.4044, allocations: 5.938 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.4044, allocations: 7.5 kB / 331.5 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.4048, allocations: 138 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4048, allocations: 0 / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.4049, allocations: 3.938 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4049, allocations: 5.219 kB / 331.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.405, allocations: 57.53 kB / 331.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008096/0.4059, allocations: 471.9 kB / 332.2 MB, free: 13.47 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.4061, allocations: 100.7 kB / 332.3 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.4063, allocations: 88.42 kB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4063, allocations: 1.031 kB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00049/0.4068, allocations: 206.5 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.4068, allocations: 0 / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001322/0.4082, allocations: 477.7 kB / 333 MB, free: 12.9 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.4083, allocations: 165.2 kB / 333.2 MB, free: 12.71 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/0.4093, allocations: 0.5154 MB / 333.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.4093, allocations: 34.42 kB / 333.7 MB, free: 12.33 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.4094, allocations: 92.2 kB / 333.8 MB, free: 12.24 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.4095, allocations: 35.66 kB / 333.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.4095, allocations: 21.66 kB / 333.9 MB, free: 12.19 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.4098, allocations: 328.8 kB / 334.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.4099, allocations: 59.44 kB / 334.2 MB, free: 11.83 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.4101, allocations: 81.55 kB / 334.3 MB, free: 11.74 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.4105, allocations: 343.3 kB / 334.7 MB, free: 11.35 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4105, allocations: 0 / 334.7 MB, free: 11.35 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006476/0.4112, allocations: 388.8 kB / 335 MB, free: 10.94 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.4113, allocations: 130.8 kB / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4114, allocations: 0 / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4114, allocations: 0 / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.82e-05/0.4114, allocations: 0 / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4114, allocations: 0 / 335.2 MB, free: 10.79 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.4116, allocations: 20.12 kB / 335.2 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/0.4117, allocations: 59.88 kB / 335.2 MB, free: 10.71 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003966/0.4121, allocations: 362.8 kB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.157e-05/0.4122, allocations: 39.53 kB / 335.6 MB, free: 10.28 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.4123, allocations: 71.08 kB / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4124, allocations: 0 / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4124, allocations: 0 / 335.7 MB, free: 10.21 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.4124, allocations: 3.984 kB / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.4135, allocations: 0.8251 MB / 336.5 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4135, allocations: 0 / 336.5 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-06/0.4135, allocations: 0 / 336.5 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4135, allocations: 0 / 336.5 MB, free: 9.297 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.4136, allocations: 12 kB / 336.6 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4136, allocations: 0 / 336.6 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4136, allocations: 3.938 kB / 336.6 MB, free: 9.281 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/0.4143, allocations: 0.5411 MB / 337.1 MB, free: 8.699 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.4146, allocations: 248.4 kB / 337.3 MB, free: 8.438 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.4147, allocations: 16 kB / 337.4 MB, free: 8.422 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.4149, allocations: 15.98 kB / 337.4 MB, free: 8.406 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.415, allocations: 27.91 kB / 337.4 MB, free: 8.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/0.4151, allocations: 59.94 kB / 337.5 MB, free: 8.32 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005068/0.4156, allocations: 386.9 kB / 337.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4156, allocations: 0 / 337.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.4159, allocations: 48 kB / 337.9 MB, free: 7.898 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001738/0.4161, allocations: 117.6 kB / 338 MB, free: 7.773 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005934/0.4167, allocations: 433.5 kB / 338.4 MB, free: 7.301 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4167, allocations: 0 / 338.4 MB, free: 7.301 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.417, allocations: 381.6 kB / 338.8 MB, free: 6.879 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.4177, allocations: 97.47 kB / 338.9 MB, free: 6.781 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.419, allocations: 0.7623 MB / 339.6 MB, free: 5.996 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.4197, allocations: 0.8063 MB / 340.5 MB, free: 5.164 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.691e-05/0.4197, allocations: 12.66 kB / 340.5 MB, free: 5.148 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.4198, allocations: 11.44 kB / 340.5 MB, free: 5.141 MB / 270.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4198, allocations: 0 / 340.5 MB, free: 5.141 MB / 270.1 MB Notification: Performance of Templates: time 0.008632/0.4284, allocations: 4.143 MB / 344.6 MB, free: 0.9062 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)