Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001352/0.001351, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001715/0.001715, allocations: 191.2 kB / 16.25 MB, free: 6.582 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.977/1.977, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.001208/0.001209, allocations: 55.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3447, allocations: 46.62 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004461/0.3492, allocations: 1.868 MB / 326.7 MB, free: 448 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002506/0.3518, allocations: 0.9796 MB / 327.7 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.352, allocations: 5.406 kB / 327.7 MB, free: 15.68 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.3523, allocations: 14.64 kB / 327.7 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002005/0.3525, allocations: 34.95 kB / 327.7 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.3531, allocations: 83.33 kB / 327.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006822/0.3538, allocations: 320.2 kB / 328.1 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.354, allocations: 47.97 kB / 328.2 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.3551, allocations: 0.7352 MB / 328.9 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.3554, allocations: 158.3 kB / 329.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.3555, allocations: 20.16 kB / 329.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.71e-05/0.3556, allocations: 21.09 kB / 329.1 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.3558, allocations: 135.7 kB / 329.2 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.3562, allocations: 250.1 kB / 329.5 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.3573, allocations: 0.7379 MB / 330.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3573, allocations: 0 / 330.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3573, allocations: 1.125 kB / 330.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3573, allocations: 0 / 330.2 MB, free: 14.16 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.001567/0.3589, allocations: 1.167 MB / 331.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.359, allocations: 12.75 kB / 331.4 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3591, allocations: 77.25 kB / 331.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.3596, allocations: 394.9 kB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.3597, allocations: 10.78 kB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.595e-05/0.3598, allocations: 20.75 kB / 331.9 MB, free: 12.7 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.3604, allocations: 250.6 kB / 332.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.3604, allocations: 5.094 kB / 332.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.631e-05/0.3605, allocations: 10.47 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3605, allocations: 2.156 kB / 332.2 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.3609, allocations: 139 kB / 332.3 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.362, allocations: 0.7379 MB / 333 MB, free: 11.71 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.3624, allocations: 198.4 kB / 333.2 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.3627, allocations: 176.8 kB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3627, allocations: 4 kB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005729/0.3633, allocations: 389.8 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.3633, allocations: 4 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001412/0.3647, allocations: 0.9208 MB / 334.7 MB, free: 9.93 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.3649, allocations: 281 kB / 335 MB, free: 9.594 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.3661, allocations: 0.9491 MB / 335.9 MB, free: 8.637 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.3661, allocations: 37.7 kB / 336 MB, free: 8.594 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.3663, allocations: 141.9 kB / 336.1 MB, free: 8.449 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.773e-05/0.3663, allocations: 59.2 kB / 336.2 MB, free: 8.391 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.3666, allocations: 161.1 kB / 336.3 MB, free: 8.227 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3667, allocations: 338.8 kB / 336.7 MB, free: 7.887 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.367, allocations: 124.2 kB / 336.8 MB, free: 7.766 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.3672, allocations: 163.9 kB / 336.9 MB, free: 7.594 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.3679, allocations: 0.6943 MB / 337.6 MB, free: 6.785 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.368, allocations: 7.938 kB / 337.6 MB, free: 6.777 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001019/0.369, allocations: 0.7565 MB / 338.4 MB, free: 5.965 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.3691, allocations: 241.6 kB / 338.6 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3691, allocations: 0 / 338.6 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3692, allocations: 7.984 kB / 338.6 MB, free: 5.672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.15e-05/0.3692, allocations: 7.938 kB / 338.6 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3692, allocations: 4 kB / 338.7 MB, free: 5.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.3695, allocations: 31.89 kB / 338.7 MB, free: 5.629 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3696, allocations: 104.2 kB / 338.8 MB, free: 5.527 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.0006485/0.3703, allocations: 0.624 MB / 339.4 MB, free: 4.844 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.684e-05/0.3704, allocations: 75.16 kB / 339.5 MB, free: 4.77 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.3706, allocations: 126.9 kB / 339.6 MB, free: 4.641 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3706, allocations: 4 kB / 339.6 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3706, allocations: 0 / 339.6 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3706, allocations: 0 / 339.6 MB, free: 4.637 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3724, allocations: 1.437 MB / 341 MB, free: 3.094 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3724, allocations: 3.984 kB / 341.1 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.3724, allocations: 4 kB / 341.1 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3724, allocations: 0 / 341.1 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.3725, allocations: 31.98 kB / 341.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3725, allocations: 0 / 341.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3725, allocations: 0 / 341.1 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.3738, allocations: 0.957 MB / 342 MB, free: 2.031 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.3744, allocations: 423.7 kB / 342.5 MB, free: 1.598 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3745, allocations: 23.98 kB / 342.5 MB, free: 1.574 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.3748, allocations: 27.92 kB / 342.5 MB, free: 1.547 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.3749, allocations: 55.94 kB / 342.6 MB, free: 1.492 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.3751, allocations: 115.8 kB / 342.7 MB, free: 1.379 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0009153/0.376, allocations: 0.6821 MB / 343.4 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.376, allocations: 0 / 343.4 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003927/0.3764, allocations: 99.94 kB / 343.5 MB, free: 0.6016 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.0002437/0.3767, allocations: 147.2 kB / 343.6 MB, free: 460 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3777, allocations: 0.8974 MB / 344.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3777, allocations: 0 / 344.5 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006233/0.3784, allocations: 0.753 MB / 345.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.3794, allocations: 286.3 kB / 345.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.3817, allocations: 1.49 MB / 347 MB, free: 12.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.3822, allocations: 0.9479 MB / 348 MB, free: 11.83 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000213/0.3825, allocations: 93.33 kB / 348.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.622e-05/0.3826, allocations: 43.38 kB / 348.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3826, allocations: 0 / 348.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of Templates: time 0.01415/0.3967, allocations: 9.238 MB / 357.3 MB, free: 2.426 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1)