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.001174/0.001173, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008473/0.0008474, allocations: 104.8 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002807, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3167, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.4262, allocations: 82.67 MB / 492.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.4265, allocations: 81.08 kB / 492.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02759/0.4541, allocations: 10.26 MB / 0.4906 GB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4541, allocations: 4 kB / 0.4906 GB, free: 14.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.197e-05/0.4542, allocations: 4 kB / 0.4906 GB, free: 14.48 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.001263/0.4554, allocations: 0.6274 MB / 0.4912 GB, free: 13.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.4555, allocations: 15.97 kB / 0.4913 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/0.4557, allocations: 52.45 kB / 0.4913 GB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.4563, allocations: 326.6 kB / 0.4916 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.4563, allocations: 46.7 kB / 0.4917 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.4564, allocations: 28.31 kB / 0.4917 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.4569, allocations: 285.8 kB / 0.492 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4569, allocations: 3.938 kB / 0.492 GB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.4569, allocations: 8 kB / 0.492 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.457, allocations: 8 kB / 0.492 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.4574, allocations: 177.6 kB / 0.4922 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.4598, allocations: 1.064 MB / 0.4932 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.4601, allocations: 138.1 kB / 0.4933 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.4603, allocations: 84.83 kB / 0.4934 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.4604, allocations: 0 / 0.4934 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.4604, allocations: 42.5 kB / 0.4934 GB, free: 11.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.4604, allocations: 0 / 0.4934 GB, free: 11.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0009845/0.4614, allocations: 445.1 kB / 0.4939 GB, free: 10.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.4615, allocations: 158.2 kB / 0.494 GB, free: 10.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.4618, allocations: 266.6 kB / 0.4943 GB, free: 10.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.4619, allocations: 25.7 kB / 0.4943 GB, free: 10.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.4621, allocations: 184 kB / 0.4945 GB, free: 10.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.4621, allocations: 43.36 kB / 0.4945 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.4621, allocations: 4 kB / 0.4945 GB, free: 10.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4623, allocations: 338.8 kB / 0.4948 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.4625, allocations: 87.95 kB / 0.4949 GB, free: 9.742 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.4627, allocations: 144.9 kB / 0.4951 GB, free: 9.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.4631, allocations: 189.1 kB / 0.4952 GB, free: 9.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4631, allocations: 0 / 0.4952 GB, free: 9.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007698/0.4708, allocations: 0.9268 MB / 0.4961 GB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.4708, allocations: 8.766 kB / 0.4962 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4709, allocations: 0 / 0.4962 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009834/0.4807, allocations: 0.9145 MB / 0.4971 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.4809, allocations: 19.98 kB / 0.4971 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00997/0.4909, allocations: 4.677 MB / 0.5016 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4913, allocations: 27.95 kB / 0.5017 GB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.4913, allocations: 12 kB / 0.5017 GB, free: 2.523 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0002452/0.4916, allocations: 141.8 kB / 0.5018 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.4917, allocations: 15.81 kB / 0.5018 GB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.4917, allocations: 25.84 kB / 0.5018 GB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.4917, allocations: 8 kB / 0.5019 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4917, allocations: 3.984 kB / 0.5019 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4918, allocations: 4 kB / 0.5019 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009586/0.4927, allocations: 0.6256 MB / 0.5025 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4927, allocations: 3.938 kB / 0.5025 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.4929, allocations: 23.92 kB / 0.5025 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.4931, allocations: 53.67 kB / 0.5026 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4931, allocations: 8.125 kB / 0.5026 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2697/0.7628, allocations: 2.655 MB / 0.5052 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7628, allocations: 2.719 kB / 0.5052 GB, free: 95.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.7635, allocations: 316.8 kB / 0.5055 GB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.7636, allocations: 107.5 kB / 0.5056 GB, free: 95.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.7636, allocations: 4.359 kB / 0.5056 GB, free: 95.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.7638, allocations: 17.56 kB / 0.5056 GB, free: 95.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.764, allocations: 31.42 kB / 0.5056 GB, free: 95.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.764, allocations: 5.859 kB / 0.5056 GB, free: 95.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002649/0.7643, allocations: 198.3 kB / 0.5058 GB, free: 95.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.7643, allocations: 0 / 0.5058 GB, free: 95.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007443/0.765, allocations: 107.7 kB / 0.5059 GB, free: 95.43 MB / 378.7 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 (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.0001841/0.7652, allocations: 109 kB / 0.506 GB, free: 95.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.7667, allocations: 0.5501 MB / 0.5066 GB, free: 95.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7668, allocations: 3.875 kB / 0.5066 GB, free: 95.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.7672, allocations: 319.9 kB / 0.5069 GB, free: 94.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.7676, allocations: 48.2 kB / 0.5069 GB, free: 94.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.7686, allocations: 0.6318 MB / 0.5075 GB, free: 94.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.7689, allocations: 0.7687 MB / 0.5083 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001285/0.769, allocations: 25.5 kB / 0.5083 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.7691, allocations: 22.73 kB / 0.5083 GB, free: 93.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7691, allocations: 0 / 0.5083 GB, free: 93.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01234/0.7814, allocations: 7.304 MB / 0.5155 GB, free: 92.91 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)