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.001679/0.001679, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001889/0.001889, allocations: 191.9 kB / 16.13 MB, free: 6.66 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.923/1.923, allocations: 205.1 MB / 222 MB, free: 5 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.0024/0.0024, allocations: 55.91 kB / 278.1 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4496, allocations: 46.62 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003487/0.4531, allocations: 1.858 MB / 326.5 MB, free: 372 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.4557, allocations: 1.034 MB / 327.6 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.4558, allocations: 1.344 kB / 327.6 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.456, allocations: 18.61 kB / 327.6 MB, free: 15.57 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.271e-05/0.4561, allocations: 34.73 kB / 327.6 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.4565, allocations: 83.58 kB / 327.7 MB, free: 15.47 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.4569, allocations: 244.8 kB / 327.9 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.4571, allocations: 53.86 kB / 328 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.4581, allocations: 0.7149 MB / 328.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.4583, allocations: 145.1 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.182e-05/0.4584, allocations: 9.812 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.4585, allocations: 10.53 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.4587, allocations: 139.4 kB / 329 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.459, allocations: 229.7 kB / 329.2 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.4598, allocations: 0.7266 MB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4598, allocations: 0 / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.4599, allocations: 1.469 kB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4599, allocations: 0 / 330 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.001512/0.4614, allocations: 1.161 MB / 331.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.4615, allocations: 9.625 kB / 331.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.4616, allocations: 82.02 kB / 331.2 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.4622, allocations: 391 kB / 331.6 MB, free: 12.69 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.4622, allocations: 18.34 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.4623, allocations: 16.97 kB / 331.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.463, allocations: 259.4 kB / 331.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.463, allocations: 0 / 331.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.4631, allocations: 10.94 kB / 331.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.4631, allocations: 2.156 kB / 331.9 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.4635, allocations: 135.7 kB / 332 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4653, allocations: 0.7358 MB / 332.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.4658, allocations: 208.8 kB / 333 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.4662, allocations: 180.8 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.4662, allocations: 4 kB / 333.1 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007059/0.4669, allocations: 389.8 kB / 333.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.833e-06/0.4669, allocations: 0 / 333.5 MB, free: 11.09 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001739/0.4687, allocations: 0.9247 MB / 334.4 MB, free: 10.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002584/0.4689, allocations: 281 kB / 334.7 MB, free: 9.773 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.4704, allocations: 0.949 MB / 335.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-05/0.4705, allocations: 37.7 kB / 335.7 MB, free: 8.773 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.4707, allocations: 130 kB / 335.8 MB, free: 8.641 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.544e-05/0.4708, allocations: 71.19 kB / 335.9 MB, free: 8.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.4711, allocations: 161.1 kB / 336.1 MB, free: 8.406 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.4713, allocations: 330.8 kB / 336.4 MB, free: 8.074 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.4716, allocations: 128.2 kB / 336.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.4719, allocations: 159.9 kB / 336.7 MB, free: 7.781 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007702/0.4727, allocations: 0.7099 MB / 337.4 MB, free: 6.957 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4727, allocations: 3.938 kB / 337.4 MB, free: 6.953 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001132/0.4738, allocations: 0.7487 MB / 338.1 MB, free: 6.148 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.4741, allocations: 245.6 kB / 338.4 MB, free: 5.859 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4741, allocations: 0 / 338.4 MB, free: 5.859 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.4741, allocations: 4.094 kB / 338.4 MB, free: 5.855 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.125e-05/0.4742, allocations: 11.94 kB / 338.4 MB, free: 5.844 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.4742, allocations: 11.97 kB / 338.4 MB, free: 5.832 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.4745, allocations: 27.89 kB / 338.4 MB, free: 5.805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.4747, allocations: 108.2 kB / 338.5 MB, free: 5.699 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.0007529/0.4755, allocations: 0.6122 MB / 339.1 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.4756, allocations: 75.16 kB / 339.2 MB, free: 4.953 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002068/0.4758, allocations: 126.9 kB / 339.3 MB, free: 4.824 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4758, allocations: 4 kB / 339.3 MB, free: 4.82 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4758, allocations: 4 kB / 339.3 MB, free: 4.816 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4758, allocations: 3.984 kB / 339.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.4779, allocations: 1.433 MB / 340.8 MB, free: 3.273 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4779, allocations: 0 / 340.8 MB, free: 3.273 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.4779, allocations: 11.94 kB / 340.8 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4779, allocations: 0 / 340.8 MB, free: 3.262 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.478, allocations: 31.97 kB / 340.8 MB, free: 3.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.478, allocations: 4 kB / 340.8 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.478, allocations: 4 kB / 340.8 MB, free: 3.223 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4795, allocations: 0.9532 MB / 341.8 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006142/0.4801, allocations: 415.7 kB / 342.2 MB, free: 1.777 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.4802, allocations: 20 kB / 342.2 MB, free: 1.758 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4805, allocations: 27.92 kB / 342.2 MB, free: 1.73 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.4807, allocations: 51.94 kB / 342.3 MB, free: 1.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.4809, allocations: 123.8 kB / 342.4 MB, free: 1.559 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.001014/0.4819, allocations: 0.6938 MB / 343.1 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.4819, allocations: 0 / 343.1 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004397/0.4824, allocations: 91.94 kB / 343.2 MB, free: 0.7773 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.0002806/0.4826, allocations: 143.2 kB / 343.3 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4838, allocations: 0.8779 MB / 344.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4838, allocations: 8.125 kB / 344.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006734/0.4845, allocations: 0.7491 MB / 345 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4856, allocations: 250.6 kB / 345.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.4881, allocations: 1.51 MB / 346.7 MB, free: 13.01 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/0.489, allocations: 0.9479 MB / 347.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.4894, allocations: 89.34 kB / 347.8 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.4895, allocations: 51.36 kB / 347.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4895, allocations: 0 / 347.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of Templates: time 0.01891/0.5085, allocations: 8.89 MB / 356.7 MB, free: 2.98 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)