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.001238/0.001238, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 109.4 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009433/0.0009435, allocations: 51.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2402, allocations: 50.46 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003224/0.2435, allocations: 2.879 MB / 409.9 MB, free: 24.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.2447, allocations: 0.8366 MB / 410.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.2449, allocations: 4 kB / 410.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.245, allocations: 35.69 kB / 410.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002609/0.2453, allocations: 95.36 kB / 410.9 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.2456, allocations: 174.3 kB / 411.1 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.2459, allocations: 458.4 kB / 411.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.2461, allocations: 96.89 kB / 411.6 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2463, allocations: 175.3 kB / 411.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.2465, allocations: 195.2 kB / 412 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.2466, allocations: 28 kB / 412 MB, free: 22.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.808e-05/0.2467, allocations: 28 kB / 412 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.2467, allocations: 71.72 kB / 412.1 MB, free: 22.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.2468, allocations: 171.1 kB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.2471, allocations: 430.5 kB / 412.7 MB, free: 22.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2471, allocations: 0 / 412.7 MB, free: 22.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2471, allocations: 0 / 412.7 MB, free: 22.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2471, allocations: 0 / 412.7 MB, free: 22.19 MB / 298.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.001256/0.2484, allocations: 0.6897 MB / 413.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2485, allocations: 8.875 kB / 413.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.2486, allocations: 44.55 kB / 413.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.2489, allocations: 298.6 kB / 413.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/0.249, allocations: 50.69 kB / 413.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.249, allocations: 24.38 kB / 413.8 MB, free: 20.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.2494, allocations: 280.5 kB / 414.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2494, allocations: 0 / 414.1 MB, free: 20.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.2495, allocations: 12 kB / 414.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.2495, allocations: 4 kB / 414.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.2498, allocations: 165.6 kB / 414.2 MB, free: 20.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.2517, allocations: 1.056 MB / 415.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.252, allocations: 122.5 kB / 415.4 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.2522, allocations: 88.75 kB / 415.5 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.2522, allocations: 7.984 kB / 415.5 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2522, allocations: 34.56 kB / 415.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.654e-06/0.2522, allocations: 0 / 415.6 MB, free: 19.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008203/0.253, allocations: 437.1 kB / 416 MB, free: 18.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.2531, allocations: 158.2 kB / 416.1 MB, free: 18.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.2534, allocations: 282.5 kB / 416.4 MB, free: 18.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.2534, allocations: 29.7 kB / 416.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.887e-05/0.2535, allocations: 172.1 kB / 416.6 MB, free: 17.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.2535, allocations: 47.27 kB / 416.7 MB, free: 17.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.2536, allocations: 53.67 kB / 416.7 MB, free: 17.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.018e-05/0.2537, allocations: 330.8 kB / 417 MB, free: 17.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2538, allocations: 83.95 kB / 417.1 MB, free: 17.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.254, allocations: 140.7 kB / 417.2 MB, free: 17.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.2543, allocations: 164.3 kB / 417.4 MB, free: 17.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2543, allocations: 0 / 417.4 MB, free: 17.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.006919/0.2612, allocations: 0.8964 MB / 418.3 MB, free: 16.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.2613, allocations: 10.75 kB / 418.3 MB, free: 16.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.2613, allocations: 0 / 418.3 MB, free: 16.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008591/0.2699, allocations: 0.8249 MB / 419.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.2701, allocations: 27.84 kB / 419.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/0.2777, allocations: 4.475 MB / 423.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003488/0.278, allocations: 23.86 kB / 423.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.2781, allocations: 8 kB / 423.7 MB, free: 10.56 MB / 298.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002021/0.2783, allocations: 137.8 kB / 423.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.626e-05/0.2784, allocations: 23.72 kB / 423.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.2784, allocations: 25.78 kB / 423.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2784, allocations: 4 kB / 423.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.2785, allocations: 8.047 kB / 423.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2785, allocations: 0 / 423.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/0.2794, allocations: 0.615 MB / 424.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2794, allocations: 4 kB / 424.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.2795, allocations: 24 kB / 424.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.2797, allocations: 49.69 kB / 424.6 MB, free: 9.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.2797, allocations: 7.984 kB / 424.6 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.281, allocations: 2.688 MB / 427.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2811, allocations: 0 / 427.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.2818, allocations: 0.9674 MB / 428.2 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.2819, allocations: 96.91 kB / 428.3 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.2819, allocations: 4 kB / 428.3 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2821, allocations: 19.98 kB / 428.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.2822, allocations: 27.95 kB / 428.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2822, allocations: 4 kB / 428.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001705/0.2824, allocations: 198 kB / 428.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2824, allocations: 0 / 428.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006114/0.283, allocations: 107.6 kB / 428.7 MB, free: 5.133 MB / 298.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.2831, allocations: 107.2 kB / 428.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.2845, allocations: 0.5284 MB / 429.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2845, allocations: 7.938 kB / 429.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.2849, allocations: 329.6 kB / 429.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.2853, allocations: 52.53 kB / 429.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.2863, allocations: 0.7641 MB / 430.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.2865, allocations: 0.7675 MB / 431.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001162/0.2866, allocations: 25.58 kB / 431.2 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.393e-05/0.2867, allocations: 23.42 kB / 431.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2867, allocations: 0 / 431.3 MB, free: 2.418 MB / 298.7 MB Notification: Performance of Templates: time 0.01406/0.3007, allocations: 7.192 MB / 438.5 MB, free: 11.23 MB / 314.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)