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.001554/0.001554, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.001482/0.001482, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.001961/0.001961, allocations: 67.89 kB / 373.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1286, allocations: 53.31 MB / 427.2 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004733/0.1333, allocations: 2.855 MB / 430 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.135, allocations: 0.8687 MB / 430.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1351, allocations: 4 kB / 430.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.1353, allocations: 39.58 kB / 430.9 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.1356, allocations: 123.1 kB / 431.1 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.1361, allocations: 203.6 kB / 431.3 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2284/0.3645, allocations: 482.1 kB / 431.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003086/0.3648, allocations: 80.98 kB / 431.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004944/0.3653, allocations: 193.7 kB / 432 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.3656, allocations: 214.9 kB / 432.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.79e-05/0.3657, allocations: 43 kB / 432.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3658, allocations: 52.45 kB / 432.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.947e-05/0.3659, allocations: 88.39 kB / 432.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.3661, allocations: 189.9 kB / 432.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.3665, allocations: 455.8 kB / 433 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3665, allocations: 1.344 kB / 433 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3665, allocations: 1.75 kB / 433 MB, free: 8.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.3666, allocations: 1.125 kB / 433 MB, free: 8.07 MB / 350.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.001354/0.3679, allocations: 0.6921 MB / 433.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3679, allocations: 17.31 kB / 433.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.3681, allocations: 47.64 kB / 433.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.3685, allocations: 309.6 kB / 434.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.3686, allocations: 48.52 kB / 434.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.3686, allocations: 20.47 kB / 434.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.3691, allocations: 283.4 kB / 434.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3691, allocations: 3.75 kB / 434.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.3691, allocations: 9.188 kB / 434.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3691, allocations: 5 kB / 434.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.3695, allocations: 160.2 kB / 434.6 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.3716, allocations: 1.053 MB / 435.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.3719, allocations: 107.2 kB / 435.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.3721, allocations: 81.05 kB / 435.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.3721, allocations: 11.78 kB / 435.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3722, allocations: 32.84 kB / 435.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.3722, allocations: 0 / 435.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000934/0.3731, allocations: 440.8 kB / 436.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.3731, allocations: 159.5 kB / 436.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.3735, allocations: 270.8 kB / 436.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3735, allocations: 26.8 kB / 436.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3736, allocations: 186 kB / 436.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.3736, allocations: 55.31 kB / 437 MB, free: 6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.3737, allocations: 48.38 kB / 437 MB, free: 5.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.056e-05/0.3738, allocations: 337.5 kB / 437.4 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.374, allocations: 83.98 kB / 437.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.3742, allocations: 136.5 kB / 437.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.3746, allocations: 171.5 kB / 437.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3746, allocations: 1.094 kB / 437.8 MB, free: 5.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007452/0.382, allocations: 0.8788 MB / 438.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.3821, allocations: 9.891 kB / 438.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3821, allocations: 5.25 kB / 438.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008898/0.391, allocations: 0.8307 MB / 439.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3912, allocations: 21.86 kB / 439.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009545/0.4007, allocations: 4.881 MB / 444.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.4011, allocations: 30.11 kB / 444.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.4012, allocations: 6.297 kB / 444.4 MB, free: 1.676 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.0002563/0.4014, allocations: 150.6 kB / 444.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4016, allocations: 24.38 kB / 444.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.4016, allocations: 25.31 kB / 444.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.4016, allocations: 2.219 kB / 444.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4016, allocations: 1.031 kB / 444.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4016, allocations: 3.469 kB / 444.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.4029, allocations: 0.6101 MB / 445.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4029, allocations: 5.062 kB / 445.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.403, allocations: 22.22 kB / 445.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.4032, allocations: 54.03 kB / 445.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.4032, allocations: 8.188 kB / 445.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.4056, allocations: 2.93 MB / 448.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4056, allocations: 1.859 kB / 448.3 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.4063, allocations: 316.4 kB / 448.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4064, allocations: 105.3 kB / 448.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.4065, allocations: 11.38 kB / 448.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.4067, allocations: 13.98 kB / 448.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4068, allocations: 28.56 kB / 448.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.421e-05/0.4068, allocations: 9.641 kB / 448.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.4071, allocations: 201.2 kB / 448.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4071, allocations: 1.031 kB / 448.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007377/0.4079, allocations: 96.98 kB / 449 MB, free: 13.6 MB / 366.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.000174/0.4081, allocations: 99.12 kB / 449.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.4098, allocations: 0.5449 MB / 449.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4098, allocations: 0 / 449.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.4103, allocations: 310.5 kB / 450 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.4108, allocations: 50.22 kB / 450 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.412, allocations: 0.5296 MB / 450.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.4125, allocations: 0.7575 MB / 451.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.4126, allocations: 25.62 kB / 451.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.922e-05/0.4127, allocations: 27.55 kB / 451.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4127, allocations: 0 / 451.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01633/0.429, allocations: 7.291 MB / 458.6 MB, free: 9.66 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: 5.081602753140032]