Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.00148/0.00148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001317/0.001318, allocations: 193.8 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001884/0.001884, allocations: 47.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3831, allocations: 46.63 MB / 324.8 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003773/0.387, allocations: 1.555 MB / 326.4 MB, free: 0.6719 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3893, allocations: 0.8817 MB / 327.3 MB, free: 4 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.3894, allocations: 1.156 kB / 327.3 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.3896, allocations: 13.34 kB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.3898, allocations: 23.5 kB / 327.3 MB, free: 15.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.3901, allocations: 35.23 kB / 327.4 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.3905, allocations: 143.2 kB / 327.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.3907, allocations: 28.95 kB / 327.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009563/0.3917, allocations: 0.5652 MB / 328.1 MB, free: 15.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3919, allocations: 70.8 kB / 328.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.796e-05/0.3919, allocations: 9.875 kB / 328.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.469e-05/0.392, allocations: 9.469 kB / 328.2 MB, free: 15.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.3921, allocations: 66.8 kB / 328.2 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.3923, allocations: 115 kB / 328.4 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005074/0.3928, allocations: 365.8 kB / 328.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.635e-05/0.3928, allocations: 3.984 kB / 328.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3929, allocations: 0 / 328.7 MB, free: 15.19 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3929, allocations: 1.062 kB / 328.7 MB, free: 15.19 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.001067/0.3939, allocations: 0.7212 MB / 329.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.394, allocations: 9.75 kB / 329.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.3941, allocations: 39.38 kB / 329.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.3946, allocations: 273.1 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.3946, allocations: 5.781 kB / 329.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3947, allocations: 11.12 kB / 329.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.3951, allocations: 130.4 kB / 329.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3951, allocations: 0 / 329.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3951, allocations: 4.312 kB / 329.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3952, allocations: 5.781 kB / 329.9 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.3953, allocations: 68.56 kB / 330 MB, free: 14.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.3963, allocations: 456.5 kB / 330.4 MB, free: 13.66 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3966, allocations: 100.1 kB / 330.5 MB, free: 13.6 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.3968, allocations: 89.48 kB / 330.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3968, allocations: 0 / 330.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/0.3974, allocations: 202.4 kB / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.3974, allocations: 0 / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.001123/0.3985, allocations: 473.8 kB / 331.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/0.3987, allocations: 173.5 kB / 331.4 MB, free: 12.9 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.3996, allocations: 0.5115 MB / 331.9 MB, free: 12.56 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.3996, allocations: 33.2 kB / 332 MB, free: 12.52 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.822e-05/0.3997, allocations: 102 kB / 332.1 MB, free: 12.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.3998, allocations: 26.58 kB / 332.1 MB, free: 12.41 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.4, allocations: 87.75 kB / 332.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4002, allocations: 325.7 kB / 332.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.4003, allocations: 55.06 kB / 332.6 MB, free: 12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4005, allocations: 77.19 kB / 332.6 MB, free: 11.96 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.4009, allocations: 346.5 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4009, allocations: 3.938 kB / 333 MB, free: 11.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005782/0.4015, allocations: 396.4 kB / 333.4 MB, free: 11.17 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.048e-05/0.4016, allocations: 126.8 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4016, allocations: 3.938 kB / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.4016, allocations: 0 / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.193e-05/0.4017, allocations: 128 / 333.5 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4017, allocations: 4 kB / 333.5 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.4018, allocations: 19.98 kB / 333.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.4019, allocations: 59.97 kB / 333.6 MB, free: 10.93 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,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003719/0.4023, allocations: 366.7 kB / 333.9 MB, free: 10.54 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.4024, allocations: 39.53 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.4025, allocations: 63.14 kB / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4025, allocations: 0 / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4025, allocations: 0 / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4026, allocations: 0 / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.4038, allocations: 0.8293 MB / 334.9 MB, free: 9.523 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4038, allocations: 4 kB / 334.9 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-06/0.4038, allocations: 0 / 334.9 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4038, allocations: 0 / 334.9 MB, free: 9.52 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.4038, allocations: 12 kB / 334.9 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4038, allocations: 3.984 kB / 334.9 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4039, allocations: 3.938 kB / 334.9 MB, free: 9.5 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.4046, allocations: 0.533 MB / 335.4 MB, free: 8.926 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.4049, allocations: 244.5 kB / 335.7 MB, free: 8.668 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.405, allocations: 12 kB / 335.7 MB, free: 8.656 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4051, allocations: 15.94 kB / 335.7 MB, free: 8.641 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.4053, allocations: 27.91 kB / 335.7 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/0.4054, allocations: 59.94 kB / 335.8 MB, free: 8.555 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0005091/0.4059, allocations: 390.9 kB / 336.2 MB, free: 8.176 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4059, allocations: 0 / 336.2 MB, free: 8.176 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.4062, allocations: 40 kB / 336.2 MB, free: 8.137 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 (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.0001937/0.4064, allocations: 123.1 kB / 336.3 MB, free: 8.008 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006208/0.4071, allocations: 437.5 kB / 336.7 MB, free: 7.531 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4071, allocations: 0 / 336.7 MB, free: 7.531 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.4074, allocations: 377.6 kB / 337.1 MB, free: 7.113 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.408, allocations: 108.4 kB / 337.2 MB, free: 7.008 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.4093, allocations: 0.7642 MB / 338 MB, free: 6.219 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.4098, allocations: 0.802 MB / 338.8 MB, free: 5.391 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.4099, allocations: 20.58 kB / 338.8 MB, free: 5.367 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.4099, allocations: 15.44 kB / 338.8 MB, free: 5.355 MB / 270.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4099, allocations: 3.938 kB / 338.8 MB, free: 5.352 MB / 270.1 MB Notification: Performance of Templates: time 0.008664/0.4186, allocations: 4.542 MB / 343.4 MB, free: 0.7148 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)