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.001607/0.001607, allocations: 115.2 kB / 18.46 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001812, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2185, allocations: 50.55 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningSegmentedTransmissionLine): time 0.004858/0.2234, allocations: 4.139 MB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.2254, allocations: 1.2 MB / 415.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.2256, allocations: 8 kB / 415.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.226, allocations: 130.9 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.2265, allocations: 278.2 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.227, allocations: 263.6 kB / 416 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.03647/0.2634, allocations: 46.93 MB / 462.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02121/0.2847, allocations: 17.65 MB / 480.6 MB, free: 10.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/0.3036, allocations: 16.12 MB / 496.7 MB, free: 10.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02731/0.331, allocations: 18.04 MB / 0.5027 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008732/0.3397, allocations: 3.984 MB / 0.5065 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01162/0.3514, allocations: 3.996 MB / 0.5104 GB, free: 428 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01165/0.363, allocations: 9.432 MB / 0.5197 GB, free: 6.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02998/0.393, allocations: 17.62 MB / 0.5369 GB, free: 5.266 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4094/0.8025, allocations: 50.58 MB / 0.5863 GB, free: 47.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.8025, allocations: 0 / 0.5863 GB, free: 47.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8026, allocations: 0 / 0.5863 GB, free: 47.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001448/0.804, allocations: 2.625 kB / 0.5863 GB, free: 47.53 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.08956/0.8936, allocations: 35.48 MB / 0.6209 GB, free: 25.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.8936, allocations: 12.03 kB / 0.6209 GB, free: 25.9 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/0.9065, allocations: 3.158 MB / 0.624 GB, free: 22.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02925/0.9358, allocations: 15.45 MB / 0.6391 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001445/0.9373, allocations: 1.864 MB / 0.6409 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009456/0.9468, allocations: 2.577 MB / 0.6434 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08886/1.036, allocations: 36.22 MB / 0.6788 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005255/1.036, allocations: 0 / 0.6788 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00808/1.044, allocations: 1 MB / 0.6798 GB, free: 14.34 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001107/1.045, allocations: 1.188 MB / 0.6809 GB, free: 13.16 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08087/1.126, allocations: 35.36 MB / 0.7155 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4751/1.601, allocations: 121.1 MB / 0.8337 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3686/1.97, allocations: 40.48 MB / 0.8732 GB, free: 85.43 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04483/2.015, allocations: 40.54 MB / 0.9128 GB, free: 44.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/2.017, allocations: 225.4 kB / 0.913 GB, free: 44.28 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003842/2.017, allocations: 363.1 kB / 0.9134 GB, free: 43.91 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=2220): time 5.814e-05/2.017, allocations: 0 / 0.9134 GB, free: 43.91 MB / 0.5607 GB Notification: Performance of matching and sorting (n=2222): time 0.1186/2.136, allocations: 65.85 MB / 0.9777 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001915/2.136, allocations: 280.8 kB / 0.9779 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2552/2.391, allocations: 19.35 MB / 0.9968 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.003877/2.395, allocations: 0.5026 MB / 0.9973 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005609/2.401, allocations: 10.18 MB / 1.007 GB, free: 198.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.008295/2.409, allocations: 8.232 MB / 1.015 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01414/2.423, allocations: 4.013 MB / 1.019 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.849e-05/2.423, allocations: 304.9 kB / 1.02 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01898/2.442, allocations: 13.96 MB / 1.033 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02108/2.463, allocations: 15.62 MB / 1.048 GB, free: 175.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03861/2.502, allocations: 28.79 MB / 1.077 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-05/2.502, allocations: 0.75 kB / 1.077 GB, free: 147.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3032) (initialization): time 0.06249/2.564, allocations: 35.24 MB / 1.111 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/2.564, allocations: 10.66 kB / 1.111 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.814e-05/2.564, allocations: 0 / 1.111 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009114/2.574, allocations: 0.8969 MB / 1.112 GB, free: 111 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02522/2.599, allocations: 7.223 MB / 1.119 GB, free: 103.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007923/2.607, allocations: 4.957 MB / 1.124 GB, free: 98.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01887/2.626, allocations: 1.245 MB / 1.125 GB, free: 96.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0028/2.629, allocations: 0.6562 MB / 1.126 GB, free: 96.26 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.01367/2.642, allocations: 8.448 MB / 1.134 GB, free: 87.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004529/2.647, allocations: 2.016 MB / 1.136 GB, free: 85.76 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/2.651, allocations: 2.669 MB / 1.138 GB, free: 83.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001219/2.651, allocations: 103.6 kB / 1.138 GB, free: 82.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/2.652, allocations: 7.922 kB / 1.139 GB, free: 82.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004884/2.656, allocations: 2.551 MB / 1.141 GB, free: 80.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004514/2.661, allocations: 0.6481 MB / 1.142 GB, free: 79.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01723/2.678, allocations: 2.673 MB / 1.144 GB, free: 77.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003259/2.681, allocations: 1.156 MB / 1.145 GB, free: 75.91 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05401/2.735, allocations: 31.96 MB / 1.177 GB, free: 43.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2916/3.027, allocations: 44.96 MB / 1.22 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01715/3.044, allocations: 14.08 MB / 1.234 GB, free: 184.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01909/3.063, allocations: 13.68 MB / 1.248 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of Backend: time 1.232e-06/3.063, allocations: 0 / 1.248 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03897/3.102, allocations: 19.6 MB / 1.267 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.1026/3.205, allocations: 69.64 MB / 1.335 GB, free: 106.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.9065/4.112, allocations: 375.9 MB / 1.702 GB, free: 182.5 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)