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.001701/0.001701, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 55.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.271, allocations: 50.55 MB / 410 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005004/0.276, allocations: 2.835 MB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2777, allocations: 0.8609 MB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000279/0.278, allocations: 4 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.2783, allocations: 39.58 kB / 413.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005152/0.2788, allocations: 119.1 kB / 413.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.2793, allocations: 199.6 kB / 414 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006522/0.28, allocations: 482.3 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2803, allocations: 121.2 kB / 414.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003861/0.2806, allocations: 191.3 kB / 414.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.281, allocations: 215.2 kB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.2812, allocations: 44 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.2813, allocations: 48 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.773e-05/0.2814, allocations: 91.66 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002158/0.2816, allocations: 187.2 kB / 415.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.2821, allocations: 463.5 kB / 415.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2822, allocations: 8 kB / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2822, allocations: 0 / 415.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.684e-05/0.2822, allocations: 0 / 415.8 MB, free: 11.65 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.001716/0.2839, allocations: 0.6897 MB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.284, allocations: 8.031 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.2842, allocations: 48.45 kB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.2847, allocations: 303.6 kB / 416.9 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.2848, allocations: 46.7 kB / 416.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.2848, allocations: 28.36 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.2853, allocations: 280.5 kB / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.2853, allocations: 0 / 417.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.2853, allocations: 16 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.2854, allocations: 4 kB / 417.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.2857, allocations: 161.7 kB / 417.4 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.2881, allocations: 1.044 MB / 418.4 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003531/0.2885, allocations: 118.5 kB / 418.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.2887, allocations: 88.75 kB / 418.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2887, allocations: 4 kB / 418.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2887, allocations: 38.56 kB / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.746e-06/0.2887, allocations: 0 / 418.7 MB, free: 8.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001072/0.2898, allocations: 437.4 kB / 419.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.2899, allocations: 162.2 kB / 419.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.2902, allocations: 270.6 kB / 419.5 MB, free: 7.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.2904, allocations: 33.7 kB / 419.6 MB, free: 7.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.2905, allocations: 184 kB / 419.7 MB, free: 7.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.2905, allocations: 39.36 kB / 419.8 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2906, allocations: 61.61 kB / 419.8 MB, free: 7.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2908, allocations: 330.8 kB / 420.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.291, allocations: 83.95 kB / 420.2 MB, free: 6.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.2912, allocations: 132.5 kB / 420.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.2915, allocations: 167.9 kB / 420.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2915, allocations: 3.984 kB / 420.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008284/0.2998, allocations: 0.8913 MB / 421.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.2999, allocations: 7.938 kB / 421.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2999, allocations: 4 kB / 421.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01006/0.31, allocations: 0.8248 MB / 422.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3101, allocations: 19.97 kB / 422.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009591/0.3197, allocations: 4.892 MB / 427.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.3201, allocations: 31.98 kB / 427.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3201, allocations: 11.97 kB / 427.2 MB, free: 15.6 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.0001765/0.3203, allocations: 145.8 kB / 427.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.3203, allocations: 23.72 kB / 427.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.87e-05/0.3204, allocations: 29.83 kB / 427.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3204, allocations: 0 / 427.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3204, allocations: 0 / 427.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.723e-05/0.3205, allocations: 97.09 kB / 427.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.3205, allocations: 8 kB / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3208, allocations: 15.92 kB / 427.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.3209, allocations: 35.91 kB / 427.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005699/0.3214, allocations: 274.4 kB / 427.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005455/0.322, allocations: 422.4 kB / 428.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001276/0.3221, allocations: 56.03 kB / 428.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.3223, allocations: 198 kB / 428.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Backend: time 5.91e-07/0.3224, allocations: 0 / 428.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3242, allocations: 0.597 MB / 429.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 0.001151/0.3254, allocations: 1.014 MB / 430.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01315/0.3385, allocations: 7.573 MB / 437.7 MB, free: 5.008 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)