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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01122/0.01122, allocations: 106.7 kB / 15.74 MB, free: 5.996 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.001915/0.001915, allocations: 197 kB / 16.67 MB, free: 5.918 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.988/1.988, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.001668/0.001668, allocations: 46.88 kB / 326.5 MB, free: 14.58 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1636, allocations: 46.63 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00398/0.1677, allocations: 1.805 MB / 375 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1703, allocations: 0.9868 MB / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.1705, allocations: 4 kB / 376 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.1707, allocations: 19.73 kB / 376 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1708, allocations: 43.64 kB / 376 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.1714, allocations: 91.83 kB / 376.1 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.1719, allocations: 319.3 kB / 376.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1721, allocations: 65.56 kB / 376.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009059/0.173, allocations: 0.7369 MB / 377.2 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.1732, allocations: 143.4 kB / 377.4 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.1733, allocations: 20 kB / 377.4 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.352e-05/0.1734, allocations: 24 kB / 377.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1736, allocations: 143.4 kB / 377.6 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.1739, allocations: 246.1 kB / 377.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.175, allocations: 0.7395 MB / 378.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.175, allocations: 4 kB / 378.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.175, allocations: 0 / 378.5 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.175, allocations: 0 / 378.5 MB, free: 12.04 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.002067/0.1771, allocations: 1.165 MB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.366e-05/0.1772, allocations: 8.031 kB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001773/0.1774, allocations: 83.98 kB / 379.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007585/0.1781, allocations: 392.2 kB / 380.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1782, allocations: 12.56 kB / 380.2 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/0.1783, allocations: 20.38 kB / 380.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007288/0.179, allocations: 250.2 kB / 380.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.179, allocations: 3.984 kB / 380.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1791, allocations: 8 kB / 380.5 MB, free: 9.965 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.1791, allocations: 8 kB / 380.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.1795, allocations: 132.2 kB / 380.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.1814, allocations: 0.7387 MB / 381.3 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.1819, allocations: 202.4 kB / 381.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.1822, allocations: 180.7 kB / 381.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1823, allocations: 0 / 381.7 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008816/0.1831, allocations: 389.9 kB / 382.1 MB, free: 8.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 4.108e-06/0.1832, allocations: 7.984 kB / 382.1 MB, free: 8.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001696/0.1849, allocations: 0.9239 MB / 383 MB, free: 7.246 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003014/0.1852, allocations: 281 kB / 383.3 MB, free: 6.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.1867, allocations: 0.949 MB / 384.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-05/0.1868, allocations: 37.7 kB / 384.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.187, allocations: 130 kB / 384.4 MB, free: 5.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.1871, allocations: 63.25 kB / 384.5 MB, free: 5.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.1874, allocations: 165 kB / 384.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.1876, allocations: 334.8 kB / 385 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003027/0.1879, allocations: 132.2 kB / 385.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.1883, allocations: 159.9 kB / 385.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.1892, allocations: 0.7067 MB / 386 MB, free: 4.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.1892, allocations: 3.938 kB / 386 MB, free: 4.094 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00125/0.1905, allocations: 0.7488 MB / 386.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.1907, allocations: 245.6 kB / 386.9 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.1908, allocations: 0 / 386.9 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.1908, allocations: 4 kB / 387 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.012e-05/0.1909, allocations: 4 kB / 387 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/0.1909, allocations: 4 kB / 387 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.1912, allocations: 31.97 kB / 387 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.1913, allocations: 112.1 kB / 387.1 MB, free: 2.848 MB / 318.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.0008458/0.1922, allocations: 0.6122 MB / 387.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.1923, allocations: 75.16 kB / 387.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.1927, allocations: 130.9 kB / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1927, allocations: 0 / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.1927, allocations: 0 / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1927, allocations: 0 / 387.9 MB, free: 1.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.1951, allocations: 1.445 MB / 389.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1951, allocations: 0 / 389.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.745e-05/0.1951, allocations: 4 kB / 389.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.1951, allocations: 0 / 389.4 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.454e-05/0.1952, allocations: 27.98 kB / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1952, allocations: 0 / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1952, allocations: 0 / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.1967, allocations: 0.9727 MB / 390.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007012/0.1974, allocations: 415.8 kB / 390.8 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1976, allocations: 24 kB / 390.8 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1978, allocations: 23.98 kB / 390.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.198, allocations: 51.94 kB / 390.9 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.1982, allocations: 111.9 kB / 391 MB, free: 14.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.1993, allocations: 0.6938 MB / 391.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1993, allocations: 0 / 391.7 MB, free: 14.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004514/0.1997, allocations: 99.84 kB / 391.8 MB, free: 13.93 MB / 334.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.0003024/0.2001, allocations: 147.2 kB / 391.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.2014, allocations: 0.878 MB / 392.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/0.2014, allocations: 4 kB / 392.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008447/0.2023, allocations: 0.7491 MB / 393.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.2036, allocations: 271.1 kB / 393.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.2061, allocations: 1.278 MB / 395.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.2073, allocations: 0.9403 MB / 396 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003136/0.2076, allocations: 93.33 kB / 396.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2078, allocations: 51.34 kB / 396.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.2078, allocations: 4 kB / 396.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of Templates: time 0.01946/0.2273, allocations: 9.687 MB / 405.9 MB, free: 15.53 MB / 350.1 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)