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.001454/0.001454, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.538/1.538, allocations: 194.3 MB / 208.4 MB, free: 6.742 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.001976/0.001976, allocations: 124.7 kB / 253.5 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.159e-05, allocations: 0 / 304.9 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08526/0.08531, allocations: 44.5 MB / 349.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.4365, allocations: 78.47 MB / 427.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.4367, allocations: 66.66 kB / 428 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07687/0.5136, allocations: 43.2 MB / 471.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5137, allocations: 0 / 471.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.5137, allocations: 8 kB / 471.2 MB, free: 13.1 MB / 330.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.001022/0.5147, allocations: 0.9496 MB / 472.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5148, allocations: 12.03 kB / 472.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.5149, allocations: 75.06 kB / 472.2 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005294/0.5155, allocations: 360.5 kB / 472.6 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.5155, allocations: 16.12 kB / 472.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.5156, allocations: 19.19 kB / 472.6 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005343/0.5161, allocations: 292.3 kB / 472.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5161, allocations: 0 / 472.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.309e-05/0.5162, allocations: 12 kB / 472.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.5162, allocations: 8 kB / 472.9 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/0.5165, allocations: 156.5 kB / 473.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.5179, allocations: 0.7667 MB / 473.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003616/0.5183, allocations: 210.5 kB / 474 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.5186, allocations: 188.8 kB / 474.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5186, allocations: 0 / 474.2 MB, free: 9.941 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005619/0.5192, allocations: 437.6 kB / 474.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/0.5192, allocations: 0 / 474.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001367/0.5206, allocations: 0.863 MB / 475.5 MB, free: 8.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.5207, allocations: 281.1 kB / 475.8 MB, free: 8.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.5219, allocations: 0.8313 MB / 476.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.5219, allocations: 37.7 kB / 476.6 MB, free: 7.344 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.522, allocations: 130 kB / 476.8 MB, free: 7.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.864e-05/0.5221, allocations: 59.25 kB / 476.8 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.239e-05/0.5222, allocations: 12 kB / 476.8 MB, free: 7.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5223, allocations: 334.8 kB / 477.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.5226, allocations: 148.2 kB / 477.3 MB, free: 6.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.5229, allocations: 174.2 kB / 477.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.5233, allocations: 349.5 kB / 477.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5233, allocations: 0 / 477.8 MB, free: 6.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001196/0.5245, allocations: 0.8305 MB / 478.7 MB, free: 5.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.5247, allocations: 237.6 kB / 478.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.5247, allocations: 3.938 kB / 478.9 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.5247, allocations: 0 / 478.9 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.563e-05/0.5248, allocations: 16.02 kB / 478.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5248, allocations: 0 / 478.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.5251, allocations: 31.89 kB / 478.9 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/0.5254, allocations: 267.8 kB / 479.2 MB, free: 4.617 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.0003975/0.5258, allocations: 386.4 kB / 479.6 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.5259, allocations: 75.16 kB / 479.6 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.5262, allocations: 131 kB / 479.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5262, allocations: 4 kB / 479.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5262, allocations: 0 / 479.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.5262, allocations: 3.984 kB / 479.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.5284, allocations: 1.487 MB / 481.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5284, allocations: 0 / 481.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.5285, allocations: 4 kB / 481.3 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.5285, allocations: 3.984 kB / 481.3 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.589e-05/0.5286, allocations: 43.97 kB / 481.3 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5286, allocations: 4 kB / 481.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5286, allocations: 8 kB / 481.3 MB, free: 2.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.5299, allocations: 1.027 MB / 482.4 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007503/0.5307, allocations: 431.7 kB / 482.8 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.5308, allocations: 20 kB / 482.8 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.5311, allocations: 27.98 kB / 482.8 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.5314, allocations: 75.91 kB / 482.9 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003197/0.5317, allocations: 263.6 kB / 483.2 MB, free: 408 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009996/0.5327, allocations: 0.6862 MB / 483.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5327, allocations: 0 / 483.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004194/0.5331, allocations: 92 kB / 483.9 MB, free: 15.62 MB / 346.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.0002481/0.5334, allocations: 137.5 kB / 484.1 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.5345, allocations: 0.8975 MB / 485 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.5345, allocations: 4.062 kB / 485 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006956/0.5352, allocations: 0.7647 MB / 485.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.5361, allocations: 226.5 kB / 486 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.538, allocations: 1.068 MB / 487 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006513/0.5387, allocations: 0.9675 MB / 488 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.5389, allocations: 85.14 kB / 488.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.539, allocations: 43.36 kB / 488.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of SimCode: time 4.01e-07/0.539, allocations: 4 kB / 488.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of Templates: time 0.01736/0.5564, allocations: 11.91 MB / 0.4883 GB, free: 15.09 MB / 362.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)