Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001432, allocations: 194.4 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000814/0.0008139, allocations: 103.1 kB / 297.4 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002394/0.0002395, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2107, allocations: 51.29 MB / 408.7 MB, free: 27.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09035/0.3011, allocations: 82.67 MB / 491.3 MB, free: 8.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3014, allocations: 83.95 kB / 491.4 MB, free: 8.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02657/0.328, allocations: 10.27 MB / 0.4899 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3281, allocations: 4 kB / 0.4899 GB, free: 14.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/0.3281, allocations: 4 kB / 0.4899 GB, free: 14.54 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.001139/0.3292, allocations: 0.6313 MB / 0.4905 GB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3293, allocations: 12.03 kB / 0.4906 GB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.3295, allocations: 52.45 kB / 0.4906 GB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.3299, allocations: 326.6 kB / 0.4909 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.33, allocations: 46.7 kB / 0.491 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.33, allocations: 28.31 kB / 0.491 GB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.3305, allocations: 289.8 kB / 0.4913 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3305, allocations: 3.938 kB / 0.4913 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.3305, allocations: 4 kB / 0.4913 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3306, allocations: 8 kB / 0.4913 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.3309, allocations: 177.6 kB / 0.4915 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.333, allocations: 1.064 MB / 0.4925 GB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3333, allocations: 133.8 kB / 0.4926 GB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.3335, allocations: 88.81 kB / 0.4927 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3335, allocations: 4 kB / 0.4927 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.3336, allocations: 34.5 kB / 0.4927 GB, free: 11.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3336, allocations: 0 / 0.4927 GB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008671/0.3345, allocations: 449.1 kB / 0.4932 GB, free: 10.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.3345, allocations: 158.2 kB / 0.4933 GB, free: 10.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.3348, allocations: 266.6 kB / 0.4936 GB, free: 10.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.3348, allocations: 29.7 kB / 0.4936 GB, free: 10.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.335, allocations: 183.9 kB / 0.4938 GB, free: 10.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.335, allocations: 47.36 kB / 0.4938 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.335, allocations: 0 / 0.4938 GB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.3351, allocations: 342.8 kB / 0.4942 GB, free: 9.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3353, allocations: 87.95 kB / 0.4942 GB, free: 9.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3355, allocations: 141.3 kB / 0.4944 GB, free: 9.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.3359, allocations: 185.1 kB / 0.4945 GB, free: 9.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-06/0.3359, allocations: 0 / 0.4945 GB, free: 9.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008449/0.3443, allocations: 0.9267 MB / 0.4955 GB, free: 8.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3444, allocations: 8 kB / 0.4955 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3444, allocations: 0 / 0.4955 GB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/0.3551, allocations: 0.9145 MB / 0.4964 GB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.3553, allocations: 23.98 kB / 0.4964 GB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.3644, allocations: 4.673 MB / 0.5009 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.3648, allocations: 35.77 kB / 0.501 GB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3648, allocations: 4 kB / 0.501 GB, free: 2.582 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.0001793/0.365, allocations: 137.8 kB / 0.5011 GB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.3651, allocations: 19.81 kB / 0.5011 GB, free: 2.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.3651, allocations: 25.84 kB / 0.5012 GB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3651, allocations: 11.98 kB / 0.5012 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3652, allocations: 0 / 0.5012 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3652, allocations: 0 / 0.5012 GB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008627/0.366, allocations: 0.6372 MB / 0.5018 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.366, allocations: 0 / 0.5018 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.3662, allocations: 27.91 kB / 0.5018 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001671/0.3664, allocations: 45.69 kB / 0.5019 GB, free: 1.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.3664, allocations: 8.031 kB / 0.5019 GB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2047/0.5711, allocations: 2.658 MB / 0.5045 GB, free: 95.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5711, allocations: 2.875 kB / 0.5045 GB, free: 95.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.5718, allocations: 315.3 kB / 0.5048 GB, free: 95.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.5719, allocations: 103.3 kB / 0.5049 GB, free: 95.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.5719, allocations: 5.141 kB / 0.5049 GB, free: 95.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.5722, allocations: 18.06 kB / 0.5049 GB, free: 95.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.5723, allocations: 18.56 kB / 0.5049 GB, free: 95.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.5723, allocations: 8.891 kB / 0.5049 GB, free: 95.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002988/0.5726, allocations: 194.4 kB / 0.5051 GB, free: 95.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5726, allocations: 0 / 0.5051 GB, free: 95.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007112/0.5734, allocations: 107.7 kB / 0.5052 GB, free: 95.55 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.0002169/0.5736, allocations: 112 kB / 0.5053 GB, free: 95.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001732/0.5753, allocations: 0.5475 MB / 0.5058 GB, free: 95.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5753, allocations: 1.219 kB / 0.5058 GB, free: 95.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.5758, allocations: 310.1 kB / 0.5061 GB, free: 95.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.5763, allocations: 45.31 kB / 0.5062 GB, free: 95.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.5774, allocations: 0.6563 MB / 0.5068 GB, free: 94.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.5776, allocations: 0.7693 MB / 0.5076 GB, free: 93.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.5777, allocations: 26.27 kB / 0.5076 GB, free: 93.93 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5777, allocations: 0 / 0.5076 GB, free: 93.93 MB / 378.7 MB Notification: Performance of Templates: time 0.009389/0.5871, allocations: 6.266 MB / 0.5137 GB, free: 93.43 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)