Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001296, allocations: 96.97 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004043, allocations: 8 kB / 306.6 MB, free: 1.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.00559/0.1366, allocations: 5.245 MB / 363.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.1398, allocations: 1.727 MB / 365.1 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.1403, allocations: 19.94 kB / 365.1 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.1407, allocations: 166.9 kB / 365.2 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1418, allocations: 0.5298 MB / 365.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.1424, allocations: 323.5 kB / 366.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004327/0.1467, allocations: 4.279 MB / 370.4 MB, free: 1.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2362/0.383, allocations: 2.025 MB / 372.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004941/0.388, allocations: 1.825 MB / 374.2 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006853/0.3949, allocations: 2.09 MB / 376.3 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002893/0.3978, allocations: 281.9 kB / 376.6 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004659/0.4025, allocations: 280.9 kB / 376.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003375/0.4059, allocations: 1 MB / 377.9 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003944/0.4098, allocations: 0.927 MB / 378.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009988/0.4199, allocations: 6.266 MB / 385 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4199, allocations: 1.5 kB / 385 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.4199, allocations: 0 / 385 MB, free: 6.715 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003535/0.4203, allocations: 0 / 385 MB, free: 6.715 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01724/0.4375, allocations: 5.017 MB / 390.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4376, allocations: 9.906 kB / 390.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/0.4434, allocations: 0.5002 MB / 390.6 MB, free: 3.773 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008653/0.452, allocations: 2.492 MB / 393.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005313/0.4526, allocations: 313.2 kB / 393.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002633/0.4553, allocations: 443.4 kB / 393.8 MB, free: 2.801 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01805/0.4733, allocations: 5.985 MB / 399.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.202e-05/0.4735, allocations: 0 / 399.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009028/0.4744, allocations: 174.2 kB / 400 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/0.4745, allocations: 96.94 kB / 400.1 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.4882, allocations: 5.364 MB / 405.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.5399, allocations: 18.22 MB / 423.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.5463, allocations: 3.695 MB / 427.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002235/0.5466, allocations: 30.38 kB / 427.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.39e-05/0.5467, allocations: 89.45 kB / 427.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=301): time 4.95e-06/0.5467, allocations: 0 / 427.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=304): time 0.01965/0.5664, allocations: 10.02 MB / 437.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.5666, allocations: 287.4 kB / 437.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007163/0.5737, allocations: 3.19 MB / 440.9 MB, free: 6.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008746/0.5746, allocations: 97.7 kB / 441 MB, free: 6.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/0.5761, allocations: 1.673 MB / 442.7 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001634/0.5778, allocations: 1.078 MB / 443.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006291/0.5784, allocations: 68 kB / 443.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003307/0.5788, allocations: 447.1 kB / 444.3 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/0.5828, allocations: 2.005 MB / 446.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004378/0.5872, allocations: 2.289 MB / 448.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.5983, allocations: 4.775 MB / 453.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.5983, allocations: 0 / 453.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.01017/0.6085, allocations: 5.283 MB / 458.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.6086, allocations: 4 kB / 458.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6086, allocations: 3.953 kB / 458.7 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000949/0.6096, allocations: 352 kB / 459 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003295/0.6129, allocations: 0.8267 MB / 459.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00639/0.6193, allocations: 7.371 MB / 467.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/0.623, allocations: 175.8 kB / 467.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005878/0.6236, allocations: 92 kB / 467.5 MB, free: 11.46 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: oLine3.L[8].i = 0.0 oLine2.L[8].i = 0.0 oLine1.L[8].i = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 15,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003625/0.6273, allocations: 1.362 MB / 468.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/0.6286, allocations: 320.4 kB / 469.1 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.6297, allocations: 413.6 kB / 469.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.568e-05/0.6298, allocations: 32 kB / 469.6 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.173e-05/0.6298, allocations: 4 kB / 469.6 MB, free: 9.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/0.6298, allocations: 15.94 kB / 469.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/0.6473, allocations: 9.166 MB / 478.8 MB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.6474, allocations: 4 kB / 478.8 MB, free: 44 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003274/0.6507, allocations: 0.7121 MB / 479.5 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000835/0.6515, allocations: 285.8 kB / 479.7 MB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/0.6519, allocations: 103.9 kB / 479.8 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008396/0.6603, allocations: 10.37 MB / 490.2 MB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.6604, allocations: 4.031 kB / 490.2 MB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/0.6739, allocations: 6.134 MB / 496.4 MB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/0.6761, allocations: 461.4 kB / 496.8 MB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/0.6778, allocations: 95.95 kB / 496.9 MB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004097/0.682, allocations: 435.5 kB / 497.3 MB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/0.6825, allocations: 182 kB / 497.5 MB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004176/0.683, allocations: 91.92 kB / 497.6 MB, free: 12.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004496/0.6875, allocations: 2.256 MB / 499.8 MB, free: 9.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6875, allocations: 0 / 499.8 MB, free: 9.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004695/0.6922, allocations: 1.027 MB / 0.4891 GB, free: 8.805 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 57 (oLine1.L[1].i,oLine1.L[2].i,oLine1.L[3].i,oLine1.L[4].i,oLine1.L[5].i,oLine1.L[6].i,oLine1.L[7].i,oLine1.C[1].v,oLine1.C[2].v,oLine1.C[3].v,oLine1.C[4].v,oLine1.C[5].v,oLine1.C[6].v,oLine1.C[7].v,oLine2.L[1].i,oLine2.L[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.C[1].v,oLine2.C[2].v,oLine2.C[3].v,oLine2.C[4].v,oLine2.C[5].v,oLine2.C[6].v,oLine2.C[7].v,oLine3.L[1].i,oLine3.L[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.C[1].v,oLine3.C[2].v,oLine3.C[3].v,oLine3.C[4].v,oLine3.C[5].v,oLine3.C[6].v,oLine3.C[7].v,oLine4.L[1].i,oLine4.L[2].i,oLine4.L[3].i,oLine4.L[4].i,oLine4.L[5].i,oLine4.L[6].i,oLine4.L[7].i,oLine4.L[8].i,oLine4.C[1].v,oLine4.C[2].v,oLine4.C[3].v,oLine4.C[4].v,oLine4.C[5].v,oLine4.C[6].v,oLine4.C[7].v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00069/0.6929, allocations: 257.3 kB / 0.4894 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007384/0.7003, allocations: 4.712 MB / 0.494 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/0.7003, allocations: 8.969 kB / 0.494 GB, free: 3.754 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004008/0.7043, allocations: 2.714 MB / 0.4966 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004406/0.7088, allocations: 0.6829 MB / 0.4973 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/0.732, allocations: 13.75 MB / 0.5107 GB, free: 2.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003644/0.7357, allocations: 3.201 MB / 0.5139 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004135/0.7398, allocations: 1.233 MB / 0.5151 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009898/0.7408, allocations: 219.4 kB / 0.5153 GB, free: 13.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.104e-06/0.7409, allocations: 0 / 0.5153 GB, free: 13.76 MB / 446.1 MB Notification: Performance of Templates: time 0.3753/1.116, allocations: 48.12 MB / 0.5623 GB, free: 125.6 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)