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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 88.53 kB / 16.31 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.881/1.881, allocations: 205.4 MB / 223.4 MB, free: 5.277 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.0005522/0.0005523, allocations: 8 kB / 280.1 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3677, allocations: 47.6 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.001701/0.3694, allocations: 1.46 MB / 329.2 MB, free: 264 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.3714, allocations: 0.9447 MB / 330.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.3715, allocations: 0.9688 kB / 330.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.3716, allocations: 15.39 kB / 330.2 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.3717, allocations: 26.06 kB / 330.2 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.372, allocations: 71.53 kB / 330.3 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.3723, allocations: 235.5 kB / 330.5 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3724, allocations: 38.38 kB / 330.5 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.3733, allocations: 0.6418 MB / 331.2 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.3735, allocations: 154 kB / 331.3 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.935e-05/0.3736, allocations: 7.594 kB / 331.3 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.47e-05/0.3737, allocations: 11.41 kB / 331.3 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.3738, allocations: 131.5 kB / 331.5 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3739, allocations: 124.3 kB / 331.6 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005472/0.3745, allocations: 0.5927 MB / 332.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3745, allocations: 0 / 332.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3745, allocations: 0.9688 kB / 332.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3745, allocations: 0 / 332.2 MB, free: 14.38 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.001295/0.3758, allocations: 1.052 MB / 333.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3759, allocations: 8.781 kB / 333.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.376, allocations: 77 kB / 333.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.3765, allocations: 364.3 kB / 333.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.3765, allocations: 8.906 kB / 333.7 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.3766, allocations: 25.66 kB / 333.7 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.3771, allocations: 249.9 kB / 333.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.3771, allocations: 0 / 333.9 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.3772, allocations: 11.61 kB / 334 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3772, allocations: 2.094 kB / 334 MB, free: 12.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.3775, allocations: 139.4 kB / 334.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.3787, allocations: 0.736 MB / 334.8 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3791, allocations: 198.4 kB / 335 MB, free: 11.97 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3794, allocations: 176.8 kB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3794, allocations: 4 kB / 335.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005292/0.3799, allocations: 385.9 kB / 335.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.834e-06/0.3799, allocations: 0 / 335.6 MB, free: 11.38 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.0014/0.3813, allocations: 0.9284 MB / 336.5 MB, free: 10.39 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.3815, allocations: 285 kB / 336.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.3828, allocations: 0.9452 MB / 337.7 MB, free: 9.098 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.3828, allocations: 41.64 kB / 337.8 MB, free: 9.051 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3829, allocations: 122 kB / 337.9 MB, free: 8.926 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.383, allocations: 71.19 kB / 338 MB, free: 8.855 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3831, allocations: 12 kB / 338 MB, free: 8.844 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002184/0.3833, allocations: 334.8 kB / 338.3 MB, free: 8.508 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.3835, allocations: 124.2 kB / 338.4 MB, free: 8.387 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.3838, allocations: 156 kB / 338.6 MB, free: 8.223 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.3842, allocations: 357.5 kB / 338.9 MB, free: 7.824 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3842, allocations: 0 / 338.9 MB, free: 7.824 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001071/0.3853, allocations: 0.7525 MB / 339.7 MB, free: 7.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.3854, allocations: 249.6 kB / 339.9 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3855, allocations: 0 / 339.9 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3855, allocations: 0 / 339.9 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.75e-05/0.3855, allocations: 11.95 kB / 339.9 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3855, allocations: 7.938 kB / 339.9 MB, free: 6.703 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.3858, allocations: 36.08 kB / 340 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.3859, allocations: 104.1 kB / 340.1 MB, free: 6.566 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,$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.0006192/0.3866, allocations: 0.6162 MB / 340.7 MB, free: 5.891 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/0.3867, allocations: 75.16 kB / 340.8 MB, free: 5.816 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3869, allocations: 130.9 kB / 340.9 MB, free: 5.684 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.3869, allocations: 4 kB / 340.9 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3869, allocations: 3.953 kB / 340.9 MB, free: 5.676 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3869, allocations: 7.938 kB / 340.9 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.3889, allocations: 1.421 MB / 342.3 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3889, allocations: 0 / 342.3 MB, free: 4.141 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.3889, allocations: 4 kB / 342.3 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3889, allocations: 0 / 342.3 MB, free: 4.137 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.389, allocations: 27.98 kB / 342.4 MB, free: 4.109 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.389, allocations: 7.953 kB / 342.4 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.389, allocations: 0 / 342.4 MB, free: 4.102 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3904, allocations: 0.9609 MB / 343.3 MB, free: 3.074 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005485/0.391, allocations: 419.7 kB / 343.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.3911, allocations: 20 kB / 343.8 MB, free: 2.625 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3913, allocations: 27.98 kB / 343.8 MB, free: 2.598 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.3915, allocations: 59.88 kB / 343.8 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.3916, allocations: 111.9 kB / 343.9 MB, free: 2.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0009243/0.3925, allocations: 0.6899 MB / 344.6 MB, free: 1.742 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3926, allocations: 4 kB / 344.6 MB, free: 1.738 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.3929, allocations: 95.94 kB / 344.7 MB, free: 1.645 MB / 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 (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.0002118/0.3931, allocations: 143.2 kB / 344.9 MB, free: 1.496 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009996/0.3942, allocations: 0.8857 MB / 345.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3942, allocations: 0 / 345.8 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.3949, allocations: 0.7608 MB / 346.5 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/0.3958, allocations: 242.8 kB / 346.8 MB, free: 15.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.3978, allocations: 1.448 MB / 348.2 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006935/0.3985, allocations: 0.9401 MB / 349.1 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001996/0.3987, allocations: 89.34 kB / 349.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.3988, allocations: 47.38 kB / 349.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3988, allocations: 0 / 349.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of Templates: time 0.01248/0.4113, allocations: 8.219 MB / 357.5 MB, free: 4.59 MB / 286.1 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)