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.001459/0.001459, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 225.6 MB / 234.8 MB, free: 3.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008752/0.0008754, allocations: 97.36 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 4 kB / 343.7 MB, free: 8.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 51.48 MB / 395.2 MB, free: 4.711 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4821, allocations: 81.98 MB / 477.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.4824, allocations: 80.94 kB / 477.2 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02498/0.5073, allocations: 10.17 MB / 487.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5074, allocations: 0 / 487.4 MB, free: 2.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.5074, allocations: 4 kB / 487.4 MB, free: 2.809 MB / 346.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.0009646/0.5084, allocations: 0.5923 MB / 488 MB, free: 2.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5085, allocations: 15.22 kB / 488 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.5087, allocations: 47.52 kB / 488.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.5092, allocations: 317.4 kB / 488.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.5092, allocations: 42.14 kB / 488.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.5093, allocations: 19.17 kB / 488.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002341/0.5095, allocations: 129.2 kB / 488.6 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.5099, allocations: 233.6 kB / 488.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5099, allocations: 0 / 488.8 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.5099, allocations: 4 kB / 488.8 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.5099, allocations: 11.98 kB / 488.8 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002037/0.512, allocations: 1.019 MB / 489.8 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5122, allocations: 97.06 kB / 489.9 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.5124, allocations: 73.03 kB / 490 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.5124, allocations: 12 kB / 490 MB, free: 456 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5124, allocations: 34.5 kB / 490 MB, free: 412 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.5124, allocations: 0 / 490 MB, free: 412 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004544/0.5129, allocations: 165.5 kB / 490.2 MB, free: 264 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.513, allocations: 158 kB / 490.4 MB, free: 72 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.5132, allocations: 232.6 kB / 490.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.5133, allocations: 29.64 kB / 490.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.5134, allocations: 180.4 kB / 490.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.5134, allocations: 50.77 kB / 490.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.5135, allocations: 0 / 490.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.5136, allocations: 333.9 kB / 491.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.5137, allocations: 67.88 kB / 491.2 MB, free: 15.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.5139, allocations: 118.3 kB / 491.3 MB, free: 15.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.514, allocations: 79.89 kB / 491.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.514, allocations: 4 kB / 491.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008194/0.5222, allocations: 0.8827 MB / 492.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.5223, allocations: 4 kB / 492.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5223, allocations: 0 / 492.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.5329, allocations: 0.9044 MB / 493.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.5331, allocations: 19.98 kB / 493.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008418/0.5415, allocations: 4.466 MB / 497.7 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.542, allocations: 27.92 kB / 497.7 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.542, allocations: 7.5 kB / 497.7 MB, free: 9.523 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.0001348/0.5421, allocations: 105 kB / 497.8 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.5422, allocations: 24.59 kB / 497.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.32e-05/0.5423, allocations: 22.89 kB / 497.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.5423, allocations: 4 kB / 497.9 MB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5423, allocations: 3.953 kB / 497.9 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.5423, allocations: 4 kB / 497.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007707/0.5431, allocations: 0.5471 MB / 498.4 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5431, allocations: 0 / 498.4 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.5432, allocations: 29.23 kB / 498.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001804/0.5434, allocations: 52.53 kB / 498.5 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.5435, allocations: 7.984 kB / 498.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.5453, allocations: 2.57 MB / 0.4894 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5453, allocations: 0 / 0.4894 GB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.5458, allocations: 292.9 kB / 0.4896 GB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.5459, allocations: 107.9 kB / 0.4897 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.5459, allocations: 0 / 0.4897 GB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.5461, allocations: 11.98 kB / 0.4898 GB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.5462, allocations: 11.98 kB / 0.4898 GB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.5462, allocations: 11.11 kB / 0.4898 GB, free: 5.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.5465, allocations: 182.5 kB / 0.4899 GB, free: 5.492 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5465, allocations: 0 / 0.4899 GB, free: 5.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006941/0.5472, allocations: 103.2 kB / 0.49 GB, free: 5.395 MB / 362.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.0001684/0.5473, allocations: 107.2 kB / 0.4902 GB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.5486, allocations: 0.4888 MB / 0.4906 GB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5486, allocations: 4.125 kB / 0.4906 GB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002825/0.5489, allocations: 277.3 kB / 0.4909 GB, free: 4.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.5493, allocations: 43.83 kB / 0.4909 GB, free: 4.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006055/0.5499, allocations: 289.6 kB / 0.4912 GB, free: 4.262 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5502, allocations: 0.7697 MB / 0.492 GB, free: 3.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.5503, allocations: 21.86 kB / 0.492 GB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.5504, allocations: 26.86 kB / 0.492 GB, free: 3.422 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5504, allocations: 0 / 0.492 GB, free: 3.422 MB / 362.7 MB Notification: Performance of Templates: time 0.01128/0.5617, allocations: 6.388 MB / 0.4983 GB, free: 13.11 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)