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.01114/0.01115, allocations: 96.53 kB / 15.73 MB, free: 6.039 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.002214/0.002215, allocations: 196.4 kB / 16.67 MB, free: 5.969 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.919/1.919, allocations: 205.1 MB / 222.5 MB, free: 4.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.00121/0.001211, allocations: 45.91 kB / 326.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1418, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003431/0.1453, allocations: 1.809 MB / 375 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.1479, allocations: 0.9829 MB / 376 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.554e-05/0.148, allocations: 0 / 376 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.1482, allocations: 23.73 kB / 376 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.1483, allocations: 47.64 kB / 376 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.1488, allocations: 91.83 kB / 376.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004215/0.1492, allocations: 319.3 kB / 376.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.1494, allocations: 61.56 kB / 376.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008376/0.1502, allocations: 0.7408 MB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.1505, allocations: 139.4 kB / 377.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.449e-05/0.1506, allocations: 23.98 kB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.569e-05/0.1506, allocations: 28 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.1508, allocations: 139.4 kB / 377.6 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.1511, allocations: 234.2 kB / 377.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008879/0.152, allocations: 0.7469 MB / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.152, allocations: 0 / 378.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.152, allocations: 3.938 kB / 378.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.152, allocations: 0 / 378.5 MB, free: 11.93 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.001525/0.1536, allocations: 1.2 MB / 379.7 MB, free: 10.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1536, allocations: 8.031 kB / 379.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.1538, allocations: 84.47 kB / 379.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.1543, allocations: 396.9 kB / 380.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.1544, allocations: 16.56 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.1545, allocations: 20.38 kB / 380.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.155, allocations: 246.2 kB / 380.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.155, allocations: 0 / 380.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.461e-05/0.1551, allocations: 15.98 kB / 380.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1551, allocations: 0 / 380.5 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002849/0.1554, allocations: 136.2 kB / 380.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.1568, allocations: 0.7466 MB / 381.4 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.1572, allocations: 202.4 kB / 381.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.1576, allocations: 180.7 kB / 381.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1576, allocations: 3.984 kB / 381.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/0.1584, allocations: 381.9 kB / 382.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.562e-06/0.1584, allocations: 0 / 382.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.001512/0.1599, allocations: 0.9323 MB / 383.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.1601, allocations: 281 kB / 383.3 MB, free: 6.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.1614, allocations: 0.9491 MB / 384.3 MB, free: 5.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.1614, allocations: 37.7 kB / 384.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1616, allocations: 130 kB / 384.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.1616, allocations: 67.52 kB / 384.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002249/0.1619, allocations: 165.3 kB / 384.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1621, allocations: 338.8 kB / 385 MB, free: 5.059 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.1623, allocations: 124.2 kB / 385.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.1626, allocations: 161 kB / 385.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007097/0.1633, allocations: 0.7067 MB / 386 MB, free: 3.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1634, allocations: 3.938 kB / 386 MB, free: 3.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00113/0.1645, allocations: 0.7565 MB / 386.8 MB, free: 3.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.1647, allocations: 245.6 kB / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.1647, allocations: 0 / 387 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.1648, allocations: 4 kB / 387 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.1648, allocations: 4 kB / 387 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1648, allocations: 0 / 387 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1651, allocations: 32.03 kB / 387 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.1652, allocations: 112.1 kB / 387.1 MB, free: 2.695 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.0007263/0.166, allocations: 0.6123 MB / 387.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.1661, allocations: 79.53 kB / 387.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1663, allocations: 126.9 kB / 388 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.1663, allocations: 7.938 kB / 388 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.1664, allocations: 0 / 388 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1664, allocations: 0 / 388 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.1684, allocations: 1.441 MB / 389.4 MB, free: 268 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.1684, allocations: 4 kB / 389.4 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.1685, allocations: 4 kB / 389.4 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1685, allocations: 4 kB / 389.4 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.1685, allocations: 27.98 kB / 389.4 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1685, allocations: 0 / 389.4 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1686, allocations: 0 / 389.4 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.1699, allocations: 0.9691 MB / 390.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006634/0.1705, allocations: 424.1 kB / 390.8 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.1707, allocations: 24 kB / 390.9 MB, free: 14.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1709, allocations: 23.98 kB / 390.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.1711, allocations: 51.94 kB / 390.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.1712, allocations: 111.9 kB / 391 MB, free: 14.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009874/0.1722, allocations: 0.686 MB / 391.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1722, allocations: 0 / 391.7 MB, free: 13.87 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000427/0.1726, allocations: 91.94 kB / 391.8 MB, free: 13.78 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.000231/0.1729, allocations: 151.2 kB / 392 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.174, allocations: 0.886 MB / 392.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.174, allocations: 0 / 392.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.1748, allocations: 0.7491 MB / 393.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.176, allocations: 275 kB / 393.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1782, allocations: 1.296 MB / 395.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007066/0.1789, allocations: 0.9403 MB / 396.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002869/0.1792, allocations: 97.33 kB / 396.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.521e-05/0.1793, allocations: 39.38 kB / 396.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1793, allocations: 4 kB / 396.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of Templates: time 0.0185/0.1978, allocations: 9.507 MB / 405.7 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)