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/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.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/Complex trunk/package.mo): time 0.0009687/0.0009687, allocations: 202.8 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.313/1.313, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009195/0.0009194, allocations: 106.2 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.294e-05/2.296e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 51.49 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4634, allocations: 79.49 MB / 474.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.4636, allocations: 75.28 kB / 474.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03096/0.4946, allocations: 13.57 MB / 488.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4946, allocations: 0 / 488.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.4947, allocations: 8 kB / 488.3 MB, free: 2.574 MB / 346.7 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.001064/0.4957, allocations: 0.7465 MB / 489.1 MB, free: 1.812 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4958, allocations: 8.688 kB / 489.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.4959, allocations: 51.44 kB / 489.1 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.4962, allocations: 324.7 kB / 489.5 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.4963, allocations: 16.86 kB / 489.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.4963, allocations: 24 kB / 489.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004209/0.4968, allocations: 254 kB / 489.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.4973, allocations: 432.7 kB / 490.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.4974, allocations: 0 / 490.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.4974, allocations: 0 / 490.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4974, allocations: 12 kB / 490.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001905/0.4993, allocations: 1.502 MB / 491.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.4997, allocations: 179.6 kB / 491.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.4998, allocations: 76.97 kB / 491.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.4998, allocations: 4 kB / 491.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.5001, allocations: 194.6 kB / 492.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 1.392e-06/0.5001, allocations: 3.094 kB / 492.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006103/0.5007, allocations: 270.7 kB / 492.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.5009, allocations: 316.4 kB / 492.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.5011, allocations: 249.4 kB / 492.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.912e-05/0.5012, allocations: 29.7 kB / 493 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.5013, allocations: 269.5 kB / 493.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.648e-05/0.5014, allocations: 90.12 kB / 493.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.5014, allocations: 4 kB / 493.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5016, allocations: 342 kB / 493.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.5017, allocations: 72.81 kB / 493.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5019, allocations: 221.9 kB / 494 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.5021, allocations: 99.92 kB / 494 MB, free: 13.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5021, allocations: 4 kB / 494.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008175/0.5029, allocations: 446.7 kB / 494.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.503, allocations: 37.64 kB / 494.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.503, allocations: 4 kB / 494.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/0.5036, allocations: 173.7 kB / 494.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.5038, allocations: 59.22 kB / 494.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.5074, allocations: 4.57 MB / 499.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.5078, allocations: 63.56 kB / 499.4 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.5078, allocations: 15.69 kB / 499.4 MB, free: 8.102 MB / 362.7 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.508, allocations: 116.5 kB / 499.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.508, allocations: 35.7 kB / 499.6 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.5081, allocations: 32.97 kB / 499.6 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5081, allocations: 4 kB / 499.6 MB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5081, allocations: 7.938 kB / 499.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5081, allocations: 0 / 499.6 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.5084, allocations: 358.3 kB / 499.9 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5085, allocations: 4.938 kB / 500 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.5086, allocations: 31.98 kB / 500 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003091/0.509, allocations: 127 kB / 0.4884 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.509, allocations: 3 kB / 0.4884 GB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/0.512, allocations: 5.014 MB / 0.4933 GB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.512, allocations: 3.984 kB / 0.4933 GB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005364/0.5126, allocations: 315.2 kB / 0.4936 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.5127, allocations: 104.3 kB / 0.4937 GB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.5127, allocations: 7.984 kB / 0.4937 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.513, allocations: 35.97 kB / 0.4937 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.5131, allocations: 31.02 kB / 0.4938 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.5131, allocations: 11.5 kB / 0.4938 GB, free: 1.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001577/0.5133, allocations: 193.1 kB / 0.494 GB, free: 1.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5133, allocations: 0 / 0.494 GB, free: 1.531 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005511/0.5138, allocations: 139.5 kB / 0.4941 GB, free: 1.395 MB / 362.7 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) * 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 (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%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000169/0.514, allocations: 103.2 kB / 0.4942 GB, free: 1.285 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000957/0.515, allocations: 0.6581 MB / 0.4948 GB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.515, allocations: 0 / 0.4948 GB, free: 0.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006024/0.5156, allocations: 0.5434 MB / 0.4954 GB, free: 124 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.5159, allocations: 45.89 kB / 0.4954 GB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007631/0.5167, allocations: 415.3 kB / 0.4958 GB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.5171, allocations: 0.8197 MB / 0.4966 GB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.5172, allocations: 39.28 kB / 0.4966 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.896e-05/0.5173, allocations: 31.42 kB / 0.4967 GB, free: 14.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5173, allocations: 0 / 0.4967 GB, free: 14.78 MB / 378.7 MB Notification: Performance of Templates: time 0.008517/0.5258, allocations: 4.583 MB / 0.5011 GB, free: 10.29 MB / 378.7 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)