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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 59.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 50.55 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004409/0.3472, allocations: 2.839 MB / 412.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3489, allocations: 0.8648 MB / 413 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.349, allocations: 4 kB / 413 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3492, allocations: 43.52 kB / 413 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.3496, allocations: 119.1 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.35, allocations: 195.7 kB / 413.3 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.3506, allocations: 482.3 kB / 413.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.3509, allocations: 117.2 kB / 413.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3512, allocations: 199.3 kB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.3515, allocations: 215.2 kB / 414.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.08e-05/0.3516, allocations: 40 kB / 414.4 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.3517, allocations: 48 kB / 414.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.3518, allocations: 99.66 kB / 414.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.352, allocations: 191.1 kB / 414.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.3525, allocations: 459.5 kB / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3525, allocations: 0 / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3525, allocations: 0 / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.3525, allocations: 0 / 415.1 MB, free: 11.68 MB / 334.1 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.001556/0.3541, allocations: 0.6819 MB / 415.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3541, allocations: 16.03 kB / 415.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.3543, allocations: 48.45 kB / 415.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.3548, allocations: 299.6 kB / 416.2 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.3549, allocations: 46.7 kB / 416.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.355, allocations: 28.36 kB / 416.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.3555, allocations: 284.5 kB / 416.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3555, allocations: 0 / 416.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.3556, allocations: 12 kB / 416.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3556, allocations: 4 kB / 416.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003505/0.3559, allocations: 157.7 kB / 416.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.3584, allocations: 1.052 MB / 417.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.3587, allocations: 122.3 kB / 417.9 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.3589, allocations: 88.77 kB / 418 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.359, allocations: 3.938 kB / 418 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.359, allocations: 42.55 kB / 418 MB, free: 8.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.359, allocations: 0 / 418 MB, free: 8.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001049/0.36, allocations: 433.4 kB / 418.4 MB, free: 8.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.3601, allocations: 162.2 kB / 418.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.3605, allocations: 270.6 kB / 418.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.3605, allocations: 37.64 kB / 418.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.3606, allocations: 184 kB / 419.1 MB, free: 7.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.3607, allocations: 43.34 kB / 419.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/0.3608, allocations: 49.67 kB / 419.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3609, allocations: 334.8 kB / 419.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.3611, allocations: 83.95 kB / 419.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3614, allocations: 136.3 kB / 419.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.3617, allocations: 167.7 kB / 419.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3617, allocations: 0 / 419.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007548/0.3693, allocations: 0.8993 MB / 420.8 MB, free: 5.703 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3693, allocations: 7.938 kB / 420.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3693, allocations: 3.938 kB / 420.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009206/0.3785, allocations: 0.821 MB / 421.6 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.3787, allocations: 23.98 kB / 421.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009207/0.3879, allocations: 4.889 MB / 426.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.3883, allocations: 27.86 kB / 426.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.3883, allocations: 7.984 kB / 426.5 MB, free: 15.63 MB / 350.1 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.0002034/0.3885, allocations: 141.7 kB / 426.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.3886, allocations: 23.72 kB / 426.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.3886, allocations: 25.83 kB / 426.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3886, allocations: 4 kB / 426.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3887, allocations: 64 / 426.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3887, allocations: 4 kB / 426.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3897, allocations: 0.6255 MB / 427.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3897, allocations: 0 / 427.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3899, allocations: 24.02 kB / 427.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001883/0.3901, allocations: 49.69 kB / 427.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.3901, allocations: 3.984 kB / 427.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.3922, allocations: 2.932 MB / 430.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3922, allocations: 0 / 430.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.3927, allocations: 313.1 kB / 430.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3929, allocations: 100.8 kB / 430.8 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.923e-05/0.3929, allocations: 11.94 kB / 430.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.3931, allocations: 19.92 kB / 430.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.385e-05/0.3932, allocations: 23.97 kB / 430.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.3932, allocations: 7.984 kB / 430.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.3935, allocations: 198 kB / 431 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3935, allocations: 0 / 431 MB, free: 10.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000509/0.394, allocations: 99.78 kB / 431.1 MB, free: 10.64 MB / 350.1 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.0001649/0.3942, allocations: 111.2 kB / 431.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3957, allocations: 0.5441 MB / 431.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3957, allocations: 0 / 431.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.3962, allocations: 321.4 kB / 432.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.3966, allocations: 48.45 kB / 432.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.3978, allocations: 0.521 MB / 432.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.3982, allocations: 0.7675 MB / 433.4 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.3984, allocations: 30 kB / 433.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.632e-05/0.3984, allocations: 27.42 kB / 433.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3985, allocations: 0 / 433.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of Templates: time 0.01258/0.411, allocations: 7.23 MB / 440.7 MB, free: 0.9531 MB / 350.1 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)