Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008207/0.008207, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.496/1.496, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001636/0.001636, allocations: 99.34 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 12 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2611, allocations: 38.76 MB / 312.9 MB, free: 38.7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.3624, allocations: 73.24 MB / 386.1 MB, free: 1.289 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.3627, allocations: 71.95 kB / 386.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.299/0.6618, allocations: 43.32 MB / 429.5 MB, free: 85.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.6618, allocations: 0 / 429.5 MB, free: 85.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/0.6619, allocations: 13.41 kB / 429.5 MB, free: 85.76 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.00125/0.6631, allocations: 1.061 MB / 430.6 MB, free: 84.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.6632, allocations: 13 kB / 430.6 MB, free: 84.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.6634, allocations: 79.56 kB / 430.7 MB, free: 84.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.664, allocations: 365.1 kB / 431 MB, free: 84.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.664, allocations: 14.25 kB / 431.1 MB, free: 84.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.6641, allocations: 14.78 kB / 431.1 MB, free: 84.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006307/0.6647, allocations: 302 kB / 431.4 MB, free: 84.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6648, allocations: 3.797 kB / 431.4 MB, free: 84.62 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.6648, allocations: 15.5 kB / 431.4 MB, free: 84.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.6648, allocations: 3.953 kB / 431.4 MB, free: 84.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.6652, allocations: 155.5 kB / 431.5 MB, free: 84.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.6665, allocations: 0.7722 MB / 432.3 MB, free: 84.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003628/0.6669, allocations: 212.2 kB / 432.5 MB, free: 84.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.6669, allocations: 0 / 432.5 MB, free: 84.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.6674, allocations: 441.3 kB / 432.9 MB, free: 83.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.412e-06/0.6675, allocations: 0 / 432.9 MB, free: 83.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001491/0.669, allocations: 1.334 MB / 434.3 MB, free: 83.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6691, allocations: 276.5 kB / 434.6 MB, free: 82.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.6701, allocations: 0.8398 MB / 435.4 MB, free: 82.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.6702, allocations: 33.58 kB / 435.4 MB, free: 82.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.6702, allocations: 129.1 kB / 435.6 MB, free: 82.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.878e-05/0.6703, allocations: 60.31 kB / 435.6 MB, free: 82.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.6704, allocations: 11.03 kB / 435.6 MB, free: 82.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.858e-05/0.6705, allocations: 340 kB / 436 MB, free: 81.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.6707, allocations: 135.9 kB / 436.1 MB, free: 81.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.671, allocations: 189.7 kB / 436.3 MB, free: 81.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.6713, allocations: 354.3 kB / 436.6 MB, free: 81.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6714, allocations: 0 / 436.6 MB, free: 81.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001028/0.6724, allocations: 0.8315 MB / 437.4 MB, free: 80.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/0.6726, allocations: 251.2 kB / 437.7 MB, free: 80.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.6726, allocations: 7.906 kB / 437.7 MB, free: 80.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.6726, allocations: 0 / 437.7 MB, free: 80.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.252e-05/0.6727, allocations: 7.906 kB / 437.7 MB, free: 80.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6727, allocations: 0 / 437.7 MB, free: 80.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002892/0.673, allocations: 34.34 kB / 437.7 MB, free: 80.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.6733, allocations: 262 kB / 438 MB, free: 80.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * 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.0005962/0.6739, allocations: 0.6136 MB / 438.6 MB, free: 80.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.942e-05/0.674, allocations: 78.02 kB / 438.7 MB, free: 80.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001884/0.6742, allocations: 132.4 kB / 438.8 MB, free: 80.03 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6742, allocations: 0 / 438.8 MB, free: 80.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.6743, allocations: 0 / 438.8 MB, free: 80.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6743, allocations: 0 / 438.8 MB, free: 80.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.676, allocations: 1.511 MB / 440.3 MB, free: 79.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.676, allocations: 3.938 kB / 440.3 MB, free: 79.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.676, allocations: 7 kB / 440.3 MB, free: 79.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.676, allocations: 6.812 kB / 440.3 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-05/0.6761, allocations: 43.64 kB / 440.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6761, allocations: 0 / 440.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6761, allocations: 0 / 440.4 MB, free: 79.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.6773, allocations: 1.035 MB / 441.4 MB, free: 78.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.6779, allocations: 426.6 kB / 441.8 MB, free: 78.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.678, allocations: 20.22 kB / 441.9 MB, free: 78.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.6783, allocations: 37.56 kB / 441.9 MB, free: 78.13 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.6785, allocations: 68.98 kB / 442 MB, free: 78.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002838/0.6788, allocations: 272.5 kB / 442.2 MB, free: 78.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008446/0.6796, allocations: 0.694 MB / 442.9 MB, free: 77.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6796, allocations: 0 / 442.9 MB, free: 77.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004099/0.68, allocations: 91.84 kB / 443 MB, free: 77.63 MB / 314.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: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * 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.0001945/0.6802, allocations: 142.3 kB / 443.2 MB, free: 77.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009234/0.6812, allocations: 0.9129 MB / 444.1 MB, free: 76.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6812, allocations: 3.719 kB / 444.1 MB, free: 76.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.6818, allocations: 0.7663 MB / 444.8 MB, free: 76.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008727/0.6827, allocations: 217.1 kB / 445 MB, free: 75.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.6845, allocations: 1.473 MB / 446.5 MB, free: 74.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.685, allocations: 0.9597 MB / 447.5 MB, free: 73.94 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002694/0.6853, allocations: 95.41 kB / 447.6 MB, free: 73.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.592e-05/0.6854, allocations: 43.36 kB / 447.6 MB, free: 73.8 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.6854, allocations: 3.938 kB / 447.6 MB, free: 73.8 MB / 314.7 MB Notification: Performance of Templates: time 0.01313/0.6985, allocations: 11.91 MB / 459.5 MB, free: 61.79 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)