Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002323/0.002323, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.583/2.583, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4894, allocations: 50.55 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.01046/0.4999, allocations: 2.839 MB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.5038, allocations: 0.857 MB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005394/0.5044, allocations: 4 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.5047, allocations: 43.56 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008765/0.5057, allocations: 115.1 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.5068, allocations: 203.6 kB / 414 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.508, allocations: 482.3 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.5084, allocations: 117.2 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007141/0.5092, allocations: 195.3 kB / 414.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.5099, allocations: 215.2 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.5102, allocations: 44 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.5105, allocations: 44 kB / 415.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002209/0.5107, allocations: 91.67 kB / 415.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.5112, allocations: 187.2 kB / 415.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.5124, allocations: 455.6 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.5124, allocations: 7.938 kB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.5124, allocations: 0 / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.402e-05/0.5125, allocations: 0 / 415.8 MB, free: 11.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003237/0.5157, allocations: 0.6897 MB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.5158, allocations: 8.031 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004365/0.5163, allocations: 52.45 kB / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.5173, allocations: 303.6 kB / 416.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.5174, allocations: 46.69 kB / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.5176, allocations: 24.38 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.5186, allocations: 284.5 kB / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.5187, allocations: 0 / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.5187, allocations: 12 kB / 417.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/0.5188, allocations: 4 kB / 417.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000802/0.5196, allocations: 165.7 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/0.5244, allocations: 1.052 MB / 418.4 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.5251, allocations: 114.5 kB / 418.5 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003845/0.5255, allocations: 88.7 kB / 418.6 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.5256, allocations: 4 kB / 418.6 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.726e-05/0.5257, allocations: 38.56 kB / 418.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 9.448e-06/0.5257, allocations: 3.984 kB / 418.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.002088/0.5278, allocations: 441.4 kB / 419.1 MB, free: 8.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002077/0.528, allocations: 158.2 kB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007364/0.5288, allocations: 278.5 kB / 419.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.5289, allocations: 25.7 kB / 419.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.5292, allocations: 188 kB / 419.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.953e-05/0.5293, allocations: 47.34 kB / 419.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.5296, allocations: 49.69 kB / 419.8 MB, free: 7.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.5299, allocations: 334.8 kB / 420.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003949/0.5303, allocations: 83.95 kB / 420.2 MB, free: 6.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.5308, allocations: 132.5 kB / 420.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006076/0.5314, allocations: 168.1 kB / 420.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5315, allocations: 0 / 420.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0132/0.5447, allocations: 0.8886 MB / 421.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/0.5448, allocations: 7.938 kB / 421.4 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.5449, allocations: 4 kB / 421.4 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01733/0.5622, allocations: 0.8287 MB / 422.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.5626, allocations: 15.98 kB / 422.3 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/0.5792, allocations: 4.901 MB / 427.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006587/0.5799, allocations: 23.86 kB / 427.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/0.5801, allocations: 8 kB / 427.2 MB, free: 15.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003956/0.5805, allocations: 145.8 kB / 427.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.5806, allocations: 23.72 kB / 427.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.458e-05/0.5807, allocations: 25.83 kB / 427.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5807, allocations: 0 / 427.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.414e-05/0.5808, allocations: 4 kB / 427.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5808, allocations: 3.984 kB / 427.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.5825, allocations: 0.6178 MB / 428 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/0.5825, allocations: 4 kB / 428 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.5828, allocations: 23.91 kB / 428.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.5831, allocations: 53.72 kB / 428.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.5832, allocations: 7.984 kB / 428.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/0.5865, allocations: 2.924 MB / 431 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5865, allocations: 0 / 431 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008702/0.5874, allocations: 313.8 kB / 431.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.5876, allocations: 104.8 kB / 431.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.5877, allocations: 7.875 kB / 431.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.588, allocations: 15.98 kB / 431.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5882, allocations: 15.98 kB / 431.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.5882, allocations: 8 kB / 431.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.5886, allocations: 194.1 kB / 431.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5886, allocations: 0 / 431.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009539/0.5896, allocations: 103.7 kB / 431.8 MB, free: 10.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002919/0.5899, allocations: 111.2 kB / 431.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.5927, allocations: 0.5401 MB / 432.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.5928, allocations: 4 kB / 432.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008186/0.5936, allocations: 309.2 kB / 432.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008807/0.5945, allocations: 48.64 kB / 432.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.5969, allocations: 0.5572 MB / 433.4 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007588/0.5977, allocations: 0.7714 MB / 434.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.5978, allocations: 23.42 kB / 434.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of SimCode: time 1.463e-06/0.5979, allocations: 0 / 434.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of Templates: time 0.01731/0.6152, allocations: 6.261 MB / 440.4 MB, free: 1.941 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)