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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001235/0.001235, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 219.9 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] 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=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 67.89 kB / 376.5 MB, free: 3.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.00463/0.2965, allocations: 2.87 MB / 432.7 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2982, allocations: 0.8765 MB / 433.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2984, allocations: 4 kB / 433.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.2986, allocations: 39.58 kB / 433.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.2989, allocations: 119.1 kB / 433.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.2993, allocations: 199.6 kB / 433.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.2999, allocations: 494.3 kB / 434.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3001, allocations: 85 kB / 434.5 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3004, allocations: 191.4 kB / 434.7 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.3007, allocations: 215.2 kB / 434.9 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.308e-05/0.3008, allocations: 40 kB / 434.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.905e-05/0.3009, allocations: 48 kB / 435 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.301, allocations: 99.59 kB / 435.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.3012, allocations: 187.2 kB / 435.3 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005498/0.3017, allocations: 459.6 kB / 435.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3017, allocations: 4 kB / 435.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3017, allocations: 0 / 435.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3018, allocations: 0 / 435.7 MB, free: 1.629 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.001619/0.3034, allocations: 0.6972 MB / 436.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.3034, allocations: 8.031 kB / 436.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.3036, allocations: 48.69 kB / 436.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000488/0.3041, allocations: 303.8 kB / 436.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/0.3042, allocations: 46.7 kB / 436.8 MB, free: 456 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.754e-05/0.3042, allocations: 24.38 kB / 436.8 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.3048, allocations: 280.5 kB / 437.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3048, allocations: 0 / 437.1 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.3048, allocations: 16 kB / 437.1 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.3048, allocations: 4 kB / 437.1 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.3052, allocations: 161.7 kB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.3076, allocations: 1.045 MB / 438.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.3079, allocations: 114.5 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.3081, allocations: 76.75 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3082, allocations: 8 kB / 438.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.3082, allocations: 30.56 kB / 438.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.3082, allocations: 0 / 438.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001077/0.3093, allocations: 445.5 kB / 439 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.879e-05/0.3094, allocations: 158.2 kB / 439.1 MB, free: 13.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.3097, allocations: 278.5 kB / 439.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.3097, allocations: 29.7 kB / 439.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3099, allocations: 180.3 kB / 439.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.3099, allocations: 59.53 kB / 439.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.31, allocations: 49.67 kB / 439.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3102, allocations: 326.8 kB / 440 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.3104, allocations: 83.95 kB / 440.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.3106, allocations: 140.7 kB / 440.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.311, allocations: 172.4 kB / 440.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.311, allocations: 0 / 440.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007913/0.3189, allocations: 0.8771 MB / 441.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.3189, allocations: 10.59 kB / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.3189, allocations: 4 kB / 441.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009496/0.3284, allocations: 0.8287 MB / 442.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.3286, allocations: 19.97 kB / 442.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009703/0.3383, allocations: 4.893 MB / 447.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.3387, allocations: 32.08 kB / 447.1 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3387, allocations: 7.984 kB / 447.1 MB, free: 5.586 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.0002493/0.3389, allocations: 145.8 kB / 447.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.339, allocations: 27.8 kB / 447.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.965e-05/0.3391, allocations: 25.83 kB / 447.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3391, allocations: 0 / 447.3 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.3391, allocations: 4 kB / 447.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3391, allocations: 0 / 447.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3401, allocations: 0.6217 MB / 447.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3401, allocations: 0 / 447.9 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.3403, allocations: 23.92 kB / 447.9 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.3405, allocations: 53.7 kB / 448 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3405, allocations: 4 kB / 448 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002347/0.3428, allocations: 2.94 MB / 450.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3428, allocations: 80 / 450.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005447/0.3434, allocations: 317.8 kB / 451.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.3435, allocations: 101 kB / 451.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.217e-05/0.3435, allocations: 11.94 kB / 451.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.3437, allocations: 11.98 kB / 451.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3438, allocations: 35.95 kB / 451.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.3438, allocations: 4 kB / 451.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.3441, allocations: 198 kB / 451.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3441, allocations: 0 / 451.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006545/0.3447, allocations: 95.89 kB / 451.7 MB, free: 0.582 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.0001911/0.3449, allocations: 99.25 kB / 451.8 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3466, allocations: 0.5438 MB / 452.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3466, allocations: 0 / 452.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.3471, allocations: 313.3 kB / 452.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.3475, allocations: 51.05 kB / 452.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.3488, allocations: 0.5469 MB / 453.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.3492, allocations: 0.7674 MB / 454 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.3493, allocations: 25.89 kB / 454 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.3494, allocations: 23.42 kB / 454.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3494, allocations: 0 / 454.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01424/0.3636, allocations: 7.321 MB / 461.4 MB, free: 6.801 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.895821996964514]