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.002011/0.002011, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009545/0.0009547, allocations: 88.27 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.178e-05/2.18e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08759, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2956/0.3832, allocations: 82.65 MB / 484.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.3835, allocations: 78.39 kB / 484.8 MB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0261/0.4096, allocations: 10.23 MB / 495 MB, free: 14.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.168e-06/0.4096, allocations: 4 kB / 495 MB, free: 14.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.4096, allocations: 4 kB / 495 MB, free: 14.26 MB / 362.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.001186/0.4108, allocations: 0.5989 MB / 495.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4109, allocations: 8.031 kB / 495.6 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.4111, allocations: 51.52 kB / 495.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.4117, allocations: 310 kB / 496 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/0.4118, allocations: 54.12 kB / 496 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.4119, allocations: 24 kB / 496 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004689/0.4124, allocations: 272.4 kB / 496.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4124, allocations: 0 / 496.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.4124, allocations: 12 kB / 496.3 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4125, allocations: 4 kB / 496.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.4127, allocations: 147.4 kB / 496.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.4152, allocations: 1.073 MB / 497.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002565/0.4155, allocations: 110.6 kB / 497.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.4156, allocations: 76.78 kB / 497.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4156, allocations: 7.984 kB / 497.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4157, allocations: 38.56 kB / 497.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/0.4157, allocations: 0 / 497.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005613/0.4163, allocations: 180.2 kB / 497.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.4164, allocations: 158.2 kB / 498.1 MB, free: 10.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.4167, allocations: 243 kB / 498.3 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.4167, allocations: 29.7 kB / 498.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4169, allocations: 180.2 kB / 498.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.4169, allocations: 51.2 kB / 498.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.4169, allocations: 4 kB / 498.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.417, allocations: 334.8 kB / 498.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4172, allocations: 68.38 kB / 499 MB, free: 10 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.4174, allocations: 128.1 kB / 499.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.4176, allocations: 89.95 kB / 499.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.4176, allocations: 5.969 kB / 499.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008369/0.426, allocations: 0.8967 MB / 0.4884 GB, free: 8.855 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.4261, allocations: 5.406 kB / 0.4884 GB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.4261, allocations: 4 kB / 0.4884 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/0.437, allocations: 0.906 MB / 0.4893 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.4372, allocations: 19.92 kB / 0.4893 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009734/0.4469, allocations: 4.657 MB / 0.4938 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.4473, allocations: 31.77 kB / 0.4939 GB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.606e-05/0.4474, allocations: 8 kB / 0.4939 GB, free: 2.953 MB / 362.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 () * 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.0001272/0.4475, allocations: 113.6 kB / 0.494 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.429e-05/0.4476, allocations: 27.75 kB / 0.494 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.4477, allocations: 21.97 kB / 0.494 GB, free: 2.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4477, allocations: 4 kB / 0.494 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4477, allocations: 0 / 0.494 GB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4477, allocations: 3.984 kB / 0.494 GB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009927/0.4487, allocations: 0.6109 MB / 0.4946 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4488, allocations: 5.781 kB / 0.4946 GB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.4489, allocations: 26.72 kB / 0.4947 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001924/0.4491, allocations: 53.72 kB / 0.4947 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.4491, allocations: 0 / 0.4947 GB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.4511, allocations: 2.661 MB / 0.4973 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4511, allocations: 8.094 kB / 0.4973 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004431/0.4515, allocations: 296.9 kB / 0.4976 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4516, allocations: 100.8 kB / 0.4977 GB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.4517, allocations: 19.55 kB / 0.4977 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4519, allocations: 8 kB / 0.4977 GB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.452, allocations: 23.92 kB / 0.4978 GB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.452, allocations: 4 kB / 0.4978 GB, free: 14.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.4522, allocations: 191.1 kB / 0.4979 GB, free: 14.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.154e-06/0.4523, allocations: 0 / 0.4979 GB, free: 14.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005824/0.4528, allocations: 111.7 kB / 0.498 GB, free: 14.3 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 () * 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.0001931/0.453, allocations: 111.2 kB / 0.4982 GB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4544, allocations: 0.5196 MB / 0.4987 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4545, allocations: 0 / 0.4987 GB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.4548, allocations: 289.4 kB / 0.4989 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.4551, allocations: 51.17 kB / 0.499 GB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006608/0.4558, allocations: 285.8 kB / 0.4993 GB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.4561, allocations: 0.7729 MB / 0.5 GB, free: 12.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.4563, allocations: 26.08 kB / 0.5 GB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.4564, allocations: 19.42 kB / 0.5001 GB, free: 12.14 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4564, allocations: 4 kB / 0.5001 GB, free: 12.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01275/0.4691, allocations: 7.044 MB / 0.5069 GB, free: 5.152 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)