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.0009547/0.0009547, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.227/1.227, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001681/0.001681, allocations: 112.1 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.0003191, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09409/0.09443, allocations: 44.52 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2438/0.3383, allocations: 78.55 MB / 433.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000181/0.3385, allocations: 74.31 kB / 433.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07263/0.4112, allocations: 42.87 MB / 476.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4112, allocations: 0 / 476.6 MB, free: 2.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.4112, allocations: 8 kB / 476.6 MB, free: 2.871 MB / 346.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.0009784/0.4122, allocations: 1.056 MB / 477.6 MB, free: 1.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4123, allocations: 12.03 kB / 477.6 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4124, allocations: 71.16 kB / 477.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.4129, allocations: 371.9 kB / 478.1 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.413, allocations: 12.19 kB / 478.1 MB, free: 1.211 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.413, allocations: 20 kB / 478.1 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.4135, allocations: 303 kB / 478.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4136, allocations: 0.75 kB / 478.4 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.4136, allocations: 15.98 kB / 478.4 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4136, allocations: 4 kB / 478.4 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.4139, allocations: 148.6 kB / 478.6 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.4151, allocations: 0.7632 MB / 479.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.4155, allocations: 226.4 kB / 479.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.4155, allocations: 4 kB / 479.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005804/0.4161, allocations: 433.8 kB / 480 MB, free: 15.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.4161, allocations: 0.75 kB / 480 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001786/0.4179, allocations: 1.333 MB / 481.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.4181, allocations: 285 kB / 481.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009531/0.419, allocations: 0.8313 MB / 482.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.4191, allocations: 37.7 kB / 482.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.4192, allocations: 122 kB / 482.6 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.4193, allocations: 63.17 kB / 482.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.4193, allocations: 12 kB / 482.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4194, allocations: 344 kB / 483 MB, free: 12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.4197, allocations: 140.2 kB / 483.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.42, allocations: 176 kB / 483.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003494/0.4203, allocations: 365.5 kB / 483.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4203, allocations: 3.938 kB / 483.6 MB, free: 11.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001061/0.4214, allocations: 0.8305 MB / 484.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.4215, allocations: 245.6 kB / 484.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4215, allocations: 4 kB / 484.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4216, allocations: 0 / 484.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.636e-05/0.4216, allocations: 4 kB / 484.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4216, allocations: 4 kB / 484.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.4218, allocations: 39.86 kB / 484.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.4221, allocations: 267.8 kB / 485 MB, free: 9.777 MB / 362.7 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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005642/0.4227, allocations: 0.609 MB / 485.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.166e-05/0.4228, allocations: 75.16 kB / 485.7 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.4229, allocations: 126.9 kB / 485.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4229, allocations: 0 / 485.8 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.423, allocations: 4 kB / 485.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.423, allocations: 0 / 485.8 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4248, allocations: 1.504 MB / 487.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4248, allocations: 0 / 487.3 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-05/0.4248, allocations: 4 kB / 487.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4249, allocations: 3.984 kB / 487.4 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.4249, allocations: 51.95 kB / 487.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4249, allocations: 0 / 487.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4249, allocations: 0 / 487.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.4262, allocations: 1.027 MB / 488.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006353/0.4268, allocations: 439.7 kB / 488.9 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4269, allocations: 20 kB / 488.9 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.4272, allocations: 27.97 kB / 488.9 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.4274, allocations: 77.97 kB / 489 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/0.4276, allocations: 267.5 kB / 489.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008157/0.4284, allocations: 0.6899 MB / 489.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4284, allocations: 0 / 489.9 MB, free: 4.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003694/0.4288, allocations: 92 kB / 490 MB, free: 4.535 MB / 362.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]) * 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 (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.0001872/0.429, allocations: 151.2 kB / 490.2 MB, free: 4.379 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.43, allocations: 0.9091 MB / 491.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.43, allocations: 0 / 491.1 MB, free: 3.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000656/0.4306, allocations: 0.7687 MB / 491.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.4314, allocations: 227 kB / 492.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4333, allocations: 1.46 MB / 493.5 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005586/0.4339, allocations: 0.9597 MB / 494.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.4341, allocations: 92.61 kB / 494.6 MB, free: 15.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.315e-05/0.4341, allocations: 47.34 kB / 494.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4342, allocations: 3.938 kB / 494.6 MB, free: 15.67 MB / 378.7 MB Notification: Performance of Templates: time 0.01379/0.4479, allocations: 11.91 MB / 0.4947 GB, free: 3.605 MB / 378.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)