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.CompareLosslessLines.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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001575/0.001575, allocations: 112.9 kB / 17.82 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00165/0.00165, allocations: 208.6 kB / 18.79 MB, free: 4.254 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.565/1.565, allocations: 230.4 MB / 250 MB, free: 9.074 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.001934/0.001934, allocations: 71.83 kB / 367.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2733, allocations: 53.3 MB / 420.7 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006098/0.2794, allocations: 3.628 MB / 424.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.2817, allocations: 0.8997 MB / 425.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002457/0.2819, allocations: 8 kB / 425.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002755/0.2822, allocations: 79.22 kB / 425.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005232/0.2827, allocations: 142.7 kB / 425.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.2834, allocations: 199.7 kB / 425.6 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.2843, allocations: 0.6116 MB / 426.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003788/0.2846, allocations: 164.8 kB / 426.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.285, allocations: 247.2 kB / 426.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.2854, allocations: 290.7 kB / 426.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001628/0.2856, allocations: 60 kB / 427 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.2857, allocations: 60 kB / 427 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.2859, allocations: 123.6 kB / 427.2 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.2862, allocations: 278.7 kB / 427.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008816/0.2871, allocations: 0.6145 MB / 428.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2871, allocations: 0 / 428.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2871, allocations: 4 kB / 428.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2871, allocations: 0 / 428.1 MB, free: 0.9297 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002089/0.2892, allocations: 0.855 MB / 428.9 MB, free: 20 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.2892, allocations: 12.03 kB / 428.9 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.2894, allocations: 59.8 kB / 429 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006942/0.2901, allocations: 338.6 kB / 429.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/0.2902, allocations: 37.38 kB / 429.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.384e-05/0.2903, allocations: 41.12 kB / 429.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2915, allocations: 0.514 MB / 429.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.2916, allocations: 0 / 429.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.2916, allocations: 23.94 kB / 429.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.2917, allocations: 12 kB / 429.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009397/0.2926, allocations: 319.8 kB / 430.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003415/0.296, allocations: 1.554 MB / 431.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.2966, allocations: 194.5 kB / 432 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.2968, allocations: 88.81 kB / 432.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.2968, allocations: 4 kB / 432.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004426/0.2973, allocations: 221.6 kB / 432.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.2973, allocations: 0 / 432.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001614/0.2989, allocations: 0.7645 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/0.2992, allocations: 320.4 kB / 433.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000469/0.2996, allocations: 318.8 kB / 433.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.2997, allocations: 33.7 kB / 433.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.2999, allocations: 268.1 kB / 434 MB, free: 10.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.3, allocations: 99.19 kB / 434.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/0.3002, allocations: 86.02 kB / 434.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3004, allocations: 338.8 kB / 434.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.3006, allocations: 100.7 kB / 434.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/0.301, allocations: 257.4 kB / 434.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.3016, allocations: 335.1 kB / 435.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3016, allocations: 0 / 435.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001161/0.3028, allocations: 0.5336 MB / 435.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/0.3028, allocations: 33.69 kB / 435.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3028, allocations: 4 kB / 435.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007673/0.3036, allocations: 166.4 kB / 435.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.3038, allocations: 51.91 kB / 436 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006347/0.3102, allocations: 4.938 MB / 440.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.3107, allocations: 59.7 kB / 441 MB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.3108, allocations: 16 kB / 441 MB, free: 2.973 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003621/0.3111, allocations: 177.7 kB / 441.1 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3112, allocations: 31.81 kB / 441.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-05/0.3113, allocations: 38.98 kB / 441.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3113, allocations: 0 / 441.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.3114, allocations: 7.938 kB / 441.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3114, allocations: 3.984 kB / 441.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/0.3121, allocations: 421.2 kB / 441.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3121, allocations: 0 / 441.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.3124, allocations: 35.97 kB / 441.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.3128, allocations: 107.3 kB / 441.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.3129, allocations: 192 / 441.8 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.3186, allocations: 5.768 MB / 447.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3186, allocations: 0 / 447.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3198, allocations: 369 kB / 447.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3199, allocations: 116.8 kB / 448 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.799e-05/0.32, allocations: 8 kB / 448 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.3204, allocations: 27.97 kB / 448 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.3206, allocations: 51.94 kB / 448.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.3206, allocations: 11.98 kB / 448.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.321, allocations: 218 kB / 448.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.321, allocations: 0 / 448.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000913/0.3219, allocations: 151.8 kB / 448.5 MB, free: 10.78 MB / 366.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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/0.3221, allocations: 115.1 kB / 448.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3238, allocations: 0.6945 MB / 449.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3238, allocations: 0.75 kB / 449.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000999/0.3248, allocations: 0.5689 MB / 449.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.3253, allocations: 69.95 kB / 449.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3273, allocations: 0.693 MB / 450.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.3279, allocations: 0.8157 MB / 451.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.3281, allocations: 34.97 kB / 451.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3282, allocations: 39.36 kB / 451.5 MB, free: 7.59 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3282, allocations: 4 kB / 451.5 MB, free: 7.586 MB / 366.1 MB Notification: Performance of Templates: time 0.01579/0.344, allocations: 6.031 MB / 457.5 MB, free: 1.59 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)