Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 227.7 MB / 247.7 MB, free: 10.38 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 58.64 kB / 307.9 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09671, allocations: 50.54 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks): time 0.008352/0.1051, allocations: 6.689 MB / 365.1 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.1089, allocations: 1.719 MB / 366.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.1097, allocations: 23.94 kB / 366.9 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.1104, allocations: 246 kB / 367.1 MB, free: 5.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.1118, allocations: 0.5004 MB / 367.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000954/0.1127, allocations: 439.3 kB / 368 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.155/0.2677, allocations: 7.799 MB / 375.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/0.2717, allocations: 2.887 MB / 378.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.2752, allocations: 2.74 MB / 381.5 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004567/0.2798, allocations: 2.86 MB / 384.3 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.2815, allocations: 0.6586 MB / 385 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.2838, allocations: 0.657 MB / 385.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00189/0.2857, allocations: 1.593 MB / 387.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006177/0.2918, allocations: 2.948 MB / 390.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007458/0.2993, allocations: 8.137 MB / 398.3 MB, free: 56 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.2994, allocations: 6.422 kB / 398.3 MB, free: 52 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2994, allocations: 4 kB / 398.3 MB, free: 48 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002504/0.2996, allocations: 0 / 398.3 MB, free: 48 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1091 * Number of variables: 1091 Notification: Performance of Generate backend data structure: time 0.0157/0.3153, allocations: 5.916 MB / 404.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3154, allocations: 8.031 kB / 404.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.3168, allocations: 0.5146 MB / 404.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/0.3221, allocations: 2.604 MB / 407.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.3224, allocations: 320.2 kB / 407.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.3235, allocations: 440.2 kB / 408.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.3369, allocations: 6.306 MB / 414.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.851e-05/0.337, allocations: 3.938 kB / 414.4 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005472/0.3375, allocations: 175 kB / 414.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002236/0.3377, allocations: 200.5 kB / 414.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.3493, allocations: 5.555 MB / 420.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.3896, allocations: 18.71 MB / 439.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008204/0.3978, allocations: 4.512 MB / 443.6 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005362/0.4032, allocations: 3.54 MB / 447.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.4034, allocations: 58.67 kB / 447.2 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.4035, allocations: 85.94 kB / 447.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=358): time 5.26e-06/0.4035, allocations: 0 / 447.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=358): time 0.0117/0.4152, allocations: 6.418 MB / 453.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.4155, allocations: 299.8 kB / 454 MB, free: 9.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005786/0.4213, allocations: 3.209 MB / 457.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007372/0.422, allocations: 101.7 kB / 457.3 MB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.4236, allocations: 1.682 MB / 458.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.4252, allocations: 1.262 MB / 460.2 MB, free: 3.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.4264, allocations: 0.6419 MB / 460.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4266, allocations: 305.1 kB / 461.2 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003552/0.4301, allocations: 2.127 MB / 463.3 MB, free: 496 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/0.4341, allocations: 2.455 MB / 465.7 MB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/0.4536, allocations: 9.21 MB / 474.9 MB, free: 4.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4536, allocations: 0 / 474.9 MB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=480) (initialization): time 0.0108/0.4644, allocations: 5.596 MB / 480.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.4645, allocations: 4 kB / 480.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.4645, allocations: 3.938 kB / 480.5 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4656, allocations: 331.2 kB / 480.9 MB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.4699, allocations: 0.9164 MB / 481.8 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008574/0.4785, allocations: 7.846 MB / 489.6 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003832/0.4824, allocations: 400.2 kB / 490 MB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006548/0.4831, allocations: 108.1 kB / 490.1 MB, free: 4.973 MB / 398.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: oLine1.i[8] = 0.0 oLine2.i[8] = 0.0 oLine3.i[8] = 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 (453): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004182/0.4873, allocations: 1.406 MB / 491.5 MB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/0.4888, allocations: 340.2 kB / 491.9 MB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.4898, allocations: 447.7 kB / 492.3 MB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.197e-05/0.4899, allocations: 36 kB / 492.3 MB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.804e-05/0.49, allocations: 4 kB / 492.3 MB, free: 2.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/0.49, allocations: 19.92 kB / 492.4 MB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.5137, allocations: 11.98 MB / 0.4925 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/0.5138, allocations: 16 kB / 0.4925 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003992/0.5178, allocations: 0.8258 MB / 0.4933 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009259/0.5187, allocations: 285.9 kB / 0.4936 GB, free: 5.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006136/0.5194, allocations: 127.9 kB / 0.4937 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01021/0.5296, allocations: 11.03 MB / 0.5045 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-05/0.5297, allocations: 24.03 kB / 0.5045 GB, free: 9.199 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/0.5429, allocations: 7.129 MB / 0.5115 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/0.5448, allocations: 0.5472 MB / 0.512 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001361/0.5462, allocations: 124 kB / 0.5122 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/0.55, allocations: 415.6 kB / 0.5125 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006845/0.5507, allocations: 257.6 kB / 0.5128 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000348/0.5511, allocations: 120 kB / 0.5129 GB, free: 256 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00429/0.5554, allocations: 2.279 MB / 0.5151 GB, free: 13.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5554, allocations: 4 kB / 0.5151 GB, free: 13.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004921/0.5603, allocations: 1.328 MB / 0.5164 GB, free: 12.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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.L[8].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[2].i,oLine2.L[3].i,oLine2.L[4].i,oLine2.L[5].i,oLine2.L[6].i,oLine2.L[7].i,oLine2.L[8].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[2].i,oLine3.L[3].i,oLine3.L[4].i,oLine3.L[5].i,oLine3.L[6].i,oLine3.L[7].i,oLine3.L[8].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[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 (342): * Single equations (assignments): 335 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007877/0.5611, allocations: 293.1 kB / 0.5167 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02038/0.5815, allocations: 9.882 MB / 0.5264 GB, free: 2.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/0.5816, allocations: 14.5 kB / 0.5264 GB, free: 2.355 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1609/0.7425, allocations: 2.967 MB / 0.5293 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008551/0.7511, allocations: 0.8032 MB / 0.5301 GB, free: 142.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.7869, allocations: 12.59 MB / 0.5424 GB, free: 137.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007476/0.7944, allocations: 3.155 MB / 0.5454 GB, free: 136.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002576/0.7971, allocations: 265 kB / 0.5457 GB, free: 136.1 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7971, allocations: 0 / 0.5457 GB, free: 136.1 MB / 446.1 MB Notification: Performance of Templates: time 0.33/1.127, allocations: 171.4 MB / 0.7131 GB, free: 151.7 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLineTrunks.pipe 2>&1)