Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") [: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.001618/0.001618, allocations: 190 kB / 8.132 MB, free: 2.199 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.099/1.099, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.00175/0.00175, allocations: 115.3 kB / 247.7 MB, free: 6.434 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.071e-06, allocations: 0 / 297.6 MB, free: 8.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07101/0.07103, allocations: 44.49 MB / 342.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.2709, allocations: 76.29 MB / 418.3 MB, free: 18.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.2711, allocations: 63.34 kB / 418.4 MB, free: 18.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02787/0.299, allocations: 15.92 MB / 434.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.299, allocations: 4 kB / 434.3 MB, free: 6.133 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.0004309/0.2995, allocations: 0.6128 MB / 434.9 MB, free: 5.469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2995, allocations: 8.031 kB / 435 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.2996, allocations: 39.56 kB / 435 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.2999, allocations: 267 kB / 435.3 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2999, allocations: 4 kB / 435.3 MB, free: 5.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.2999, allocations: 8 kB / 435.3 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001251/0.3001, allocations: 52.3 kB / 435.3 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3002, allocations: 113.3 kB / 435.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3003, allocations: 0 / 435.4 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.3003, allocations: 7.984 kB / 435.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3003, allocations: 8 kB / 435.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.3009, allocations: 450 kB / 435.9 MB, free: 4.555 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.301, allocations: 88.5 kB / 436 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.853e-05/0.3011, allocations: 82.25 kB / 436 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-06/0.3011, allocations: 4 kB / 436.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.3013, allocations: 183.9 kB / 436.2 MB, free: 4.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.724e-06/0.3013, allocations: 3.938 kB / 436.2 MB, free: 4.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003188/0.3016, allocations: 190.9 kB / 436.4 MB, free: 4.082 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3017, allocations: 169.6 kB / 436.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004364/0.3021, allocations: 440.6 kB / 437 MB, free: 3.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3022, allocations: 33.33 kB / 437.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.3022, allocations: 92.64 kB / 437.1 MB, free: 3.391 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.3022, allocations: 39.12 kB / 437.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.3023, allocations: 0 / 437.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.3023, allocations: 326.1 kB / 437.5 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.3024, allocations: 55.8 kB / 437.6 MB, free: 2.996 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.114e-05/0.3025, allocations: 50.86 kB / 437.6 MB, free: 2.965 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.474e-05/0.3026, allocations: 42.83 kB / 437.6 MB, free: 2.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3026, allocations: 0 / 437.6 MB, free: 2.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002521/0.3028, allocations: 174.7 kB / 437.8 MB, free: 2.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.3029, allocations: 8 kB / 437.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3029, allocations: 0 / 437.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.3029, allocations: 4 kB / 437.8 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.745e-05/0.3029, allocations: 3.906 kB / 437.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.3029, allocations: 0 / 437.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3031, allocations: 8 kB / 437.8 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.374e-05/0.3031, allocations: 55.98 kB / 437.9 MB, free: 2.715 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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,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 () * 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.0001186/0.3032, allocations: 252.4 kB / 438.1 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.3033, allocations: 39.53 kB / 438.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.3034, allocations: 66.3 kB / 438.2 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3034, allocations: 0 / 438.2 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3034, allocations: 4 kB / 438.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3035, allocations: 0 / 438.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.304, allocations: 0.5635 MB / 438.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.304, allocations: 0 / 438.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-06/0.304, allocations: 0 / 438.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.304, allocations: 3.984 kB / 438.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.304, allocations: 19.56 kB / 438.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3041, allocations: 0 / 438.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3041, allocations: 0 / 438.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002928/0.3044, allocations: 324.6 kB / 439.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002859/0.3047, allocations: 253.9 kB / 439.4 MB, free: 1.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.3047, allocations: 11.56 kB / 439.4 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3049, allocations: 15.98 kB / 439.4 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.644e-05/0.305, allocations: 26.78 kB / 439.5 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/0.3051, allocations: 63.31 kB / 439.5 MB, free: 1.172 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003391/0.3054, allocations: 366.2 kB / 439.9 MB, free: 0.875 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003037/0.3057, allocations: 39.91 kB / 439.9 MB, free: 0.8359 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,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) * 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.0001188/0.3058, allocations: 114.4 kB / 440 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3062, allocations: 257.2 kB / 440.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3062, allocations: 0 / 440.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.3064, allocations: 272.8 kB / 440.5 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.3069, allocations: 94.17 kB / 440.6 MB, free: 212 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3079, allocations: 0.5082 MB / 441.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.3084, allocations: 0.8162 MB / 442 MB, free: 14.89 MB / 330.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3084, allocations: 0 / 442 MB, free: 14.89 MB / 330.7 MB Notification: Performance of Templates: time 0.006728/0.3152, allocations: 3.878 MB / 445.8 MB, free: 10.96 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)