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.00939/0.00939, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001554/0.001554, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.785/1.785, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.001308/0.001308, allocations: 47.94 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 46.61 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.0046/0.1479, allocations: 1.512 MB / 374.7 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002695/0.1507, allocations: 0.8895 MB / 375.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.1508, allocations: 0 / 375.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1511, allocations: 19.86 kB / 375.6 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.1512, allocations: 15.84 kB / 375.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1516, allocations: 43.89 kB / 375.6 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.1518, allocations: 147.7 kB / 375.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.152, allocations: 20.22 kB / 375.8 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007881/0.1528, allocations: 0.5654 MB / 376.4 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.153, allocations: 67.7 kB / 376.4 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.153, allocations: 12 kB / 376.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.542e-05/0.1531, allocations: 8 kB / 376.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.1532, allocations: 67.7 kB / 376.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.1534, allocations: 111.2 kB / 376.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.154, allocations: 370.7 kB / 377 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.154, allocations: 0 / 377 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.154, allocations: 4 kB / 377 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1541, allocations: 0 / 377 MB, free: 0.7148 MB / 318.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.3056/0.4597, allocations: 0.7174 MB / 377.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/0.4598, allocations: 13.58 kB / 377.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.46, allocations: 38.03 kB / 377.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.4606, allocations: 272.4 kB / 378 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.4606, allocations: 8.438 kB / 378 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.4607, allocations: 9.281 kB / 378 MB, free: 13.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.4612, allocations: 127.1 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.4613, allocations: 4.906 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.4613, allocations: 6.688 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.4613, allocations: 1.375 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000206/0.4615, allocations: 59.8 kB / 378.2 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.463, allocations: 464.5 kB / 378.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.4633, allocations: 95.27 kB / 378.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/0.4635, allocations: 88.3 kB / 378.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.4635, allocations: 7.328 kB / 378.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006946/0.4642, allocations: 207.2 kB / 379.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 4.879e-06/0.4643, allocations: 0 / 379.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001245/0.4655, allocations: 482.4 kB / 379.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.4657, allocations: 171.5 kB / 379.7 MB, free: 12.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.4669, allocations: 0.5163 MB / 380.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.467, allocations: 30.34 kB / 380.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4671, allocations: 96.5 kB / 380.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.4672, allocations: 30.47 kB / 380.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/0.4674, allocations: 84.88 kB / 380.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4676, allocations: 325.6 kB / 380.8 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.4678, allocations: 61.97 kB / 380.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.4681, allocations: 76.09 kB / 380.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.4686, allocations: 343.6 kB / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.4686, allocations: 1.438 kB / 381.3 MB, free: 11.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008132/0.4694, allocations: 388 kB / 381.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.4696, allocations: 128.1 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4696, allocations: 6.531 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.4697, allocations: 1.094 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.504e-05/0.4697, allocations: 1.781 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.4698, allocations: 1.219 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.47, allocations: 11 kB / 381.8 MB, free: 11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4702, allocations: 62.36 kB / 381.8 MB, free: 11 MB / 318.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.0006438/0.4708, allocations: 367.7 kB / 382.2 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.4709, allocations: 38.08 kB / 382.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.4711, allocations: 60.38 kB / 382.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4711, allocations: 5.312 kB / 382.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4711, allocations: 0 / 382.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4711, allocations: 0.75 kB / 382.3 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.4728, allocations: 0.8293 MB / 383.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4728, allocations: 0 / 383.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-05/0.4728, allocations: 4.422 kB / 383.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4728, allocations: 0.75 kB / 383.1 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.4729, allocations: 13.28 kB / 383.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.4729, allocations: 0 / 383.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.4729, allocations: 5.906 kB / 383.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.4738, allocations: 0.5379 MB / 383.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.4743, allocations: 247.2 kB / 383.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.4744, allocations: 7.078 kB / 383.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.4746, allocations: 13.28 kB / 384 MB, free: 9.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.4747, allocations: 22.03 kB / 384 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/0.4748, allocations: 67.31 kB / 384 MB, free: 9.504 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007375/0.4756, allocations: 390.7 kB / 384.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4756, allocations: 0 / 384.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.4761, allocations: 41.97 kB / 384.5 MB, free: 9.297 MB / 318.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.000216/0.4763, allocations: 122 kB / 384.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008199/0.4771, allocations: 441.4 kB / 385 MB, free: 8.852 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4771, allocations: 0 / 385 MB, free: 8.852 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.4776, allocations: 379.3 kB / 385.4 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.4784, allocations: 121.3 kB / 385.5 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.4802, allocations: 0.6518 MB / 386.2 MB, free: 8.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.4807, allocations: 0.807 MB / 387 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.811e-05/0.4808, allocations: 12.95 kB / 387 MB, free: 7.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.4809, allocations: 12.06 kB / 387 MB, free: 7.355 MB / 318.1 MB Notification: Performance of SimCode: time 1.913e-06/0.4809, allocations: 0 / 387 MB, free: 7.355 MB / 318.1 MB Notification: Performance of Templates: time 0.01618/0.4971, allocations: 4.67 MB / 391.7 MB, free: 6.793 MB / 318.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)