Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 198 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4596/0.4609, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005561/0.4665, allocations: 3.608 MB / 412.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.4691, allocations: 0.8959 MB / 413.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.4695, allocations: 8 kB / 413.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002479/0.4698, allocations: 75.22 kB / 413.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.4702, allocations: 150.7 kB / 414 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005715/0.4708, allocations: 195.6 kB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000669/0.4715, allocations: 0.6233 MB / 414.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004209/0.4719, allocations: 220.8 kB / 415 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.4722, allocations: 239.1 kB / 415.3 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.4726, allocations: 290.8 kB / 415.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.4726, allocations: 56 kB / 415.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.405e-05/0.4727, allocations: 60 kB / 415.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.4729, allocations: 123.5 kB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.4732, allocations: 282.8 kB / 416.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006088/0.4738, allocations: 0.6162 MB / 416.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4738, allocations: 0 / 416.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.4738, allocations: 3.984 kB / 416.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.4738, allocations: 0 / 416.7 MB, free: 10.15 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.001577/0.4754, allocations: 0.8361 MB / 417.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.4755, allocations: 12.03 kB / 417.5 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.4756, allocations: 60.22 kB / 417.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006601/0.4763, allocations: 338.4 kB / 417.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.4763, allocations: 33.38 kB / 418 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-05/0.4764, allocations: 52.31 kB / 418 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009193/0.4773, allocations: 0.5023 MB / 418.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.4773, allocations: 4 kB / 418.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.4774, allocations: 24 kB / 418.5 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.4774, allocations: 12 kB / 418.5 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.4781, allocations: 319.8 kB / 418.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.4806, allocations: 1.541 MB / 420.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/0.4812, allocations: 218.4 kB / 420.6 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.4815, allocations: 92.81 kB / 420.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.4815, allocations: 7.984 kB / 420.7 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005712/0.4821, allocations: 221.6 kB / 420.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.515e-06/0.4821, allocations: 0 / 420.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001962/0.4841, allocations: 0.772 MB / 421.7 MB, free: 4.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/0.4844, allocations: 312.4 kB / 422 MB, free: 4.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.4848, allocations: 314.8 kB / 422.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.4849, allocations: 33.7 kB / 422.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.4851, allocations: 267.4 kB / 422.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.4853, allocations: 90.73 kB / 422.7 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.4854, allocations: 81.97 kB / 422.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.4856, allocations: 338.8 kB / 423.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.4859, allocations: 100.7 kB / 423.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.4863, allocations: 261.4 kB / 423.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.4869, allocations: 347.6 kB / 423.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4869, allocations: 0 / 423.8 MB, free: 2.445 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001176/0.4881, allocations: 0.5257 MB / 424.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/0.4882, allocations: 37.64 kB / 424.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4882, allocations: 8 kB / 424.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006798/0.4889, allocations: 170.4 kB / 424.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.4891, allocations: 47.91 kB / 424.6 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.4938, allocations: 4.929 MB / 429.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.4944, allocations: 67.66 kB / 429.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.4944, allocations: 12 kB / 429.6 MB, free: 12.2 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.0003296/0.4947, allocations: 173.6 kB / 429.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.54e-05/0.4948, allocations: 35.61 kB / 429.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.4949, allocations: 42.94 kB / 429.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4949, allocations: 3.984 kB / 429.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/0.495, allocations: 4 kB / 429.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.495, allocations: 0 / 429.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.4955, allocations: 421.2 kB / 430.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4955, allocations: 192 / 430.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.4957, allocations: 39.97 kB / 430.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003393/0.496, allocations: 107.3 kB / 430.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.4961, allocations: 7.938 kB / 430.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004812/0.5009, allocations: 5.768 MB / 436.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5009, allocations: 0 / 436.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/0.5019, allocations: 356.9 kB / 436.5 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.5021, allocations: 112.7 kB / 436.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.5021, allocations: 8 kB / 436.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.5024, allocations: 35.97 kB / 436.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.5027, allocations: 51.92 kB / 436.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.5027, allocations: 8 kB / 436.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003289/0.503, allocations: 217.9 kB / 436.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.503, allocations: 0 / 436.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000752/0.5038, allocations: 151.5 kB / 437.1 MB, free: 4.004 MB / 350.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.0002794/0.5041, allocations: 111.2 kB / 437.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001442/0.5055, allocations: 0.714 MB / 437.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5056, allocations: 4 kB / 437.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007497/0.5063, allocations: 0.5814 MB / 438.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.5067, allocations: 52.56 kB / 438.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.5081, allocations: 0.6818 MB / 439.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.5086, allocations: 0.8079 MB / 440 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.5088, allocations: 43.05 kB / 440.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.665e-05/0.5089, allocations: 43.36 kB / 440.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5089, allocations: 0 / 440.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of Templates: time 0.01241/0.5213, allocations: 5.972 MB / 446.1 MB, free: 10.87 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)