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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.000956/0.000956, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009263/0.0009267, allocations: 93.31 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.845e-05, allocations: 4 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 51.48 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4657, allocations: 81.92 MB / 477.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.4659, allocations: 82.36 kB / 477.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2141/0.68, allocations: 78.61 MB / 0.5428 GB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6801, allocations: 4 kB / 0.5428 GB, free: 1.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004518/0.6806, allocations: 104 kB / 0.5429 GB, free: 1.359 MB / 410.7 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.0125/0.6931, allocations: 4.378 MB / 0.5471 GB, free: 12.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.6931, allocations: 14.19 kB / 0.5472 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.6958, allocations: 0.5021 MB / 0.5476 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008701/0.7045, allocations: 2.998 MB / 0.5506 GB, free: 9.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.7047, allocations: 132 kB / 0.5507 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001254/0.706, allocations: 275.7 kB / 0.551 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009936/0.7159, allocations: 4.83 MB / 0.5557 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/0.7274, allocations: 5.108 MB / 0.5607 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/0.7275, allocations: 7.938 kB / 0.5607 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004264/0.7279, allocations: 8 kB / 0.5607 GB, free: 14.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/0.728, allocations: 96 kB / 0.5608 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.274/1.002, allocations: 17.34 MB / 0.5777 GB, free: 79.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/1.006, allocations: 3.525 MB / 0.5811 GB, free: 79.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002786/1.009, allocations: 2.885 MB / 0.584 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.009, allocations: 35.03 kB / 0.584 GB, free: 79.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.814e-05/1.009, allocations: 79.94 kB / 0.5841 GB, free: 79.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=301): time 4.308e-06/1.009, allocations: 3.219 kB / 0.5841 GB, free: 79.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=304): time 0.01046/1.02, allocations: 7.631 MB / 0.5915 GB, free: 78.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/1.02, allocations: 290.7 kB / 0.5918 GB, free: 78.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003301/1.023, allocations: 2.506 MB / 0.5943 GB, free: 77.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/1.024, allocations: 38.22 kB / 0.5943 GB, free: 77.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.025, allocations: 1.663 MB / 0.5959 GB, free: 77.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008172/1.026, allocations: 1.044 MB / 0.5969 GB, free: 76.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/1.026, allocations: 7.188 kB / 0.5969 GB, free: 76.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/1.026, allocations: 440.8 kB / 0.5974 GB, free: 76.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.028, allocations: 1.892 MB / 0.5992 GB, free: 76.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/1.031, allocations: 2.16 MB / 0.6013 GB, free: 76.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008273/1.039, allocations: 4.829 MB / 0.606 GB, free: 75.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.039, allocations: 0 / 0.606 GB, free: 75.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=426) (initialization): time 0.006062/1.045, allocations: 4.918 MB / 0.6108 GB, free: 74.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.045, allocations: 4.094 kB / 0.6108 GB, free: 74.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/1.045, allocations: 3.625 kB / 0.6108 GB, free: 74.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/1.046, allocations: 331 kB / 0.6112 GB, free: 74.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003065/1.049, allocations: 0.8197 MB / 0.612 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/1.054, allocations: 6.979 MB / 0.6188 GB, free: 68.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.057, allocations: 102.7 kB / 0.6189 GB, free: 68.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/1.057, allocations: 95.36 kB / 0.619 GB, free: 68.87 MB / 442.7 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 () * 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.0007132/1.058, allocations: 163.1 kB / 0.6191 GB, free: 68.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/1.059, allocations: 294.6 kB / 0.6194 GB, free: 68.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/1.059, allocations: 364.1 kB / 0.6197 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/1.059, allocations: 28.91 kB / 0.6198 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.022e-05/1.059, allocations: 4.406 kB / 0.6198 GB, free: 68.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/1.06, allocations: 27.95 kB / 0.6198 GB, free: 68.37 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.071, allocations: 8.399 MB / 0.628 GB, free: 65.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/1.071, allocations: 2.812 kB / 0.628 GB, free: 65.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003174/1.074, allocations: 0.7037 MB / 0.6287 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006165/1.075, allocations: 275.7 kB / 0.629 GB, free: 65.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00018/1.075, allocations: 63.41 kB / 0.629 GB, free: 65.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005456/1.08, allocations: 9.859 MB / 0.6387 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.08, allocations: 4.625 kB / 0.6387 GB, free: 55.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008657/1.089, allocations: 5.777 MB / 0.6443 GB, free: 53.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.09, allocations: 430.5 kB / 0.6447 GB, free: 53.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000443/1.091, allocations: 49.09 kB / 0.6448 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/1.093, allocations: 372 kB / 0.6451 GB, free: 53.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/1.094, allocations: 183.4 kB / 0.6453 GB, free: 53.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.094, allocations: 93.64 kB / 0.6454 GB, free: 53.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002338/1.096, allocations: 1.907 MB / 0.6472 GB, free: 52.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.096, allocations: 0 / 0.6472 GB, free: 52.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002373/1.099, allocations: 0.9031 MB / 0.6481 GB, free: 52.25 MB / 442.7 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 () * 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.0003724/1.099, allocations: 195.6 kB / 0.6483 GB, free: 52.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004781/1.104, allocations: 4.45 MB / 0.6527 GB, free: 50.31 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.104, allocations: 9.953 kB / 0.6527 GB, free: 50.31 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002376/1.106, allocations: 2.567 MB / 0.6552 GB, free: 48.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/1.108, allocations: 0.5084 MB / 0.6557 GB, free: 48.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.124, allocations: 10.56 MB / 0.666 GB, free: 44.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/1.126, allocations: 3.204 MB / 0.6691 GB, free: 43.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003424/1.13, allocations: 1.188 MB / 0.6703 GB, free: 43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/1.13, allocations: 206.2 kB / 0.6705 GB, free: 43 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.13, allocations: 0 / 0.6705 GB, free: 43 MB / 442.7 MB Notification: Performance of Templates: time 0.05691/1.187, allocations: 39.81 MB / 0.7093 GB, free: 27.7 MB / 442.7 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)