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.001421/0.001421, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001727/0.001727, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.27 kB / 306.9 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.0865, allocations: 50.53 MB / 357.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.00384/0.09037, allocations: 2.885 MB / 360.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.09185, allocations: 0.861 MB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.09204, allocations: 4 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.09223, allocations: 31.77 kB / 361.2 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003078/0.09255, allocations: 99.28 kB / 361.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.09295, allocations: 175.8 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.0934, allocations: 462.3 kB / 361.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.09358, allocations: 102 kB / 362 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.09386, allocations: 171.3 kB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.09413, allocations: 195.2 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.0942, allocations: 24 kB / 362.4 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.589e-05/0.0943, allocations: 32 kB / 362.5 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.09438, allocations: 75.66 kB / 362.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.09454, allocations: 167.1 kB / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.09484, allocations: 335.1 kB / 363 MB, free: 8.672 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.09486, allocations: 4 kB / 363 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.09486, allocations: 0 / 363 MB, free: 8.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.09488, allocations: 0 / 363 MB, free: 8.668 MB / 302.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.001455/0.09634, allocations: 0.6936 MB / 363.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.09638, allocations: 8.031 kB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.09657, allocations: 44.55 kB / 363.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.09696, allocations: 307.5 kB / 364.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/0.09705, allocations: 50.69 kB / 364.1 MB, free: 7.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.0971, allocations: 28.31 kB / 364.1 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.09754, allocations: 280.5 kB / 364.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.09756, allocations: 0 / 364.4 MB, free: 7.156 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.0976, allocations: 16 kB / 364.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.09761, allocations: 4 kB / 364.4 MB, free: 7.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.09795, allocations: 161.7 kB / 364.6 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.1002, allocations: 1.056 MB / 365.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1005, allocations: 122 kB / 365.8 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.1007, allocations: 84.75 kB / 365.9 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1007, allocations: 15.94 kB / 365.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1008, allocations: 30.56 kB / 365.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1008, allocations: 0 / 365.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009537/0.1017, allocations: 445.4 kB / 366.3 MB, free: 5.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.527e-05/0.1018, allocations: 154.2 kB / 366.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1021, allocations: 278.5 kB / 366.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1021, allocations: 29.7 kB / 366.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1023, allocations: 176.1 kB / 367 MB, free: 4.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1023, allocations: 55.28 kB / 367 MB, free: 4.355 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1024, allocations: 53.67 kB / 367.1 MB, free: 4.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1025, allocations: 326.8 kB / 367.4 MB, free: 3.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1027, allocations: 87.95 kB / 367.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.103, allocations: 129.8 kB / 367.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1033, allocations: 168.2 kB / 367.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1033, allocations: 0 / 367.8 MB, free: 3.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008163/0.1115, allocations: 0.8925 MB / 368.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1115, allocations: 15.94 kB / 368.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1115, allocations: 0 / 368.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009548/0.121, allocations: 0.8171 MB / 369.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1212, allocations: 23.97 kB / 369.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/0.2694, allocations: 4.465 MB / 374 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.2698, allocations: 29.58 kB / 374 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2698, allocations: 9.281 kB / 374 MB, free: 17.34 MB / 302.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.0001377/0.2699, allocations: 150.5 kB / 374.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.27, allocations: 25.27 kB / 374.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.27, allocations: 26.33 kB / 374.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.27, allocations: 5.219 kB / 374.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2701, allocations: 10.69 kB / 374.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2701, allocations: 3.406 kB / 374.2 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.2709, allocations: 0.6187 MB / 374.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2709, allocations: 1.219 kB / 374.8 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.271, allocations: 19.3 kB / 374.9 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/0.2712, allocations: 52.53 kB / 374.9 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2712, allocations: 8.203 kB / 374.9 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.2726, allocations: 2.662 MB / 377.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2726, allocations: 1.188 kB / 377.6 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000508/0.2731, allocations: 316.2 kB / 377.9 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.2732, allocations: 105.4 kB / 378 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2732, allocations: 2.625 kB / 378 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.2734, allocations: 15.06 kB / 378 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.2735, allocations: 12.59 kB / 378 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.2735, allocations: 11.2 kB / 378 MB, free: 13.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.2738, allocations: 200.4 kB / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2738, allocations: 3.938 kB / 378.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.2743, allocations: 98.03 kB / 378.3 MB, free: 13.67 MB / 302.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.0001273/0.2744, allocations: 108.5 kB / 378.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.2759, allocations: 0.539 MB / 379 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2759, allocations: 0.875 kB / 379 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2763, allocations: 311 kB / 379.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.2767, allocations: 49.48 kB / 379.3 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008806/0.2776, allocations: 0.6395 MB / 380 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001831/0.2778, allocations: 0.7656 MB / 380.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.2779, allocations: 27.27 kB / 380.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2779, allocations: 0 / 380.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of Templates: time 0.007972/0.2858, allocations: 6.21 MB / 387 MB, free: 10.72 MB / 302.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)