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.001465/0.001465, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.289/1.289, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001558/0.001557, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.44e-05, allocations: 4 kB / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06551/0.06554, allocations: 38.76 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2519/0.3175, allocations: 71.05 MB / 372 MB, free: 13.33 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.3178, allocations: 65.02 kB / 372.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03008/0.3479, allocations: 16.39 MB / 388.5 MB, free: 32 kB / 266.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3479, allocations: 0 / 388.5 MB, free: 32 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.3479, allocations: 11.94 kB / 388.5 MB, free: 20 kB / 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.0005392/0.3485, allocations: 0.6052 MB / 389.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3485, allocations: 12.03 kB / 389.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.3486, allocations: 35.53 kB / 389.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.3489, allocations: 262.5 kB / 389.4 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3489, allocations: 8 kB / 389.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.349, allocations: 4 kB / 389.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00012/0.3491, allocations: 51.23 kB / 389.5 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.3493, allocations: 116.5 kB / 389.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.3493, allocations: 4 kB / 389.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.3493, allocations: 4 kB / 389.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3493, allocations: 0 / 389.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005463/0.3499, allocations: 431.4 kB / 390 MB, free: 14.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.35, allocations: 91.11 kB / 390.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.3501, allocations: 83.02 kB / 390.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.3501, allocations: 0 / 390.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.3504, allocations: 205.8 kB / 390.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3504, allocations: 0 / 390.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004427/0.3508, allocations: 268.6 kB / 390.6 MB, free: 13.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.3509, allocations: 165.4 kB / 390.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/0.3514, allocations: 453.2 kB / 391.2 MB, free: 13.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3515, allocations: 33.58 kB / 391.3 MB, free: 13.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.3515, allocations: 92.27 kB / 391.4 MB, free: 13.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.3516, allocations: 34.64 kB / 391.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.3516, allocations: 4 kB / 391.4 MB, free: 13.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3517, allocations: 321.7 kB / 391.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.4e-05/0.3518, allocations: 58.84 kB / 391.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.3519, allocations: 62.66 kB / 391.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.875e-05/0.352, allocations: 37.55 kB / 391.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.352, allocations: 4 kB / 391.9 MB, free: 12.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003542/0.3523, allocations: 241.8 kB / 392.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.056e-05/0.3524, allocations: 126.3 kB / 392.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3524, allocations: 0 / 392.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3525, allocations: 0 / 392.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.77e-05/0.3525, allocations: 3.984 kB / 392.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.3525, allocations: 0 / 392.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.3526, allocations: 19.28 kB / 392.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.506e-05/0.3527, allocations: 55.94 kB / 392.3 MB, free: 12.35 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.0001769/0.3529, allocations: 256.2 kB / 392.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.3529, allocations: 35.62 kB / 392.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.353, allocations: 65.98 kB / 392.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.353, allocations: 0 / 392.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3531, allocations: 0 / 392.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3531, allocations: 3.938 kB / 392.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.3538, allocations: 0.6427 MB / 393.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3538, allocations: 0 / 393.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-06/0.3538, allocations: 0 / 393.3 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3539, allocations: 7.984 kB / 393.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3539, allocations: 12 kB / 393.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3539, allocations: 0 / 393.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3539, allocations: 3.984 kB / 393.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.3544, allocations: 401.8 kB / 393.7 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002743/0.3546, allocations: 243.2 kB / 394 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.3547, allocations: 11.69 kB / 394 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.3548, allocations: 19.89 kB / 394 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.355, allocations: 23.59 kB / 394 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.355, allocations: 63.8 kB / 394.1 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003829/0.3554, allocations: 371.8 kB / 394.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3554, allocations: 0 / 394.4 MB, free: 10.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.3557, allocations: 40 kB / 394.5 MB, free: 10.34 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.0001562/0.3558, allocations: 122.4 kB / 394.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.3562, allocations: 420.8 kB / 395 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3563, allocations: 4 kB / 395 MB, free: 9.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002532/0.3565, allocations: 363.4 kB / 395.4 MB, free: 9.516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.357, allocations: 100.8 kB / 395.5 MB, free: 9.434 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008288/0.3579, allocations: 0.5141 MB / 396 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.3583, allocations: 0.8121 MB / 396.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.731e-05/0.3583, allocations: 17.62 kB / 396.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.3584, allocations: 11.44 kB / 396.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3584, allocations: 0 / 396.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of Templates: time 0.006386/0.3648, allocations: 3.895 MB / 400.7 MB, free: 4.117 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)