Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 113.9 kB / 17.07 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001232, allocations: 198.8 kB / 18 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.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.001231/0.001231, allocations: 47.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1315, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.004232/0.1358, allocations: 1.513 MB / 376 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.1385, allocations: 0.8856 MB / 376.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1387, allocations: 4 kB / 376.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.1389, allocations: 11.86 kB / 376.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.139, allocations: 23.84 kB / 376.9 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1394, allocations: 43.89 kB / 377 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1398, allocations: 147.7 kB / 377.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.14, allocations: 20.23 kB / 377.1 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.1408, allocations: 0.5576 MB / 377.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.141, allocations: 71.7 kB / 377.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.61e-05/0.141, allocations: 8 kB / 377.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-05/0.1411, allocations: 12 kB / 377.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1412, allocations: 63.7 kB / 377.8 MB, free: 1.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1414, allocations: 115.2 kB / 377.9 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.1418, allocations: 374.7 kB / 378.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1418, allocations: 0 / 378.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1419, allocations: 0 / 378.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1419, allocations: 0 / 378.3 MB, free: 0.7109 MB / 318.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.2692/0.4111, allocations: 0.7236 MB / 379 MB, free: 13.15 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.4111, allocations: 11.31 kB / 379 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4112, allocations: 35.53 kB / 379.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.4115, allocations: 271.5 kB / 379.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.4116, allocations: 7.875 kB / 379.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.4116, allocations: 11.69 kB / 379.4 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.412, allocations: 125.1 kB / 379.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.412, allocations: 1.375 kB / 379.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.4121, allocations: 8.172 kB / 379.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4121, allocations: 1.375 kB / 379.5 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.4122, allocations: 60.61 kB / 379.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.4131, allocations: 469.3 kB / 380 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.4134, allocations: 94.86 kB / 380.1 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.4136, allocations: 88 kB / 380.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.4136, allocations: 0.6562 kB / 380.2 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004907/0.4141, allocations: 207.1 kB / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.776e-06/0.4141, allocations: 0 / 380.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001125/0.4152, allocations: 481.5 kB / 380.9 MB, free: 12.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.4153, allocations: 169 kB / 381 MB, free: 12.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.4164, allocations: 0.5135 MB / 381.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.4165, allocations: 30.81 kB / 381.6 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.117e-05/0.4166, allocations: 102.5 kB / 381.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.4166, allocations: 29.88 kB / 381.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.4169, allocations: 82.42 kB / 381.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.417, allocations: 328.1 kB / 382.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.4172, allocations: 58.92 kB / 382.2 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.4175, allocations: 73.5 kB / 382.2 MB, free: 11.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.4179, allocations: 349.9 kB / 382.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4179, allocations: 0 / 382.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006207/0.4186, allocations: 386 kB / 383 MB, free: 10.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.4187, allocations: 126.9 kB / 383.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.4187, allocations: 2.234 kB / 383.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.4187, allocations: 1.094 kB / 383.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.57e-05/0.4188, allocations: 4 kB / 383.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4188, allocations: 0.7969 kB / 383.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.4189, allocations: 13.14 kB / 383.1 MB, free: 10.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.419, allocations: 59.02 kB / 383.2 MB, free: 10.71 MB / 318.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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0004011/0.4194, allocations: 368.4 kB / 383.5 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.087e-05/0.4195, allocations: 44.45 kB / 383.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.4196, allocations: 68.66 kB / 383.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4196, allocations: 1.875 kB / 383.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4197, allocations: 0 / 383.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.4197, allocations: 0.6094 kB / 383.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.4209, allocations: 0.8216 MB / 384.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4209, allocations: 0 / 384.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.4209, allocations: 4.953 kB / 384.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.421, allocations: 2.25 kB / 384.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.421, allocations: 17.61 kB / 384.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.421, allocations: 0.6094 kB / 384.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.421, allocations: 0 / 384.5 MB, free: 9.777 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008073/0.4218, allocations: 0.5429 MB / 385 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.4222, allocations: 241.3 kB / 385.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.4223, allocations: 12.52 kB / 385.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.4225, allocations: 9.312 kB / 385.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.4226, allocations: 30.34 kB / 385.3 MB, free: 9.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.4227, allocations: 65.84 kB / 385.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000577/0.4233, allocations: 387.4 kB / 385.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4233, allocations: 0 / 385.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003474/0.4237, allocations: 45.78 kB / 385.8 MB, free: 9.012 MB / 318.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,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 (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.0002023/0.4239, allocations: 114.8 kB / 385.9 MB, free: 8.918 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.4245, allocations: 441.1 kB / 386.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4245, allocations: 5.25 kB / 386.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.4249, allocations: 374 kB / 386.7 MB, free: 8.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.4257, allocations: 119.8 kB / 386.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.427, allocations: 0.6577 MB / 387.5 MB, free: 7.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4274, allocations: 0.8077 MB / 388.3 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.104e-05/0.4275, allocations: 5.625 kB / 388.3 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.4275, allocations: 15.72 kB / 388.3 MB, free: 7.078 MB / 318.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4275, allocations: 3.938 kB / 388.3 MB, free: 7.074 MB / 318.1 MB Notification: Performance of Templates: time 0.0116/0.4392, allocations: 4.668 MB / 393 MB, free: 6.52 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1)