Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.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.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 55.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3035, allocations: 50.55 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.005144/0.3087, allocations: 4.136 MB / 414.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.311, allocations: 1.204 MB / 415.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.3112, allocations: 12 kB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.3117, allocations: 119 kB / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.3123, allocations: 266.2 kB / 415.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005672/0.3129, allocations: 267.6 kB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.04008/0.353, allocations: 46.9 MB / 462.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03094/0.384, allocations: 17.65 MB / 480.5 MB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02239/0.4064, allocations: 16.11 MB / 496.6 MB, free: 10.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03285/0.4393, allocations: 18.03 MB / 0.5026 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01238/0.4517, allocations: 3.988 MB / 0.5065 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01414/0.4659, allocations: 3.988 MB / 0.5104 GB, free: 492 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01497/0.4809, allocations: 9.44 MB / 0.5196 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03783/0.5188, allocations: 17.62 MB / 0.5368 GB, free: 5.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4683/0.9872, allocations: 50.44 MB / 0.5861 GB, free: 47.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9872, allocations: 0 / 0.5861 GB, free: 47.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.9872, allocations: 0 / 0.5861 GB, free: 47.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001414/0.9886, allocations: 0 / 0.5861 GB, free: 47.71 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6477 * Number of variables: 6477 Notification: Performance of Generate backend data structure: time 0.09554/1.084, allocations: 34.78 MB / 0.62 GB, free: 26.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.084, allocations: 11.12 kB / 0.62 GB, free: 26.83 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/1.1, allocations: 3.017 MB / 0.623 GB, free: 23.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03406/1.135, allocations: 15.37 MB / 0.638 GB, free: 9.156 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001617/1.136, allocations: 1.856 MB / 0.6398 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01008/1.146, allocations: 2.571 MB / 0.6423 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.109/1.255, allocations: 36.21 MB / 0.6777 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001116/1.257, allocations: 0 / 0.6777 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01013/1.267, allocations: 1.003 MB / 0.6787 GB, free: 15.46 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001092/1.268, allocations: 1.19 MB / 0.6798 GB, free: 14.28 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09101/1.359, allocations: 35.36 MB / 0.7144 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6275/1.986, allocations: 120.8 MB / 0.8323 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2489/2.235, allocations: 40.49 MB / 0.8718 GB, free: 80.73 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04215/2.277, allocations: 40.55 MB / 0.9114 GB, free: 39.8 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001623/2.279, allocations: 232 kB / 0.9117 GB, free: 39.57 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/2.279, allocations: 359.1 kB / 0.912 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2220): time 2.756e-05/2.279, allocations: 0 / 0.912 GB, free: 39.21 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2222): time 0.1309/2.41, allocations: 65.48 MB / 0.9759 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002731/2.411, allocations: 276.8 kB / 0.9762 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2968/2.707, allocations: 19.34 MB / 0.9951 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.004029/2.712, allocations: 0.5015 MB / 0.9956 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.006833/2.718, allocations: 9.954 MB / 1.005 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.007379/2.726, allocations: 7.841 MB / 1.013 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01099/2.737, allocations: 4.008 MB / 1.017 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.208e-05/2.737, allocations: 301.1 kB / 1.017 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0261/2.763, allocations: 13.95 MB / 1.031 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02508/2.788, allocations: 15.62 MB / 1.046 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04328/2.831, allocations: 28.78 MB / 1.074 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.283e-05/2.831, allocations: 4 kB / 1.074 GB, free: 143.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3032) (initialization): time 0.07924/2.911, allocations: 35.15 MB / 1.108 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/2.911, allocations: 4 kB / 1.108 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.416e-05/2.911, allocations: 0 / 1.108 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009596/2.92, allocations: 0.9021 MB / 1.109 GB, free: 107.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02747/2.948, allocations: 7.236 MB / 1.116 GB, free: 100.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008071/2.956, allocations: 4.94 MB / 1.121 GB, free: 95.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0196/2.976, allocations: 1.245 MB / 1.122 GB, free: 93.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005478/2.981, allocations: 0.6484 MB / 1.123 GB, free: 93.21 MB / 0.5919 GB 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 (3023): * Single equations (assignments): 3021 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0215/3.003, allocations: 8.448 MB / 1.131 GB, free: 84.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01052/3.013, allocations: 1.935 MB / 1.133 GB, free: 82.79 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/3.022, allocations: 2.677 MB / 1.136 GB, free: 80.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003769/3.022, allocations: 107.5 kB / 1.136 GB, free: 80 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/3.022, allocations: 0 / 1.136 GB, free: 80 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008233/3.031, allocations: 2.459 MB / 1.138 GB, free: 77.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009506/3.04, allocations: 0.6481 MB / 1.139 GB, free: 76.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02173/3.062, allocations: 2.669 MB / 1.142 GB, free: 74.18 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00408/3.066, allocations: 1.164 MB / 1.143 GB, free: 73.01 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06512/3.131, allocations: 31.95 MB / 1.174 GB, free: 40.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3678/3.499, allocations: 44.85 MB / 1.218 GB, free: 187.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02002/3.519, allocations: 14.07 MB / 1.231 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.02642/3.545, allocations: 13.68 MB / 1.245 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of Backend: time 1.633e-06/3.545, allocations: 3.281 kB / 1.245 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.05402/3.599, allocations: 19.58 MB / 1.264 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.1233/3.723, allocations: 68.73 MB / 1.331 GB, free: 105.4 MB / 0.5919 GB Notification: Performance of Templates: time 1.059/4.781, allocations: 375.9 MB / 1.698 GB, free: 181.8 MB / 0.5919 GB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine.pipe 2>&1)