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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [: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.1+maint.om/package.mo): time 0.00387/0.003869, allocations: 174.8 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.235/1.235, allocations: 170.6 MB / 178.4 MB, free: 15.4 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00166/0.00166, allocations: 119.8 kB / 217.7 MB, free: 8.152 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.393e-06/7.423e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08286/0.08289, allocations: 38.76 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2535/0.3365, allocations: 70.98 MB / 371.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3367, allocations: 65.28 kB / 371.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.03214/0.3689, allocations: 15.9 MB / 387.4 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.369, allocations: 8 kB / 387.5 MB, free: 0.7031 MB / 266.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.0006558/0.3696, allocations: 0.6188 MB / 388.1 MB, free: 36 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3697, allocations: 8.031 kB / 388.1 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3698, allocations: 39.52 kB / 388.1 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3701, allocations: 256.3 kB / 388.4 MB, free: 15.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.3702, allocations: 7.906 kB / 388.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3702, allocations: 11.98 kB / 388.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001541/0.3704, allocations: 57.3 kB / 388.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.3706, allocations: 111.6 kB / 388.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3706, allocations: 4 kB / 388.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.3706, allocations: 8 kB / 388.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3706, allocations: 7.922 kB / 388.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.3713, allocations: 439.7 kB / 389 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3715, allocations: 95.19 kB / 389.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3716, allocations: 74.03 kB / 389.2 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.3716, allocations: 4 kB / 389.2 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.3718, allocations: 187.4 kB / 389.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3718, allocations: 0 / 389.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003708/0.3722, allocations: 192.3 kB / 389.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.3723, allocations: 161.5 kB / 389.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005361/0.3729, allocations: 462.5 kB / 390.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.3729, allocations: 29.7 kB / 390.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.373, allocations: 84.77 kB / 390.3 MB, free: 13.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.373, allocations: 35.38 kB / 390.3 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.647e-05/0.3731, allocations: 4 kB / 390.3 MB, free: 13.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3732, allocations: 325.9 kB / 390.6 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.3733, allocations: 49.3 kB / 390.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.3734, allocations: 48.88 kB / 390.7 MB, free: 13.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.3735, allocations: 47.45 kB / 390.8 MB, free: 13.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3735, allocations: 7.906 kB / 390.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000271/0.3738, allocations: 173.4 kB / 390.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3738, allocations: 8 kB / 390.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3738, allocations: 0 / 390.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3738, allocations: 0 / 390.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.825e-05/0.3739, allocations: 0 / 390.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3739, allocations: 0 / 390.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.374, allocations: 11.91 kB / 391 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/0.3741, allocations: 63.86 kB / 391 MB, free: 13.28 MB / 282.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.00024/0.3744, allocations: 237.7 kB / 391.3 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/0.3744, allocations: 43.47 kB / 391.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3746, allocations: 70.66 kB / 391.4 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3746, allocations: 4.094 kB / 391.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3746, allocations: 3.938 kB / 391.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3746, allocations: 0 / 391.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.3753, allocations: 0.5646 MB / 391.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3753, allocations: 0 / 391.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.3753, allocations: 4 kB / 391.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3753, allocations: 0 / 391.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.3753, allocations: 20.05 kB / 392 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3753, allocations: 4 kB / 392 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3753, allocations: 0 / 392 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003748/0.3757, allocations: 312.5 kB / 392.3 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003441/0.3761, allocations: 254.9 kB / 392.5 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.3761, allocations: 15.75 kB / 392.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3763, allocations: 15.98 kB / 392.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3764, allocations: 27.89 kB / 392.6 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.3765, allocations: 59.75 kB / 392.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0003958/0.3769, allocations: 371.2 kB / 393 MB, free: 11.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002703/0.3772, allocations: 36 kB / 393 MB, free: 11.4 MB / 282.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.0001525/0.3774, allocations: 109.7 kB / 393.1 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.3777, allocations: 263 kB / 393.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3777, allocations: 0 / 393.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.3779, allocations: 267 kB / 393.7 MB, free: 10.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.3785, allocations: 99.31 kB / 393.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.3795, allocations: 0.5083 MB / 394.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005237/0.38, allocations: 0.8284 MB / 395.1 MB, free: 9.445 MB / 282.7 MB Notification: Performance of SimCode: time 2.3e-07/0.38, allocations: 4 kB / 395.1 MB, free: 9.441 MB / 282.7 MB Notification: Performance of Templates: time 0.006985/0.387, allocations: 3.882 MB / 399 MB, free: 5.477 MB / 282.7 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)