Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001392/0.001392, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002414/0.002413, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001751/0.001751, allocations: 56.39 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3574, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00375/0.3612, allocations: 1.802 MB / 327.1 MB, free: 436 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002843/0.3641, allocations: 0.9893 MB / 328.1 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.3643, allocations: 5.281 kB / 328.1 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3645, allocations: 18.48 kB / 328.1 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3646, allocations: 47.02 kB / 328.2 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.3651, allocations: 89.83 kB / 328.3 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005482/0.3657, allocations: 314.8 kB / 328.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.3659, allocations: 56.22 kB / 328.6 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.3672, allocations: 0.7198 MB / 329.3 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.3675, allocations: 141.8 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.748e-05/0.3676, allocations: 25.53 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.513e-05/0.3677, allocations: 20.5 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.3679, allocations: 139.3 kB / 329.7 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002874/0.3682, allocations: 241.7 kB / 329.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008454/0.369, allocations: 0.7323 MB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.369, allocations: 0 / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3691, allocations: 1.156 kB / 330.6 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3691, allocations: 0 / 330.6 MB, free: 14.14 MB / 270.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.001695/0.3708, allocations: 1.178 MB / 331.8 MB, free: 13.05 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.3708, allocations: 9.812 kB / 331.8 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.371, allocations: 82 kB / 331.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00058/0.3716, allocations: 386.3 kB / 332.3 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.3717, allocations: 19 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.765e-05/0.3717, allocations: 20.53 kB / 332.3 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.3724, allocations: 246.3 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3724, allocations: 1.219 kB / 332.5 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.157e-05/0.3725, allocations: 11.12 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3725, allocations: 2.281 kB / 332.6 MB, free: 12.52 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.3728, allocations: 136.8 kB / 332.7 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.3743, allocations: 0.7348 MB / 333.4 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.3747, allocations: 210.4 kB / 333.6 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.375, allocations: 176.8 kB / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.375, allocations: 0 / 333.8 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006825/0.3757, allocations: 385.8 kB / 334.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.3757, allocations: 0 / 334.2 MB, free: 10.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001537/0.3772, allocations: 0.9317 MB / 335.1 MB, free: 9.809 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.3774, allocations: 281.1 kB / 335.4 MB, free: 9.473 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.3787, allocations: 0.9568 MB / 336.3 MB, free: 8.508 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.3788, allocations: 37.7 kB / 336.4 MB, free: 8.465 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3789, allocations: 126 kB / 336.5 MB, free: 8.336 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.379, allocations: 63.2 kB / 336.6 MB, free: 8.273 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/0.3792, allocations: 157.1 kB / 336.7 MB, free: 8.113 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3794, allocations: 342.8 kB / 337.1 MB, free: 7.77 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.3797, allocations: 120.2 kB / 337.2 MB, free: 7.652 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.38, allocations: 171.9 kB / 337.3 MB, free: 7.473 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.3807, allocations: 0.7028 MB / 338 MB, free: 6.656 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3807, allocations: 3.938 kB / 338 MB, free: 6.652 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001121/0.3819, allocations: 0.7564 MB / 338.8 MB, free: 5.84 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.3821, allocations: 245.7 kB / 339 MB, free: 5.551 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3821, allocations: 3.984 kB / 339 MB, free: 5.547 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.3821, allocations: 4 kB / 339.1 MB, free: 5.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.258e-05/0.3822, allocations: 4 kB / 339.1 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3822, allocations: 4 kB / 339.1 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.3825, allocations: 31.89 kB / 339.1 MB, free: 5.504 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001493/0.3826, allocations: 104.1 kB / 339.2 MB, free: 5.402 MB / 270.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.0007771/0.3834, allocations: 0.62 MB / 339.8 MB, free: 4.723 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.3835, allocations: 75.16 kB / 339.9 MB, free: 4.648 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3838, allocations: 130.9 kB / 340 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3838, allocations: 0 / 340 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.3838, allocations: 0 / 340 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3838, allocations: 0 / 340 MB, free: 4.516 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.3858, allocations: 1.425 MB / 341.4 MB, free: 2.984 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3858, allocations: 4 kB / 341.4 MB, free: 2.98 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.119e-05/0.3859, allocations: 7.984 kB / 341.5 MB, free: 2.973 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3859, allocations: 4 kB / 341.5 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.029e-05/0.386, allocations: 27.98 kB / 341.5 MB, free: 2.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.386, allocations: 0 / 341.5 MB, free: 2.941 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.386, allocations: 3.984 kB / 341.5 MB, free: 2.938 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.3875, allocations: 0.9571 MB / 342.4 MB, free: 1.914 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.3881, allocations: 411.7 kB / 342.8 MB, free: 1.492 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3883, allocations: 27.98 kB / 342.9 MB, free: 1.465 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.3885, allocations: 27.97 kB / 342.9 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.3887, allocations: 59.88 kB / 343 MB, free: 1.379 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/0.3889, allocations: 119.8 kB / 343.1 MB, free: 1.262 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001129/0.39, allocations: 0.6899 MB / 343.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3901, allocations: 0 / 343.8 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004936/0.3906, allocations: 99.88 kB / 343.9 MB, free: 488 kB / 270.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.0002865/0.3908, allocations: 139.2 kB / 344 MB, free: 340 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.3922, allocations: 0.8936 MB / 344.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3922, allocations: 0 / 344.9 MB, free: 15.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.393, allocations: 0.753 MB / 345.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3942, allocations: 278.2 kB / 345.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.3966, allocations: 1.291 MB / 347.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/0.3974, allocations: 0.9479 MB / 348.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.3977, allocations: 93.33 kB / 348.2 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3978, allocations: 47.36 kB / 348.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3978, allocations: 0 / 348.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of Templates: time 0.01747/0.4153, allocations: 9.503 MB / 357.8 MB, free: 2.25 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)