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.001777/0.001777, allocations: 109.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002252/0.002252, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.392/2.392, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 59.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5022/0.5044, allocations: 50.55 MB / 410 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.008007/0.5125, allocations: 3.602 MB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.5161, allocations: 0.8803 MB / 414.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005884/0.5167, allocations: 8 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.5173, allocations: 83.2 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008852/0.5182, allocations: 146.7 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008674/0.5191, allocations: 195.6 kB / 414.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001151/0.5202, allocations: 0.6233 MB / 415.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.5208, allocations: 216.8 kB / 415.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.5214, allocations: 243.1 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006184/0.522, allocations: 290.8 kB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.5222, allocations: 56 kB / 416.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.5223, allocations: 60 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.5226, allocations: 131.5 kB / 416.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004341/0.523, allocations: 274.8 kB / 416.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.524, allocations: 0.6161 MB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5241, allocations: 0 / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5241, allocations: 0 / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.5241, allocations: 0 / 417.4 MB, free: 10.09 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.002439/0.5266, allocations: 0.84 MB / 418.2 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.5266, allocations: 12.03 kB / 418.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.5269, allocations: 56.28 kB / 418.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.5277, allocations: 338.4 kB / 418.6 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.465e-05/0.5278, allocations: 33.38 kB / 418.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.5279, allocations: 52.31 kB / 418.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.5294, allocations: 0.51 MB / 419.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.5295, allocations: 3.984 kB / 419.2 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.57e-05/0.5296, allocations: 24 kB / 419.2 MB, free: 8.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.5296, allocations: 12 kB / 419.2 MB, free: 8.105 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.5308, allocations: 319.8 kB / 419.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003936/0.5347, allocations: 1.541 MB / 421.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.5357, allocations: 210.5 kB / 421.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/0.5361, allocations: 92.81 kB / 421.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.5362, allocations: 7.984 kB / 421.4 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006553/0.5368, allocations: 229.6 kB / 421.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 3.076e-06/0.5369, allocations: 0 / 421.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.00278/0.5396, allocations: 0.7642 MB / 422.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002465/0.5399, allocations: 316.4 kB / 422.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000678/0.5406, allocations: 306.9 kB / 423 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.5407, allocations: 37.7 kB / 423 MB, free: 3.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.541, allocations: 271.4 kB / 423.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.5412, allocations: 90.73 kB / 423.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.5414, allocations: 77.97 kB / 423.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.5417, allocations: 346.8 kB / 423.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.5421, allocations: 92.7 kB / 423.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.5427, allocations: 265.4 kB / 424.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.5437, allocations: 335.6 kB / 424.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.5437, allocations: 0 / 424.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.002006/0.5457, allocations: 0.5335 MB / 425 MB, free: 1.844 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.5458, allocations: 37.64 kB / 425 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.5458, allocations: 0 / 425 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.5469, allocations: 178.4 kB / 425.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.5473, allocations: 39.98 kB / 425.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007116/0.5544, allocations: 4.936 MB / 430.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000747/0.5552, allocations: 63.59 kB / 430.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.464e-05/0.5553, allocations: 12 kB / 430.3 MB, free: 12.14 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.0004243/0.5557, allocations: 185.2 kB / 430.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5559, allocations: 35.66 kB / 430.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.556, allocations: 42.92 kB / 430.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.556, allocations: 4 kB / 430.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.556, allocations: 0 / 430.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.5561, allocations: 96 / 430.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.5568, allocations: 429.1 kB / 430.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5569, allocations: 4 kB / 430.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.5572, allocations: 35.97 kB / 431 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005587/0.5578, allocations: 107.3 kB / 431.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.5579, allocations: 15.92 kB / 431.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/0.5644, allocations: 5.752 MB / 436.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.5644, allocations: 0 / 436.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.5659, allocations: 364.8 kB / 437.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.5661, allocations: 104.8 kB / 437.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/0.5662, allocations: 11.98 kB / 437.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.5667, allocations: 31.97 kB / 437.4 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.5669, allocations: 27.97 kB / 437.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.5669, allocations: 11.98 kB / 437.4 MB, free: 4.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004092/0.5674, allocations: 214 kB / 437.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5674, allocations: 0 / 437.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001155/0.5685, allocations: 151.5 kB / 437.7 MB, free: 3.973 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.0002453/0.5688, allocations: 119.2 kB / 437.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.5708, allocations: 0.7146 MB / 438.6 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5709, allocations: 4.125 kB / 438.6 MB, free: 3.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.5722, allocations: 0.5728 MB / 439.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.5729, allocations: 60.78 kB / 439.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.575, allocations: 0.7007 MB / 439.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.5756, allocations: 0.8118 MB / 440.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.5758, allocations: 31.42 kB / 440.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5758, allocations: 3.938 kB / 440.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Templates: time 0.02263/0.5985, allocations: 10.57 MB / 451.3 MB, free: 6.215 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)