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/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.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/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 198.8 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.182/1.182, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009078/0.0009077, allocations: 94.94 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002096/0.0002095, allocations: 12 kB / 357.9 MB, free: 9.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1864, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09036/0.2769, allocations: 82.71 MB / 492.1 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.2771, allocations: 79.95 kB / 492.2 MB, free: 7.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02784/0.305, allocations: 10.26 MB / 0.4907 GB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.305, allocations: 4 kB / 0.4907 GB, free: 13.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.305, allocations: 4 kB / 0.4907 GB, free: 13.52 MB / 378.7 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.00129/0.3063, allocations: 0.6467 MB / 0.4913 GB, free: 12.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3064, allocations: 8.031 kB / 0.4914 GB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.3066, allocations: 51.52 kB / 0.4914 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.3071, allocations: 313.5 kB / 0.4917 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/0.3072, allocations: 58.06 kB / 0.4918 GB, free: 12.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.3072, allocations: 20 kB / 0.4918 GB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.3077, allocations: 289.2 kB / 0.4921 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.3077, allocations: 0 / 0.4921 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3077, allocations: 8 kB / 0.4921 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3077, allocations: 8 kB / 0.4921 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.3081, allocations: 169.7 kB / 0.4922 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.3103, allocations: 1.083 MB / 0.4933 GB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.3106, allocations: 130 kB / 0.4934 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.3106, allocations: 0 / 0.4934 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3107, allocations: 46.48 kB / 0.4935 GB, free: 10.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/0.3107, allocations: 0 / 0.4935 GB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000861/0.3115, allocations: 449.1 kB / 0.4939 GB, free: 10 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.3116, allocations: 158.2 kB / 0.494 GB, free: 9.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3119, allocations: 237.8 kB / 0.4943 GB, free: 9.574 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3119, allocations: 33.7 kB / 0.4943 GB, free: 9.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.312, allocations: 180 kB / 0.4945 GB, free: 9.352 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.3121, allocations: 43.36 kB / 0.4945 GB, free: 9.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.3121, allocations: 4 kB / 0.4945 GB, free: 9.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3122, allocations: 334.8 kB / 0.4948 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.3124, allocations: 92.33 kB / 0.4949 GB, free: 8.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.3126, allocations: 133 kB / 0.495 GB, free: 8.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.3128, allocations: 113.2 kB / 0.4952 GB, free: 8.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3128, allocations: 0 / 0.4952 GB, free: 8.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009454/0.3223, allocations: 0.9277 MB / 0.4961 GB, free: 7.684 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3223, allocations: 4 kB / 0.4961 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3223, allocations: 0 / 0.4961 GB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01256/0.3349, allocations: 0.9107 MB / 0.497 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.3351, allocations: 15.98 kB / 0.497 GB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009907/0.345, allocations: 4.823 MB / 0.5017 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003292/0.3453, allocations: 27.86 kB / 0.5017 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3454, allocations: 15.97 kB / 0.5017 GB, free: 1.613 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {4 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.3455, allocations: 140.8 kB / 0.5019 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.3456, allocations: 27.67 kB / 0.5019 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.3457, allocations: 25.83 kB / 0.5019 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3457, allocations: 0 / 0.5019 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3457, allocations: 4 kB / 0.5019 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3457, allocations: 0 / 0.5019 GB, free: 1.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.3461, allocations: 325.5 kB / 0.5022 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3461, allocations: 0 / 0.5022 GB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.3462, allocations: 35.91 kB / 0.5023 GB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001672/0.3464, allocations: 49.62 kB / 0.5023 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.3464, allocations: 11.94 kB / 0.5023 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.153/0.4995, allocations: 2.658 MB / 0.5049 GB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4995, allocations: 1.219 kB / 0.5049 GB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.5002, allocations: 320.2 kB / 0.5052 GB, free: 94.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/0.5003, allocations: 102.3 kB / 0.5053 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.5004, allocations: 11.33 kB / 0.5053 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.5006, allocations: 19.34 kB / 0.5053 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.5007, allocations: 17.3 kB / 0.5054 GB, free: 94.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.5007, allocations: 6.188 kB / 0.5054 GB, free: 94.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002413/0.5009, allocations: 193.5 kB / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.501, allocations: 0 / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005869/0.5015, allocations: 109.8 kB / 0.5057 GB, free: 93.98 MB / 378.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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001491/0.5017, allocations: 109 kB / 0.5058 GB, free: 93.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.5033, allocations: 0.5462 MB / 0.5063 GB, free: 93.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5033, allocations: 4.406 kB / 0.5063 GB, free: 93.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000333/0.5036, allocations: 312.8 kB / 0.5066 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.5039, allocations: 38.83 kB / 0.5066 GB, free: 93.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.5049, allocations: 0.6143 MB / 0.5072 GB, free: 93.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001914/0.5051, allocations: 0.7714 MB / 0.508 GB, free: 92.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.5052, allocations: 32.78 kB / 0.508 GB, free: 92.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.5053, allocations: 21.56 kB / 0.508 GB, free: 92.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5053, allocations: 0 / 0.508 GB, free: 92.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01108/0.5164, allocations: 7.072 MB / 0.5149 GB, free: 91.51 MB / 378.7 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)