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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.001671, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002308/0.002308, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.1 MB / 222.4 MB, free: 4.59 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001739/0.00174, allocations: 63.86 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3675, allocations: 46.64 MB / 325.3 MB, free: 1.887 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003442/0.371, allocations: 1.49 MB / 326.8 MB, free: 0.7031 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3736, allocations: 0.8959 MB / 327.7 MB, free: 20 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.3738, allocations: 5.031 kB / 327.7 MB, free: 16 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.374, allocations: 8.984 kB / 327.7 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.3741, allocations: 11.28 kB / 327.7 MB, free: 0 / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3745, allocations: 55.83 kB / 327.8 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.3749, allocations: 145.3 kB / 327.9 MB, free: 15.87 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.3751, allocations: 13.89 kB / 327.9 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3761, allocations: 0.5649 MB / 328.5 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.3763, allocations: 77.39 kB / 328.6 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.621e-05/0.3764, allocations: 10.38 kB / 328.6 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.629e-05/0.3764, allocations: 13.97 kB / 328.6 MB, free: 15.6 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.3766, allocations: 65.36 kB / 328.7 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3768, allocations: 111.7 kB / 328.8 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.3774, allocations: 365.5 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.3774, allocations: 4 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3774, allocations: 1.219 kB / 329.1 MB, free: 15.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3774, allocations: 0 / 329.1 MB, free: 15.2 MB / 270.1 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.001318/0.3787, allocations: 0.7261 MB / 329.9 MB, free: 14.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.078e-05/0.3788, allocations: 9.062 kB / 329.9 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.379, allocations: 34.69 kB / 329.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.3795, allocations: 281.5 kB / 330.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.3795, allocations: 6.281 kB / 330.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.3796, allocations: 7.562 kB / 330.2 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.3801, allocations: 129.5 kB / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3801, allocations: 0 / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.3802, allocations: 7.344 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3802, allocations: 1.219 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001869/0.3804, allocations: 62.38 kB / 330.4 MB, free: 14.09 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3814, allocations: 464.1 kB / 330.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3817, allocations: 96.36 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3818, allocations: 85.58 kB / 331 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3819, allocations: 1.312 kB / 331 MB, free: 13.56 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.3824, allocations: 205.7 kB / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3824, allocations: 0 / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009853/0.3834, allocations: 486.2 kB / 331.7 MB, free: 13.1 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.3835, allocations: 164.8 kB / 331.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.3844, allocations: 0.5122 MB / 332.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.3844, allocations: 29.2 kB / 332.4 MB, free: 12.54 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.3845, allocations: 96.41 kB / 332.5 MB, free: 12.44 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.3846, allocations: 31.55 kB / 332.5 MB, free: 12.42 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.3847, allocations: 87.89 kB / 332.6 MB, free: 12.36 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3849, allocations: 326.8 kB / 332.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.385, allocations: 59.95 kB / 333 MB, free: 11.97 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3852, allocations: 82.97 kB / 333.1 MB, free: 11.88 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.3856, allocations: 351.7 kB / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3856, allocations: 0 / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000658/0.3863, allocations: 392.3 kB / 333.8 MB, free: 11.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.3864, allocations: 122.8 kB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3865, allocations: 0 / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/0.3865, allocations: 3.984 kB / 333.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/0.3866, allocations: 4 kB / 333.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3866, allocations: 0 / 333.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.3867, allocations: 8.109 kB / 333.9 MB, free: 10.91 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.3868, allocations: 67.86 kB / 334 MB, free: 10.84 MB / 270.1 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.3874, allocations: 366.7 kB / 334.3 MB, free: 10.45 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.3874, allocations: 43.56 kB / 334.4 MB, free: 10.41 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.3876, allocations: 59.16 kB / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3876, allocations: 0 / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3876, allocations: 0 / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3876, allocations: 0 / 334.4 MB, free: 10.34 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.3889, allocations: 0.8212 MB / 335.3 MB, free: 9.441 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3889, allocations: 3.984 kB / 335.3 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-06/0.3889, allocations: 0 / 335.3 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3889, allocations: 0 / 335.3 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.3889, allocations: 19.98 kB / 335.3 MB, free: 9.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3889, allocations: 0 / 335.3 MB, free: 9.418 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.389, allocations: 4.125 kB / 335.3 MB, free: 9.414 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.3897, allocations: 0.5407 MB / 335.8 MB, free: 8.832 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.39, allocations: 236.6 kB / 336.1 MB, free: 8.582 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.3901, allocations: 16 kB / 336.1 MB, free: 8.566 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3903, allocations: 15.98 kB / 336.1 MB, free: 8.551 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3904, allocations: 27.91 kB / 336.1 MB, free: 8.523 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-05/0.3905, allocations: 67.92 kB / 336.2 MB, free: 8.457 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000529/0.391, allocations: 386.9 kB / 336.6 MB, free: 8.078 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.391, allocations: 0 / 336.6 MB, free: 8.078 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.3914, allocations: 40 kB / 336.6 MB, free: 8.039 MB / 270.1 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) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.3916, allocations: 121.6 kB / 336.7 MB, free: 7.91 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.3922, allocations: 437.5 kB / 337.2 MB, free: 7.434 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3922, allocations: 0 / 337.2 MB, free: 7.434 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.3926, allocations: 377.6 kB / 337.5 MB, free: 7.016 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000653/0.3933, allocations: 111.9 kB / 337.6 MB, free: 6.906 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3946, allocations: 0.6627 MB / 338.3 MB, free: 6.219 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.3951, allocations: 0.802 MB / 339.1 MB, free: 5.387 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.808e-05/0.3952, allocations: 12.59 kB / 339.1 MB, free: 5.371 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.3952, allocations: 11.44 kB / 339.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3952, allocations: 0 / 339.1 MB, free: 5.363 MB / 270.1 MB Notification: Performance of Templates: time 0.009639/0.4049, allocations: 4.666 MB / 343.8 MB, free: 0.6055 MB / 270.1 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)