Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.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.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 103 kB / 16.51 MB, free: 6.645 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.001451/0.001452, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.917/1.917, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001412/0.001412, allocations: 51.92 kB / 279.3 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1567, allocations: 46.63 MB / 326 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004816/0.1616, allocations: 1.862 MB / 327.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1642, allocations: 1.03 MB / 328.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1643, allocations: 0 / 328.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1646, allocations: 15.86 kB / 328.9 MB, free: 1.965 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.1647, allocations: 31.77 kB / 328.9 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000429/0.1651, allocations: 83.92 kB / 329 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.1655, allocations: 243.4 kB / 329.2 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1657, allocations: 57.66 kB / 329.3 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008004/0.1665, allocations: 0.7173 MB / 330 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.1667, allocations: 143.3 kB / 330.1 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.1667, allocations: 16 kB / 330.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.1668, allocations: 8 kB / 330.2 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.167, allocations: 147.4 kB / 330.3 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.1672, allocations: 226.3 kB / 330.5 MB, free: 312 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.168, allocations: 0.7281 MB / 331.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.168, allocations: 0 / 331.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.168, allocations: 0 / 331.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.168, allocations: 0 / 331.2 MB, free: 15.57 MB / 286.1 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.00151/0.1695, allocations: 1.161 MB / 332.4 MB, free: 14.31 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.1696, allocations: 12.03 kB / 332.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1697, allocations: 76.09 kB / 332.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004929/0.1702, allocations: 404 kB / 332.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.1703, allocations: 12.56 kB / 332.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.1703, allocations: 20.38 kB / 332.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.171, allocations: 254.2 kB / 333.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.171, allocations: 0 / 333.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.171, allocations: 11.98 kB / 333.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.171, allocations: 4 kB / 333.2 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1714, allocations: 140.1 kB / 333.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.1726, allocations: 0.7271 MB / 334.1 MB, free: 12.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/0.173, allocations: 202.4 kB / 334.2 MB, free: 12.37 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.1733, allocations: 176.8 kB / 334.4 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1733, allocations: 7.984 kB / 334.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006053/0.1739, allocations: 397.8 kB / 334.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.473e-06/0.1739, allocations: 0 / 334.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001459/0.1754, allocations: 0.9169 MB / 335.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.1756, allocations: 281 kB / 336 MB, free: 10.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.1768, allocations: 0.953 MB / 337 MB, free: 9.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/0.1769, allocations: 33.7 kB / 337 MB, free: 9.453 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.177, allocations: 138 kB / 337.1 MB, free: 9.312 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.557e-05/0.1771, allocations: 59.31 kB / 337.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.1774, allocations: 157.1 kB / 337.3 MB, free: 9.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1775, allocations: 338.8 kB / 337.7 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.1778, allocations: 128.2 kB / 337.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.1781, allocations: 167.8 kB / 338 MB, free: 8.453 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.1789, allocations: 0.6982 MB / 338.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.1789, allocations: 3.938 kB / 338.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001013/0.1799, allocations: 0.7565 MB / 339.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.1801, allocations: 245.7 kB / 339.7 MB, free: 6.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.1801, allocations: 4 kB / 339.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1801, allocations: 0 / 339.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.888e-05/0.1802, allocations: 12 kB / 339.7 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.1802, allocations: 7.938 kB / 339.7 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.1805, allocations: 31.91 kB / 339.7 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.1806, allocations: 104.2 kB / 339.8 MB, free: 6.379 MB / 286.1 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,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000647/0.1812, allocations: 0.6045 MB / 340.4 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.425e-05/0.1813, allocations: 83.06 kB / 340.5 MB, free: 5.633 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1815, allocations: 130.9 kB / 340.6 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1816, allocations: 4 kB / 340.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1816, allocations: 0 / 340.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1816, allocations: 0 / 340.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/0.1834, allocations: 1.425 MB / 342.1 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1834, allocations: 0 / 342.1 MB, free: 3.965 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.427e-05/0.1834, allocations: 7.938 kB / 342.1 MB, free: 3.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1835, allocations: 4 kB / 342.1 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.1835, allocations: 31.98 kB / 342.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1835, allocations: 0 / 342.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1835, allocations: 0 / 342.1 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1848, allocations: 0.9648 MB / 343.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005854/0.1854, allocations: 423.6 kB / 343.5 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1855, allocations: 20 kB / 343.5 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.1857, allocations: 23.98 kB / 343.5 MB, free: 2.414 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.1859, allocations: 55.94 kB / 343.6 MB, free: 2.359 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.186, allocations: 115.8 kB / 343.7 MB, free: 2.246 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009319/0.187, allocations: 0.6899 MB / 344.4 MB, free: 1.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.187, allocations: 4 kB / 344.4 MB, free: 1.555 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1874, allocations: 95.94 kB / 344.5 MB, free: 1.461 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: 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 (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.0002156/0.1876, allocations: 143.2 kB / 344.6 MB, free: 1.312 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1887, allocations: 0.8935 MB / 345.5 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1887, allocations: 0 / 345.5 MB, free: 328 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008472/0.1895, allocations: 0.7452 MB / 346.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.1907, allocations: 242.7 kB / 346.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.1929, allocations: 1.506 MB / 348 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.1935, allocations: 0.944 MB / 348.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002212/0.1938, allocations: 97.33 kB / 349 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.1939, allocations: 43.36 kB / 349.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1939, allocations: 0 / 349.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Templates: time 0.01398/0.2079, allocations: 8.905 MB / 358 MB, free: 3.668 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)