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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.0009788/0.0009788, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.312/1.312, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001645/0.001645, allocations: 103.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.239e-05, allocations: 7.984 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08043, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.3903, allocations: 73.16 MB / 380.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.3906, allocations: 74.58 kB / 380.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1125/0.5031, allocations: 43.64 MB / 424.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5032, allocations: 0 / 424.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.5033, allocations: 8 kB / 424.5 MB, free: 13.58 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.001175/0.5044, allocations: 0.9513 MB / 425.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.5045, allocations: 8.031 kB / 425.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.5047, allocations: 79.02 kB / 425.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/0.5054, allocations: 364 kB / 425.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.5054, allocations: 16.19 kB / 425.9 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.5055, allocations: 16 kB / 425.9 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.5062, allocations: 306.9 kB / 426.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.5063, allocations: 0 / 426.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.48e-05/0.5064, allocations: 8 kB / 426.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5064, allocations: 7.984 kB / 426.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004202/0.5068, allocations: 152.5 kB / 426.4 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.5085, allocations: 0.7667 MB / 427.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.509, allocations: 210.5 kB / 427.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004027/0.5094, allocations: 188.8 kB / 427.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.5094, allocations: 8 kB / 427.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007002/0.5101, allocations: 438.2 kB / 428 MB, free: 9.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.705e-06/0.5102, allocations: 0 / 428 MB, free: 9.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.001741/0.5119, allocations: 0.8619 MB / 428.8 MB, free: 8.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.5121, allocations: 285 kB / 429.1 MB, free: 8.598 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.5136, allocations: 0.8352 MB / 430 MB, free: 7.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.5137, allocations: 33.7 kB / 430 MB, free: 7.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.5138, allocations: 134 kB / 430.1 MB, free: 7.586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.5139, allocations: 63.25 kB / 430.2 MB, free: 7.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.514, allocations: 4 kB / 430.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5142, allocations: 338.8 kB / 430.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003806/0.5146, allocations: 144.2 kB / 430.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.5149, allocations: 162.2 kB / 430.8 MB, free: 6.875 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004659/0.5154, allocations: 357.5 kB / 431.2 MB, free: 6.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5154, allocations: 4 kB / 431.2 MB, free: 6.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001557/0.517, allocations: 0.8189 MB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.5172, allocations: 249 kB / 432.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.5172, allocations: 0 / 432.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5172, allocations: 4 kB / 432.2 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.763e-05/0.5173, allocations: 7.984 kB / 432.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5173, allocations: 0 / 432.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004097/0.5177, allocations: 31.98 kB / 432.3 MB, free: 5.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/0.5181, allocations: 271.7 kB / 432.5 MB, free: 5 MB / 314.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.0004539/0.5186, allocations: 386.5 kB / 432.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5188, allocations: 83.02 kB / 433 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000364/0.5191, allocations: 135 kB / 433.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5191, allocations: 3.984 kB / 433.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5192, allocations: 0 / 433.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5192, allocations: 0 / 433.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.5218, allocations: 1.484 MB / 434.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5218, allocations: 0 / 434.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.067e-05/0.5218, allocations: 4 kB / 434.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.5219, allocations: 0 / 434.6 MB, free: 2.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.522, allocations: 55.89 kB / 434.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.522, allocations: 0 / 434.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.522, allocations: 0 / 434.7 MB, free: 2.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.5238, allocations: 1.019 MB / 435.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008988/0.5247, allocations: 443.8 kB / 436.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.5249, allocations: 24 kB / 436.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.5253, allocations: 27.92 kB / 436.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002629/0.5256, allocations: 79.91 kB / 436.3 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003663/0.5259, allocations: 259.6 kB / 436.5 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001337/0.5273, allocations: 0.6899 MB / 437.2 MB, free: 88 kB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5273, allocations: 0 / 437.2 MB, free: 88 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006395/0.5279, allocations: 92.05 kB / 437.3 MB, free: 15.99 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.0002501/0.5282, allocations: 141.4 kB / 437.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.5296, allocations: 0.8975 MB / 438.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5296, allocations: 0 / 438.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.5306, allocations: 0.7686 MB / 439.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5319, allocations: 223.3 kB / 439.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.5344, allocations: 1.064 MB / 440.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000833/0.5352, allocations: 0.9596 MB / 441.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.5355, allocations: 97.06 kB / 441.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5357, allocations: 43.36 kB / 441.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5357, allocations: 4 kB / 441.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of Templates: time 0.02561/0.5613, allocations: 11.9 MB / 453.4 MB, free: 15.45 MB / 346.7 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)