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.001422/0.001421, allocations: 112.2 kB / 16.62 MB, free: 6.812 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.001737/0.001738, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.826/1.826, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001263/0.001263, allocations: 43.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1505, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003935/0.1545, allocations: 1.858 MB / 328 MB, free: 2.926 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1573, allocations: 0.9715 MB / 329 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.1575, allocations: 4 kB / 329 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1577, allocations: 19.84 kB / 329 MB, free: 1.922 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1578, allocations: 31.78 kB / 329 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004633/0.1583, allocations: 79.91 kB / 329.1 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004768/0.1588, allocations: 323.4 kB / 329.4 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.159, allocations: 57.66 kB / 329.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009229/0.1599, allocations: 0.7368 MB / 330.2 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003716/0.1603, allocations: 155.4 kB / 330.4 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.1604, allocations: 20 kB / 330.4 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.23e-05/0.1605, allocations: 20 kB / 330.4 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.1607, allocations: 143.4 kB / 330.5 MB, free: 376 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002938/0.161, allocations: 242.2 kB / 330.8 MB, free: 132 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1621, allocations: 0.7359 MB / 331.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1621, allocations: 0 / 331.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1621, allocations: 0 / 331.5 MB, free: 15.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.1622, allocations: 0 / 331.5 MB, free: 15.39 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.001627/0.1638, allocations: 1.18 MB / 332.7 MB, free: 14.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.1639, allocations: 12.03 kB / 332.7 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.164, allocations: 72.09 kB / 332.8 MB, free: 14.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.1645, allocations: 396.1 kB / 333.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1645, allocations: 12.56 kB / 333.2 MB, free: 13.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.046e-05/0.1646, allocations: 24.36 kB / 333.2 MB, free: 13.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006098/0.1652, allocations: 254.2 kB / 333.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1652, allocations: 0 / 333.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.1653, allocations: 8 kB / 333.4 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1653, allocations: 8 kB / 333.5 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000415/0.1657, allocations: 136.2 kB / 333.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.1671, allocations: 0.731 MB / 334.3 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.1675, allocations: 198.4 kB / 334.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.1678, allocations: 176.8 kB / 334.7 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.1678, allocations: 7.938 kB / 334.7 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006558/0.1685, allocations: 393.8 kB / 335.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.034e-06/0.1685, allocations: 0 / 335.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00165/0.1702, allocations: 0.9247 MB / 336 MB, free: 10.59 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.1704, allocations: 285 kB / 336.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1716, allocations: 0.949 MB / 337.2 MB, free: 9.297 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.128e-05/0.1716, allocations: 37.7 kB / 337.3 MB, free: 9.254 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1717, allocations: 130 kB / 337.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1719, allocations: 55.27 kB / 337.4 MB, free: 9.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.1721, allocations: 165.1 kB / 337.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.1723, allocations: 334.8 kB / 337.9 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.1726, allocations: 128.2 kB / 338.1 MB, free: 8.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.1729, allocations: 163.8 kB / 338.2 MB, free: 8.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.1737, allocations: 0.6982 MB / 338.9 MB, free: 7.453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1737, allocations: 3.938 kB / 338.9 MB, free: 7.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001123/0.1749, allocations: 0.7565 MB / 339.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003099/0.1752, allocations: 245.6 kB / 339.9 MB, free: 6.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.1752, allocations: 4 kB / 339.9 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1752, allocations: 0 / 339.9 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.1753, allocations: 11.92 kB / 339.9 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1753, allocations: 4 kB / 339.9 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.1756, allocations: 27.92 kB / 340 MB, free: 6.301 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.1758, allocations: 108.1 kB / 340.1 MB, free: 6.195 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.0007721/0.1766, allocations: 0.6163 MB / 340.7 MB, free: 5.52 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.766e-05/0.1767, allocations: 79.06 kB / 340.8 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.1769, allocations: 126.9 kB / 340.9 MB, free: 5.312 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1769, allocations: 7.938 kB / 340.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1769, allocations: 0 / 340.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1769, allocations: 7.922 kB / 340.9 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.179, allocations: 1.421 MB / 342.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.179, allocations: 0 / 342.3 MB, free: 3.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.179, allocations: 8 kB / 342.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.179, allocations: 0 / 342.3 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.1791, allocations: 31.97 kB / 342.4 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.1791, allocations: 7.938 kB / 342.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1791, allocations: 0 / 342.4 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/0.1804, allocations: 0.9571 MB / 343.3 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.1811, allocations: 419.6 kB / 343.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.1812, allocations: 24 kB / 343.8 MB, free: 2.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1814, allocations: 27.97 kB / 343.8 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.1816, allocations: 51.95 kB / 343.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/0.1818, allocations: 119.8 kB / 344 MB, free: 2.051 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.1829, allocations: 0.6899 MB / 344.6 MB, free: 1.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1829, allocations: 4 kB / 344.7 MB, free: 1.359 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004201/0.1834, allocations: 95.94 kB / 344.7 MB, free: 1.266 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.0003958/0.1838, allocations: 143.2 kB / 344.9 MB, free: 1.117 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.1849, allocations: 0.8862 MB / 345.8 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.1849, allocations: 0 / 345.8 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007377/0.1856, allocations: 0.761 MB / 346.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1868, allocations: 275.1 kB / 346.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.1889, allocations: 1.496 MB / 348.3 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/0.1895, allocations: 0.944 MB / 349.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001993/0.1898, allocations: 89.34 kB / 349.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.369e-05/0.1899, allocations: 47.36 kB / 349.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1899, allocations: 0 / 349.4 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01418/0.204, allocations: 9.248 MB / 358.6 MB, free: 3.102 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)