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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.000973, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.00105/0.00105, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.0004393/0.0004395, allocations: 12 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2418, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001386/0.2432, allocations: 1.199 MB / 327.7 MB, free: 472 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.245, allocations: 0.8432 MB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.245, allocations: 0 / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.258e-05/0.2451, allocations: 11.27 kB / 328.5 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.2452, allocations: 14.73 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.2455, allocations: 37.86 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.2456, allocations: 101.5 kB / 328.7 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.2457, allocations: 16.09 kB / 328.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007139/0.2465, allocations: 0.4886 MB / 329.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.2466, allocations: 74.27 kB / 329.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.2467, allocations: 2.844 kB / 329.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.799e-05/0.2467, allocations: 4.156 kB / 329.3 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.2468, allocations: 64.42 kB / 329.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.2469, allocations: 76.61 kB / 329.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003324/0.2473, allocations: 293 kB / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.2473, allocations: 0 / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2473, allocations: 0 / 329.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2473, allocations: 0 / 329.7 MB, free: 15.18 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.0008174/0.2481, allocations: 0.6651 MB / 330.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2482, allocations: 8.531 kB / 330.4 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.503e-05/0.2483, allocations: 34.25 kB / 330.4 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.2486, allocations: 261 kB / 330.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.2487, allocations: 10.03 kB / 330.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.2487, allocations: 10.88 kB / 330.7 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.2491, allocations: 129.6 kB / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2491, allocations: 0 / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.2491, allocations: 4.312 kB / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2491, allocations: 0 / 330.8 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.2493, allocations: 57.59 kB / 330.9 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.2501, allocations: 470 kB / 331.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.2503, allocations: 103.6 kB / 331.4 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.2505, allocations: 81.08 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.2505, allocations: 0.9688 kB / 331.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.251, allocations: 206.7 kB / 331.7 MB, free: 13.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.251, allocations: 4 kB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008983/0.2519, allocations: 481.1 kB / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.252, allocations: 164.1 kB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.2527, allocations: 0.5172 MB / 332.8 MB, free: 12.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.2527, allocations: 33.56 kB / 332.9 MB, free: 12.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.2528, allocations: 96.3 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.2528, allocations: 30.7 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.2529, allocations: 3.906 kB / 333 MB, free: 12.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.253, allocations: 325.1 kB / 333.3 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.2531, allocations: 56.41 kB / 333.4 MB, free: 12.09 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.2533, allocations: 80.16 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.2535, allocations: 164 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2535, allocations: 112 / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005225/0.254, allocations: 386 kB / 334 MB, free: 11.57 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.265e-05/0.2541, allocations: 126.8 kB / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2541, allocations: 0 / 334.1 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2541, allocations: 7.969 kB / 334.1 MB, free: 11.42 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.412e-05/0.2542, allocations: 7.938 kB / 334.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2542, allocations: 0 / 334.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2543, allocations: 15.98 kB / 334.2 MB, free: 11.39 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.2544, allocations: 59.89 kB / 334.2 MB, free: 11.34 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.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.0003499/0.2548, allocations: 362.8 kB / 334.6 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.2548, allocations: 43.52 kB / 334.6 MB, free: 10.9 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.2549, allocations: 67.14 kB / 334.7 MB, free: 10.83 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.255, allocations: 8 kB / 334.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.255, allocations: 0 / 334.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.255, allocations: 0 / 334.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.256, allocations: 0.8138 MB / 335.5 MB, free: 9.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.256, allocations: 0 / 335.5 MB, free: 9.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.256, allocations: 0 / 335.5 MB, free: 9.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.256, allocations: 4 kB / 335.5 MB, free: 9.926 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.2561, allocations: 15.98 kB / 335.5 MB, free: 9.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2561, allocations: 0 / 335.5 MB, free: 9.91 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2561, allocations: 4 kB / 335.5 MB, free: 9.906 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.2567, allocations: 0.5293 MB / 336 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.2571, allocations: 256.4 kB / 336.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.2571, allocations: 16.06 kB / 336.3 MB, free: 9.051 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2573, allocations: 8 kB / 336.3 MB, free: 9.043 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.2574, allocations: 27.97 kB / 336.3 MB, free: 9.016 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.2575, allocations: 63.86 kB / 336.4 MB, free: 8.953 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000476/0.258, allocations: 390.9 kB / 336.8 MB, free: 8.574 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.258, allocations: 0 / 336.8 MB, free: 8.574 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.2583, allocations: 43.95 kB / 336.8 MB, free: 8.531 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,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.0001463/0.2584, allocations: 115.2 kB / 336.9 MB, free: 8.41 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.259, allocations: 437.5 kB / 337.4 MB, free: 7.934 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.259, allocations: 0 / 337.4 MB, free: 7.934 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.2593, allocations: 377.5 kB / 337.7 MB, free: 7.516 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.2599, allocations: 105.5 kB / 337.8 MB, free: 7.41 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.261, allocations: 0.7349 MB / 338.6 MB, free: 6.652 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.2615, allocations: 0.8024 MB / 339.4 MB, free: 5.824 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.273e-05/0.2615, allocations: 4.672 kB / 339.4 MB, free: 5.816 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.2616, allocations: 11.44 kB / 339.4 MB, free: 5.809 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2616, allocations: 0 / 339.4 MB, free: 5.809 MB / 270.1 MB Notification: Performance of Templates: time 0.006615/0.2682, allocations: 4.055 MB / 343.5 MB, free: 1.66 MB / 270.1 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)