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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001751/0.001751, allocations: 192.2 kB / 16.14 MB, free: 6.715 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.894/1.894, allocations: 205.1 MB / 222 MB, free: 4.773 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.001451/0.00145, allocations: 51.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4052, allocations: 46.63 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003657/0.409, allocations: 1.85 MB / 326.5 MB, free: 464 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.4119, allocations: 1.039 MB / 327.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.4121, allocations: 1.062 kB / 327.6 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.4124, allocations: 26.16 kB / 327.6 MB, free: 15.64 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.4126, allocations: 26.72 kB / 327.6 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.4131, allocations: 91.7 kB / 327.7 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.4137, allocations: 244.4 kB / 327.9 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.4139, allocations: 46.81 kB / 328 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.4153, allocations: 0.719 MB / 328.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.4156, allocations: 144.3 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.4157, allocations: 10.22 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.4158, allocations: 9.469 kB / 328.9 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.416, allocations: 143.2 kB / 329 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000374/0.4164, allocations: 226.5 kB / 329.2 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009209/0.4173, allocations: 0.7233 MB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4173, allocations: 4 kB / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4173, allocations: 0 / 330 MB, free: 14.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4174, allocations: 0 / 330 MB, free: 14.23 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.001801/0.4192, allocations: 1.17 MB / 331.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.4193, allocations: 10.72 kB / 331.1 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.4194, allocations: 76.75 kB / 331.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.42, allocations: 394.8 kB / 331.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/0.4201, allocations: 15.75 kB / 331.6 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.4202, allocations: 19.84 kB / 331.6 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007301/0.4209, allocations: 251.1 kB / 331.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.4209, allocations: 0 / 331.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/0.421, allocations: 7.844 kB / 331.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.421, allocations: 1.812 kB / 331.9 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.4214, allocations: 135.1 kB / 332 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.4227, allocations: 0.739 MB / 332.8 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.4231, allocations: 202.4 kB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.4235, allocations: 176.8 kB / 333.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.4235, allocations: 4 kB / 333.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007333/0.4243, allocations: 393.8 kB / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.4243, allocations: 0 / 333.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=29): time 0.001566/0.4258, allocations: 0.9247 MB / 334.4 MB, free: 10.07 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002015/0.426, allocations: 285 kB / 334.7 MB, free: 9.734 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.4273, allocations: 0.949 MB / 335.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.4274, allocations: 41.69 kB / 335.7 MB, free: 8.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4275, allocations: 126 kB / 335.8 MB, free: 8.602 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.4276, allocations: 71.12 kB / 335.9 MB, free: 8.531 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.4278, allocations: 161.1 kB / 336.1 MB, free: 8.367 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.428, allocations: 338.8 kB / 336.4 MB, free: 8.027 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.4283, allocations: 120.2 kB / 336.5 MB, free: 7.91 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.4286, allocations: 167.8 kB / 336.7 MB, free: 7.734 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.4294, allocations: 0.7021 MB / 337.4 MB, free: 6.918 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4294, allocations: 3.938 kB / 337.4 MB, free: 6.914 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001129/0.4305, allocations: 0.7525 MB / 338.1 MB, free: 6.105 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002001/0.4307, allocations: 245.6 kB / 338.4 MB, free: 5.816 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.4307, allocations: 0 / 338.4 MB, free: 5.816 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.53e-05/0.4308, allocations: 8.078 kB / 338.4 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.471e-05/0.4308, allocations: 11.98 kB / 338.4 MB, free: 5.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4308, allocations: 0 / 338.4 MB, free: 5.797 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.4311, allocations: 31.89 kB / 338.4 MB, free: 5.766 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.4313, allocations: 108.1 kB / 338.5 MB, free: 5.66 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.0006701/0.432, allocations: 0.6122 MB / 339.1 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4321, allocations: 75.16 kB / 339.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.4323, allocations: 126.9 kB / 339.3 MB, free: 4.785 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.4323, allocations: 4 kB / 339.3 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4323, allocations: 0 / 339.3 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.4323, allocations: 3.984 kB / 339.3 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.4341, allocations: 1.437 MB / 340.8 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4341, allocations: 0 / 340.8 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.544e-05/0.4342, allocations: 4 kB / 340.8 MB, free: 3.23 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.4342, allocations: 3.984 kB / 340.8 MB, free: 3.227 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.803e-05/0.4342, allocations: 35.92 kB / 340.8 MB, free: 3.191 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4342, allocations: 4 kB / 340.8 MB, free: 3.188 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4343, allocations: 4 kB / 340.8 MB, free: 3.184 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.4355, allocations: 0.9531 MB / 341.8 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/0.4361, allocations: 415.7 kB / 342.2 MB, free: 1.738 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.4362, allocations: 24 kB / 342.2 MB, free: 1.715 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4364, allocations: 27.91 kB / 342.2 MB, free: 1.688 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.4366, allocations: 59.88 kB / 342.3 MB, free: 1.629 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/0.4368, allocations: 119.9 kB / 342.4 MB, free: 1.512 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0009517/0.4377, allocations: 0.6821 MB / 343.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4377, allocations: 0 / 343.1 MB, free: 0.832 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000397/0.4381, allocations: 95.94 kB / 343.2 MB, free: 0.7383 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.0002333/0.4384, allocations: 139.2 kB / 343.3 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001282/0.4397, allocations: 0.8818 MB / 344.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4397, allocations: 192 / 344.2 MB, free: 15.61 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000832/0.4405, allocations: 0.7569 MB / 345 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.4417, allocations: 254.6 kB / 345.2 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002555/0.4442, allocations: 1.501 MB / 346.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007593/0.445, allocations: 0.9479 MB / 347.7 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003283/0.4454, allocations: 93.33 kB / 347.8 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.4455, allocations: 43.38 kB / 347.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4455, allocations: 0 / 347.8 MB, free: 11.87 MB / 286.1 MB Notification: Performance of Templates: time 0.01605/0.4615, allocations: 8.902 MB / 356.7 MB, free: 2.938 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)