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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001487/0.001487, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.352/1.352, allocations: 194.3 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001428/0.001428, allocations: 119.5 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.01e-05, allocations: 7.938 kB / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08076, allocations: 44.5 MB / 342.6 MB, free: 7.008 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3001/0.3809, allocations: 77.82 MB / 420.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3812, allocations: 63.45 kB / 420.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07237/0.4535, allocations: 42.87 MB / 463.3 MB, free: 5.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4536, allocations: 4 kB / 463.3 MB, free: 5.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.911e-05/0.4536, allocations: 8 kB / 463.3 MB, free: 5.359 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.001136/0.4547, allocations: 0.9396 MB / 464.3 MB, free: 4.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.4548, allocations: 12.03 kB / 464.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.455, allocations: 75.06 kB / 464.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.4555, allocations: 367.6 kB / 464.7 MB, free: 3.852 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.4556, allocations: 8 kB / 464.7 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/0.4557, allocations: 16 kB / 464.7 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002685/0.4559, allocations: 144.3 kB / 464.9 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.4564, allocations: 275 kB / 465.1 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4564, allocations: 0 / 465.1 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.4564, allocations: 8.75 kB / 465.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4565, allocations: 0 / 465.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.4577, allocations: 0.7355 MB / 465.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003118/0.4581, allocations: 194.5 kB / 466.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.4583, allocations: 180.8 kB / 466.3 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.4583, allocations: 0 / 466.3 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000452/0.4588, allocations: 433.5 kB / 466.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.4588, allocations: 0 / 466.7 MB, free: 1.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001032/0.4598, allocations: 0.6152 MB / 467.3 MB, free: 1.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.46, allocations: 281 kB / 467.6 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.4612, allocations: 0.7922 MB / 468.4 MB, free: 40 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.4613, allocations: 37.75 kB / 468.4 MB, free: 15.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.4614, allocations: 129.9 kB / 468.5 MB, free: 15.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.644e-05/0.4615, allocations: 63.27 kB / 468.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.4615, allocations: 4 kB / 468.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4617, allocations: 346.8 kB / 468.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.4619, allocations: 128.2 kB / 469.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.4621, allocations: 154.2 kB / 469.2 MB, free: 15.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.4623, allocations: 115.9 kB / 469.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4623, allocations: 0 / 469.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000847/0.4632, allocations: 0.5712 MB / 469.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.4633, allocations: 241.6 kB / 470.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4633, allocations: 8.031 kB / 470.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4633, allocations: 0 / 470.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.365e-05/0.4634, allocations: 7.984 kB / 470.1 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4634, allocations: 4 kB / 470.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.4637, allocations: 27.89 kB / 470.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/0.4639, allocations: 267.8 kB / 470.4 MB, free: 13.88 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,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,$PRE.bUF3S1.inertialDelaySensitive.y,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 () * 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.0003338/0.4643, allocations: 391.4 kB / 470.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4644, allocations: 79.16 kB / 470.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.4646, allocations: 131.3 kB / 471 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4646, allocations: 4 kB / 471 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4647, allocations: 0 / 471 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4647, allocations: 0 / 471 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.4664, allocations: 1.178 MB / 472.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.4664, allocations: 7.922 kB / 472.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.828e-05/0.4664, allocations: 4 kB / 472.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.4665, allocations: 8 kB / 472.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.4665, allocations: 43.97 kB / 472.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4665, allocations: 0 / 472.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4666, allocations: 0 / 472.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4676, allocations: 0.7561 MB / 473 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/0.4682, allocations: 427.7 kB / 473.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.4684, allocations: 27.98 kB / 473.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.4687, allocations: 27.98 kB / 473.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.4689, allocations: 79.89 kB / 473.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002597/0.4691, allocations: 271.5 kB / 473.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008992/0.4701, allocations: 0.6508 MB / 474.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4701, allocations: 0 / 474.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004578/0.4705, allocations: 88 kB / 474.6 MB, free: 9.613 MB / 330.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]) * 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.0002294/0.4708, allocations: 137.4 kB / 474.7 MB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.4717, allocations: 0.8779 MB / 475.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4717, allocations: 0 / 475.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.4723, allocations: 0.7492 MB / 476.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.4734, allocations: 225.3 kB / 476.6 MB, free: 7.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.4751, allocations: 1.043 MB / 477.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006648/0.4758, allocations: 0.9637 MB / 478.6 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003001/0.4761, allocations: 93.06 kB / 478.7 MB, free: 5.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.4762, allocations: 47.3 kB / 478.7 MB, free: 5.23 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4763, allocations: 0 / 478.7 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Templates: time 0.01626/0.4925, allocations: 11.6 MB / 490.3 MB, free: 9.457 MB / 346.7 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)