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.001165/0.001165, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008393/0.008393, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.051/2.051, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005966/0.0005966, allocations: 16 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4275, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002228/0.4298, allocations: 1.512 MB / 328.5 MB, free: 220 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4321, allocations: 1.016 MB / 329.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.4323, allocations: 5.156 kB / 329.6 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.4324, allocations: 14.19 kB / 329.6 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.4326, allocations: 35.72 kB / 329.6 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.433, allocations: 90.44 kB / 329.7 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.4333, allocations: 240.9 kB / 329.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.4335, allocations: 53.62 kB / 330 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009539/0.4344, allocations: 0.7129 MB / 330.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.4347, allocations: 139.9 kB / 330.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.4347, allocations: 8.156 kB / 330.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.616e-05/0.4348, allocations: 7.406 kB / 330.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.4349, allocations: 139.4 kB / 331 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.4352, allocations: 247 kB / 331.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.436, allocations: 0.7224 MB / 331.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.436, allocations: 0.9688 kB / 331.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.436, allocations: 0 / 331.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.779e-06/0.4361, allocations: 0 / 331.9 MB, free: 13.99 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.001397/0.4375, allocations: 1.038 MB / 333 MB, free: 12.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4375, allocations: 10.44 kB / 333 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.4377, allocations: 77.41 kB / 333.1 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.4382, allocations: 387 kB / 333.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4383, allocations: 14.97 kB / 333.5 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.16e-05/0.4383, allocations: 24.78 kB / 333.5 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.439, allocations: 250 kB / 333.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.439, allocations: 0 / 333.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.439, allocations: 8.094 kB / 333.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.4391, allocations: 2.156 kB / 333.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003865/0.4394, allocations: 141.1 kB / 333.9 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.4407, allocations: 0.7348 MB / 334.6 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.4411, allocations: 202.4 kB / 334.8 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.4414, allocations: 172.8 kB / 335 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.4415, allocations: 4 kB / 335 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005829/0.442, allocations: 393.9 kB / 335.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 5.52e-06/0.4421, allocations: 0 / 335.4 MB, free: 10.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001538/0.4436, allocations: 0.9285 MB / 336.3 MB, free: 9.797 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.4438, allocations: 281 kB / 336.6 MB, free: 9.461 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.4451, allocations: 0.9529 MB / 337.5 MB, free: 8.5 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.4452, allocations: 37.7 kB / 337.6 MB, free: 8.457 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.4453, allocations: 134 kB / 337.7 MB, free: 8.32 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.4454, allocations: 67.25 kB / 337.8 MB, free: 8.254 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.4454, allocations: 41.7 kB / 337.8 MB, free: 8.207 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.4456, allocations: 330.8 kB / 338.1 MB, free: 7.875 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.4459, allocations: 128.2 kB / 338.2 MB, free: 7.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.4461, allocations: 167.8 kB / 338.4 MB, free: 7.574 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007193/0.4469, allocations: 0.6944 MB / 339.1 MB, free: 6.766 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.4469, allocations: 7.875 kB / 339.1 MB, free: 6.758 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001143/0.448, allocations: 0.7564 MB / 339.9 MB, free: 5.945 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001864/0.4482, allocations: 245.6 kB / 340.1 MB, free: 5.656 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4482, allocations: 4 kB / 340.1 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4483, allocations: 0 / 340.1 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.4483, allocations: 7.938 kB / 340.1 MB, free: 5.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.4483, allocations: 8.094 kB / 340.1 MB, free: 5.637 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.4487, allocations: 27.98 kB / 340.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/0.4488, allocations: 108.1 kB / 340.3 MB, free: 5.504 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.0007726/0.4496, allocations: 0.62 MB / 340.9 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.4497, allocations: 79.06 kB / 341 MB, free: 4.746 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.4499, allocations: 126.9 kB / 341.1 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.45, allocations: 0 / 341.1 MB, free: 4.617 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.45, allocations: 8 kB / 341.1 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.45, allocations: 0 / 341.1 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.4519, allocations: 1.437 MB / 342.5 MB, free: 3.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4519, allocations: 0 / 342.5 MB, free: 3.066 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.452, allocations: 4 kB / 342.5 MB, free: 3.062 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.452, allocations: 0 / 342.5 MB, free: 3.062 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.025e-05/0.452, allocations: 27.98 kB / 342.6 MB, free: 3.035 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.452, allocations: 4 kB / 342.6 MB, free: 3.031 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.452, allocations: 4 kB / 342.6 MB, free: 3.027 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.4533, allocations: 0.9647 MB / 343.5 MB, free: 1.996 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/0.4539, allocations: 411.8 kB / 343.9 MB, free: 1.574 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.454, allocations: 20 kB / 344 MB, free: 1.555 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.4542, allocations: 31.92 kB / 344 MB, free: 1.523 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.4544, allocations: 51.94 kB / 344 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.4545, allocations: 119.8 kB / 344.1 MB, free: 1.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.4556, allocations: 0.6899 MB / 344.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4556, allocations: 0 / 344.8 MB, free: 0.668 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.456, allocations: 99.84 kB / 344.9 MB, free: 0.5703 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 (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.0002005/0.4562, allocations: 143.2 kB / 345.1 MB, free: 432 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.4573, allocations: 0.8818 MB / 346 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4573, allocations: 192 / 346 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.458, allocations: 0.7569 MB / 346.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.4591, allocations: 242.7 kB / 347 MB, free: 14.35 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.4617, allocations: 1.499 MB / 348.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/0.4625, allocations: 0.944 MB / 349.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.4628, allocations: 93.33 kB / 349.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4629, allocations: 43.36 kB / 349.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4629, allocations: 0 / 349.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of Templates: time 0.01429/0.4772, allocations: 8.414 MB / 357.9 MB, free: 3.273 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)