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.001677/0.001677, allocations: 104.8 kB / 17.05 MB, free: 6.023 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.002281/0.002281, allocations: 196 kB / 18 MB, free: 5.105 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.84/1.84, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.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.001274/0.001274, allocations: 59.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1295, allocations: 46.61 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.004606/0.1341, allocations: 1.812 MB / 376.3 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002962/0.1371, allocations: 0.979 MB / 377.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.1374, allocations: 4 kB / 377.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1377, allocations: 27.73 kB / 377.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000208/0.138, allocations: 31.7 kB / 377.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000695/0.1387, allocations: 103.8 kB / 377.4 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.1394, allocations: 315.4 kB / 377.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.1396, allocations: 53.64 kB / 377.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1408, allocations: 0.7485 MB / 378.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.1411, allocations: 143.4 kB / 378.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.1413, allocations: 20 kB / 378.7 MB, free: 344 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.046e-05/0.1414, allocations: 20 kB / 378.7 MB, free: 324 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.1416, allocations: 143.5 kB / 378.9 MB, free: 180 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3525/0.4941, allocations: 244.2 kB / 379.1 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.4957, allocations: 0.7441 MB / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.4958, allocations: 2.219 kB / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4958, allocations: 0 / 379.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.4958, allocations: 0.9062 kB / 379.8 MB, free: 10.47 MB / 318.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.001666/0.4975, allocations: 1.165 MB / 381 MB, free: 9.574 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.076e-05/0.4975, allocations: 9.031 kB / 381 MB, free: 9.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.4977, allocations: 78.86 kB / 381.1 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.4982, allocations: 385.7 kB / 381.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.4983, allocations: 13.62 kB / 381.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.4984, allocations: 20.19 kB / 381.5 MB, free: 9.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007887/0.4992, allocations: 261.6 kB / 381.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.4992, allocations: 3.938 kB / 381.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.312e-05/0.4992, allocations: 11.48 kB / 381.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4993, allocations: 1.375 kB / 381.8 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003981/0.4997, allocations: 138.1 kB / 381.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002027/0.5017, allocations: 0.729 MB / 382.6 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.5023, allocations: 202.9 kB / 382.8 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004031/0.5027, allocations: 186.4 kB / 383 MB, free: 8.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.5028, allocations: 5.438 kB / 383 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001086/0.5039, allocations: 380.9 kB / 383.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 4.578e-06/0.5039, allocations: 3.531 kB / 383.4 MB, free: 8.652 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.002463/0.5064, allocations: 0.929 MB / 384.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002291/0.5066, allocations: 285.8 kB / 384.6 MB, free: 8.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.5089, allocations: 0.9458 MB / 385.6 MB, free: 7.715 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.509, allocations: 38.09 kB / 385.6 MB, free: 7.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.5091, allocations: 124.6 kB / 385.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.5093, allocations: 66.36 kB / 385.8 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.5097, allocations: 167.9 kB / 385.9 MB, free: 7.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5099, allocations: 333.1 kB / 386.3 MB, free: 7.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.5103, allocations: 127.6 kB / 386.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004064/0.5107, allocations: 156.6 kB / 386.6 MB, free: 7.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.5116, allocations: 0.7022 MB / 387.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.5117, allocations: 0 / 387.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001645/0.5133, allocations: 0.7561 MB / 388 MB, free: 6.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002725/0.5136, allocations: 248.3 kB / 388.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.5136, allocations: 0 / 388.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/0.5137, allocations: 5.781 kB / 388.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.179e-05/0.5138, allocations: 14.06 kB / 388.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.5138, allocations: 2.75 kB / 388.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.5143, allocations: 30.22 kB / 388.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/0.5145, allocations: 111.7 kB / 388.4 MB, free: 5.727 MB / 318.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.001645/0.5162, allocations: 0.6178 MB / 389 MB, free: 5.238 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.5165, allocations: 75.5 kB / 389.1 MB, free: 5.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.517, allocations: 131.1 kB / 389.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.517, allocations: 5.125 kB / 389.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/0.517, allocations: 1.125 kB / 389.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/0.517, allocations: 1.688 kB / 389.2 MB, free: 5.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.5212, allocations: 1.424 MB / 390.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5212, allocations: 1.969 kB / 390.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.5212, allocations: 3.844 kB / 390.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.5212, allocations: 1.844 kB / 390.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/0.5213, allocations: 29.03 kB / 390.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.5214, allocations: 1.938 kB / 390.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.5214, allocations: 1.969 kB / 390.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.5234, allocations: 0.9725 MB / 391.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/0.5248, allocations: 410.5 kB / 392.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.5249, allocations: 21.78 kB / 392.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002891/0.5252, allocations: 28.8 kB / 392.1 MB, free: 3.391 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/0.5255, allocations: 48.39 kB / 392.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/0.5257, allocations: 114.7 kB / 392.3 MB, free: 3.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001811/0.5276, allocations: 0.6957 MB / 393 MB, free: 3.027 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5276, allocations: 1.188 kB / 393 MB, free: 3.027 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007741/0.5284, allocations: 95.25 kB / 393.1 MB, free: 3.02 MB / 318.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.000383/0.5288, allocations: 152 kB / 393.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.5302, allocations: 0.8848 MB / 394.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5302, allocations: 1.062 kB / 394.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007537/0.531, allocations: 0.7503 MB / 394.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.5325, allocations: 273.2 kB / 395.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.5367, allocations: 1.281 MB / 396.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.5381, allocations: 0.9451 MB / 397.4 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006934/0.5388, allocations: 93.08 kB / 397.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.5389, allocations: 46.06 kB / 397.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 3.587e-06/0.539, allocations: 0 / 397.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.03082/0.5698, allocations: 9.69 MB / 407.2 MB, free: 12.42 MB / 334.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)