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/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.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") [: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.003884/0.003884, allocations: 176.8 kB / 7.448 MB, free: 2.512 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.29/1.29, allocations: 170.6 MB / 178.4 MB, free: 15.42 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.001802/0.001802, allocations: 115.8 kB / 217.7 MB, free: 8.176 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.835e-06/7.864e-06, allocations: 4 kB / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08034, allocations: 38.76 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.3286, allocations: 70.98 MB / 371.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.3289, allocations: 66.2 kB / 371.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.03161/0.3605, allocations: 15.91 MB / 387.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3606, allocations: 4 kB / 387.5 MB, free: 0.6914 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.0006089/0.3612, allocations: 0.612 MB / 388.1 MB, free: 32 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3613, allocations: 15.97 kB / 388.1 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3614, allocations: 35.7 kB / 388.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3617, allocations: 260.4 kB / 388.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3618, allocations: 4 kB / 388.4 MB, free: 15.69 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.3618, allocations: 15.89 kB / 388.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.362, allocations: 45.42 kB / 388.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3622, allocations: 116.2 kB / 388.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3622, allocations: 0 / 388.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.3622, allocations: 4 kB / 388.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3622, allocations: 11.92 kB / 388.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000674/0.3629, allocations: 448.9 kB / 389 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.3631, allocations: 86.62 kB / 389.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3632, allocations: 75.66 kB / 389.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.3632, allocations: 4 kB / 389.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001994/0.3634, allocations: 190.8 kB / 389.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.3634, allocations: 0 / 389.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.00038/0.3638, allocations: 194.1 kB / 389.5 MB, free: 14.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.761e-05/0.3639, allocations: 165 kB / 389.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000531/0.3645, allocations: 446.9 kB / 390.1 MB, free: 14.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.3645, allocations: 32.89 kB / 390.2 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.3646, allocations: 92.39 kB / 390.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3646, allocations: 35.14 kB / 390.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.3646, allocations: 4 kB / 390.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3648, allocations: 321.3 kB / 390.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.3649, allocations: 53.48 kB / 390.7 MB, free: 13.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.431e-05/0.3649, allocations: 49 kB / 390.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.572e-05/0.365, allocations: 50.14 kB / 390.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3651, allocations: 0 / 390.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002809/0.3653, allocations: 171.3 kB / 390.9 MB, free: 13.35 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3654, allocations: 8 kB / 390.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3654, allocations: 4 kB / 390.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3654, allocations: 0 / 390.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.823e-05/0.3654, allocations: 0 / 390.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3654, allocations: 0 / 390.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/0.3656, allocations: 11.91 kB / 391 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.3657, allocations: 67.55 kB / 391 MB, free: 13.27 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,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.0002192/0.3659, allocations: 237.8 kB / 391.3 MB, free: 13.01 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.3659, allocations: 39.53 kB / 391.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.3661, allocations: 74.66 kB / 391.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3661, allocations: 112 / 391.4 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3661, allocations: 3.938 kB / 391.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3661, allocations: 0 / 391.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.3668, allocations: 0.5645 MB / 391.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3668, allocations: 0 / 391.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-06/0.3668, allocations: 4 kB / 391.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3668, allocations: 0 / 391.9 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.3668, allocations: 15.92 kB / 392 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3668, allocations: 8 kB / 392 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3668, allocations: 3.938 kB / 392 MB, free: 12.34 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003689/0.3672, allocations: 312.8 kB / 392.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.3676, allocations: 258.6 kB / 392.5 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.559e-05/0.3676, allocations: 11.94 kB / 392.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3678, allocations: 15.97 kB / 392.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.3679, allocations: 27.84 kB / 392.6 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/0.368, allocations: 59.12 kB / 392.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0004003/0.3684, allocations: 367.1 kB / 393 MB, free: 11.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000283/0.3687, allocations: 36 kB / 393 MB, free: 11.39 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,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.0001658/0.3689, allocations: 114.9 kB / 393.1 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003752/0.3693, allocations: 267.5 kB / 393.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3693, allocations: 0 / 393.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.3695, allocations: 259.2 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.0005247/0.3701, allocations: 98.73 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.00103/0.3711, allocations: 0.513 MB / 394.3 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.3717, allocations: 0.8283 MB / 395.1 MB, free: 9.438 MB / 282.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3717, allocations: 0 / 395.1 MB, free: 9.438 MB / 282.7 MB Notification: Performance of Templates: time 0.007287/0.379, allocations: 3.877 MB / 399 MB, free: 5.473 MB / 282.7 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)