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.001137/0.001138, allocations: 91.84 kB / 16.31 MB, free: 5.555 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.0014/0.001401, allocations: 179.8 kB / 17.21 MB, free: 5.477 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.72/1.72, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0004991/0.0004991, allocations: 12 kB / 280.1 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 47.58 MB / 327.7 MB, free: 4.074 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001612/0.1141, allocations: 1.188 MB / 328.9 MB, free: 2.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1157, allocations: 0.848 MB / 329.8 MB, free: 2.02 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.1158, allocations: 7.938 kB / 329.8 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.393e-05/0.1158, allocations: 11.92 kB / 329.8 MB, free: 2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.581e-05/0.1159, allocations: 7.922 kB / 329.8 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1161, allocations: 43.89 kB / 329.8 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1163, allocations: 103.8 kB / 329.9 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1164, allocations: 16.23 kB / 329.9 MB, free: 1.828 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/0.1169, allocations: 491.1 kB / 330.4 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1171, allocations: 79.81 kB / 330.5 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.1171, allocations: 8 kB / 330.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.1171, allocations: 0 / 330.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.496e-05/0.1172, allocations: 67.77 kB / 330.6 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.57e-05/0.1173, allocations: 69.52 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1175, allocations: 299.3 kB / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1176, allocations: 0 / 330.9 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1176, allocations: 3.938 kB / 330.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1176, allocations: 0 / 330.9 MB, free: 0.8242 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.000598/0.1182, allocations: 0.6569 MB / 331.6 MB, free: 96 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1182, allocations: 15.97 kB / 331.6 MB, free: 80 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.1183, allocations: 35.61 kB / 331.6 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1186, allocations: 253.4 kB / 331.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.1186, allocations: 12 kB / 331.9 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.1186, allocations: 8 kB / 331.9 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.1189, allocations: 121.6 kB / 332 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.119, allocations: 4 kB / 332 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.119, allocations: 0 / 332 MB, free: 15.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.119, allocations: 7.984 kB / 332 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1191, allocations: 59.91 kB / 332.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.1197, allocations: 464.5 kB / 332.6 MB, free: 15.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1199, allocations: 102.5 kB / 332.7 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001575/0.1201, allocations: 84.83 kB / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.1201, allocations: 0 / 332.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.1204, allocations: 206.7 kB / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.1205, allocations: 0 / 332.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007761/0.1212, allocations: 484 kB / 333.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1214, allocations: 174.1 kB / 333.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006228/0.122, allocations: 0.5129 MB / 334.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.122, allocations: 29.7 kB / 334.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.1221, allocations: 105 kB / 334.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.1221, allocations: 35.64 kB / 334.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.448e-05/0.1222, allocations: 0 / 334.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1223, allocations: 322.9 kB / 334.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1224, allocations: 63.91 kB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.1226, allocations: 73.62 kB / 334.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1227, allocations: 166.8 kB / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1228, allocations: 0 / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005279/0.1233, allocations: 384.3 kB / 335.2 MB, free: 12.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.1234, allocations: 133.4 kB / 335.4 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.1234, allocations: 0 / 335.4 MB, free: 12 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1234, allocations: 4 kB / 335.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.206e-05/0.1234, allocations: 0 / 335.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1235, allocations: 0 / 335.4 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.1236, allocations: 15.94 kB / 335.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.617e-05/0.1237, allocations: 63.88 kB / 335.5 MB, free: 11.91 MB / 286.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,$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.0003884/0.1241, allocations: 362.8 kB / 335.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/0.1242, allocations: 39.53 kB / 335.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1243, allocations: 63.16 kB / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1243, allocations: 4 kB / 335.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.1243, allocations: 4.125 kB / 335.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1243, allocations: 0 / 335.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.1253, allocations: 0.8135 MB / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1253, allocations: 0 / 336.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.77e-06/0.1253, allocations: 3.938 kB / 336.7 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1254, allocations: 11.98 kB / 336.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.1254, allocations: 8 kB / 336.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1254, allocations: 0 / 336.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1254, allocations: 4 kB / 336.8 MB, free: 10.49 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.1261, allocations: 0.5411 MB / 337.3 MB, free: 9.906 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003054/0.1264, allocations: 244.5 kB / 337.5 MB, free: 9.648 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.1264, allocations: 12 kB / 337.6 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1266, allocations: 11.98 kB / 337.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1267, allocations: 31.97 kB / 337.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.222e-05/0.1268, allocations: 55.94 kB / 337.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004446/0.1272, allocations: 390.8 kB / 338 MB, free: 9.16 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1272, allocations: 0 / 338 MB, free: 9.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1275, allocations: 51.89 kB / 338.1 MB, free: 9.109 MB / 286.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 (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.0001385/0.1277, allocations: 115.2 kB / 338.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005196/0.1282, allocations: 433.5 kB / 338.6 MB, free: 8.516 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1282, allocations: 8 kB / 338.6 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.1285, allocations: 377.6 kB / 339 MB, free: 8.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.1291, allocations: 93.84 kB / 339.1 MB, free: 7.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1302, allocations: 0.7387 MB / 339.8 MB, free: 7.234 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.1306, allocations: 0.8024 MB / 340.6 MB, free: 6.406 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.198e-05/0.1307, allocations: 8.609 kB / 340.6 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.1307, allocations: 11.44 kB / 340.7 MB, free: 6.387 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1307, allocations: 0 / 340.7 MB, free: 6.387 MB / 286.1 MB Notification: Performance of Templates: time 0.006606/0.1373, allocations: 4.064 MB / 344.7 MB, free: 2.234 MB / 286.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)