Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001053/0.001054, allocations: 190.4 kB / 8.137 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.073/1.073, allocations: 194.2 MB / 202.8 MB, free: 8.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001792/0.001792, allocations: 117.7 kB / 247.7 MB, free: 6.406 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.474e-06, allocations: 3.938 kB / 297.6 MB, free: 8.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07313/0.07316, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.2779, allocations: 76.29 MB / 418.3 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.2781, allocations: 70.86 kB / 418.4 MB, free: 18.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02781/0.3059, allocations: 15.91 MB / 434.3 MB, free: 6.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.306, allocations: 4 kB / 434.3 MB, free: 6.074 MB / 314.7 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.0004238/0.3064, allocations: 0.615 MB / 434.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3064, allocations: 8.031 kB / 435 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.3065, allocations: 35.62 kB / 435 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3068, allocations: 268 kB / 435.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3068, allocations: 4 kB / 435.3 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.3068, allocations: 8 kB / 435.3 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001283/0.307, allocations: 49.61 kB / 435.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3072, allocations: 117.9 kB / 435.4 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.3072, allocations: 2.156 kB / 435.4 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.3072, allocations: 4 kB / 435.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3072, allocations: 0 / 435.4 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.3078, allocations: 458.7 kB / 435.9 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3079, allocations: 92.48 kB / 436 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.3081, allocations: 84.81 kB / 436.1 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.3081, allocations: 0 / 436.1 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.3082, allocations: 180 kB / 436.2 MB, free: 4.191 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.3083, allocations: 0 / 436.2 MB, free: 4.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003241/0.3086, allocations: 201.6 kB / 436.4 MB, free: 4.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3086, allocations: 169 kB / 436.6 MB, free: 3.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.3091, allocations: 440.5 kB / 437 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.3091, allocations: 33.45 kB / 437.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.3091, allocations: 89.23 kB / 437.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.3092, allocations: 30.84 kB / 437.2 MB, free: 3.305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.3092, allocations: 4 kB / 437.2 MB, free: 3.301 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.923e-05/0.3093, allocations: 330.2 kB / 437.5 MB, free: 2.973 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-05/0.3094, allocations: 56.23 kB / 437.5 MB, free: 2.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.093e-05/0.3095, allocations: 56.47 kB / 437.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.3096, allocations: 39.3 kB / 437.6 MB, free: 2.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3096, allocations: 0 / 437.6 MB, free: 2.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002494/0.3098, allocations: 177.4 kB / 437.8 MB, free: 2.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.3098, allocations: 4 kB / 437.8 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3098, allocations: 6.625 kB / 437.8 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3099, allocations: 0 / 437.8 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.888e-05/0.3099, allocations: 7.906 kB / 437.8 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3099, allocations: 4 kB / 437.8 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.31, allocations: 11.98 kB / 437.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.3101, allocations: 52 kB / 437.9 MB, free: 2.648 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,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: 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.0001351/0.3102, allocations: 244.9 kB / 438.1 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.3103, allocations: 39.53 kB / 438.2 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.3104, allocations: 63 kB / 438.2 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3104, allocations: 0 / 438.2 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3104, allocations: 4 kB / 438.2 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3104, allocations: 4 kB / 438.2 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.311, allocations: 0.5693 MB / 438.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.311, allocations: 0 / 438.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-06/0.311, allocations: 0 / 438.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.311, allocations: 0 / 438.8 MB, free: 1.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.311, allocations: 12 kB / 438.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.311, allocations: 0 / 438.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.311, allocations: 0 / 438.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000303/0.3113, allocations: 328.2 kB / 439.1 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.3117, allocations: 254.7 kB / 439.4 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.3117, allocations: 7.938 kB / 439.4 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3119, allocations: 19.92 kB / 439.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.312, allocations: 23.66 kB / 439.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.3121, allocations: 64.06 kB / 439.5 MB, free: 1.109 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003479/0.3124, allocations: 372.2 kB / 439.9 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.3127, allocations: 39.91 kB / 439.9 MB, free: 0.7695 MB / 314.7 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) * 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.0001288/0.3129, allocations: 114.7 kB / 440 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.3132, allocations: 257.8 kB / 440.3 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3132, allocations: 0 / 440.3 MB, free: 444 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.3134, allocations: 263.2 kB / 440.5 MB, free: 236 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/0.3139, allocations: 96.52 kB / 440.6 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.3148, allocations: 0.5059 MB / 441.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.3153, allocations: 0.8214 MB / 442 MB, free: 14.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3153, allocations: 0 / 442 MB, free: 14.84 MB / 330.7 MB Notification: Performance of Templates: time 0.006839/0.3221, allocations: 3.888 MB / 445.8 MB, free: 10.89 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1)