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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007222/0.007222, allocations: 166.5 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.263/1.263, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.001657/0.001657, allocations: 114.6 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004321/0.0004319, allocations: 11.98 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2285, allocations: 38.77 MB / 312.9 MB, free: 38.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3287, allocations: 71.81 MB / 384.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.329, allocations: 67.97 kB / 384.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03058/0.3595, allocations: 16.39 MB / 401.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3596, allocations: 0 / 401.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3596, allocations: 7.938 kB / 401.2 MB, free: 2.285 MB / 298.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.0007543/0.3604, allocations: 0.6683 MB / 401.8 MB, free: 1.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3604, allocations: 12.03 kB / 401.8 MB, free: 1.531 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.3605, allocations: 39.53 kB / 401.9 MB, free: 1.492 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.3609, allocations: 261.3 kB / 402.1 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.3609, allocations: 4 kB / 402.1 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.224e-05/0.361, allocations: 12 kB / 402.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.3613, allocations: 125.6 kB / 402.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.3613, allocations: 0 / 402.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.3613, allocations: 4 kB / 402.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.3613, allocations: 0 / 402.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3615, allocations: 67.89 kB / 402.3 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007258/0.3622, allocations: 464.5 kB / 402.8 MB, free: 488 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3624, allocations: 98.48 kB / 402.9 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.3624, allocations: 0 / 402.9 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002514/0.3627, allocations: 214.3 kB / 403.1 MB, free: 144 kB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3627, allocations: 0 / 403.1 MB, free: 144 kB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008338/0.3635, allocations: 0.6039 MB / 403.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/0.3636, allocations: 170.2 kB / 403.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.3642, allocations: 464.4 kB / 404.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3642, allocations: 29.7 kB / 404.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.3643, allocations: 97.12 kB / 404.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.3643, allocations: 23.72 kB / 404.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.3644, allocations: 8 kB / 404.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3645, allocations: 330.8 kB / 404.8 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3646, allocations: 55.97 kB / 404.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.3648, allocations: 77.61 kB / 404.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3649, allocations: 162.8 kB / 405.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3649, allocations: 4 kB / 405.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005183/0.3655, allocations: 368.3 kB / 405.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.192e-05/0.3656, allocations: 126.8 kB / 405.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3656, allocations: 0 / 405.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.3656, allocations: 0 / 405.6 MB, free: 13.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.112e-05/0.3656, allocations: 11.92 kB / 405.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3656, allocations: 0 / 405.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3657, allocations: 15.95 kB / 405.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.3658, allocations: 63.92 kB / 405.7 MB, free: 13.35 MB / 314.7 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,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003435/0.3662, allocations: 362.8 kB / 406 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.3662, allocations: 39.62 kB / 406.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.3663, allocations: 71.14 kB / 406.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.3664, allocations: 4 kB / 406.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3664, allocations: 0 / 406.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3664, allocations: 3.938 kB / 406.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/0.3674, allocations: 0.7981 MB / 406.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3674, allocations: 3.984 kB / 406.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-06/0.3674, allocations: 0 / 406.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3674, allocations: 4 kB / 406.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/0.3674, allocations: 12 kB / 407 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3674, allocations: 4 kB / 407 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3675, allocations: 4 kB / 407 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.368, allocations: 0.529 MB / 407.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.3684, allocations: 240.5 kB / 407.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3684, allocations: 12 kB / 407.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.3686, allocations: 11.91 kB / 407.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.3687, allocations: 35.89 kB / 407.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.3688, allocations: 59.94 kB / 407.8 MB, free: 11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004435/0.3692, allocations: 382.9 kB / 408.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3692, allocations: 0 / 408.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.3695, allocations: 48 kB / 408.3 MB, free: 10.58 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) * 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 (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.0001596/0.3697, allocations: 115 kB / 408.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004712/0.3701, allocations: 437.5 kB / 408.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3701, allocations: 0 / 408.8 MB, free: 9.977 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.3704, allocations: 377.8 kB / 409.2 MB, free: 9.559 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3709, allocations: 113.1 kB / 409.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009723/0.3718, allocations: 0.7322 MB / 410 MB, free: 8.691 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.3723, allocations: 0.8064 MB / 410.8 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.3723, allocations: 8.656 kB / 410.8 MB, free: 7.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.3724, allocations: 11.44 kB / 410.8 MB, free: 7.836 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.3724, allocations: 0 / 410.8 MB, free: 7.836 MB / 314.7 MB Notification: Performance of Templates: time 0.00649/0.3789, allocations: 4.063 MB / 414.9 MB, free: 3.691 MB / 314.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)