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.001336/0.001336, allocations: 122.3 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.001163/0.001163, 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.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2316, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003865/0.2355, allocations: 2.838 MB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.2368, allocations: 0.8609 MB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2369, allocations: 4 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.2371, allocations: 43.56 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.2374, allocations: 123.1 kB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000402/0.2378, allocations: 203.6 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.2383, allocations: 482.3 kB / 414.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.2385, allocations: 121.1 kB / 414.6 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.2387, allocations: 191.4 kB / 414.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.239, allocations: 219.2 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.861e-05/0.2391, allocations: 44 kB / 415.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.2392, allocations: 44 kB / 415.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.756e-05/0.2393, allocations: 91.67 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.2395, allocations: 187.2 kB / 415.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004503/0.2399, allocations: 462.2 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2399, allocations: 0 / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2399, allocations: 4 kB / 415.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.24, allocations: 0 / 415.8 MB, free: 11.7 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.001398/0.2414, allocations: 0.6972 MB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2414, allocations: 8.031 kB / 416.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.2416, allocations: 48.69 kB / 416.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.242, allocations: 303.8 kB / 416.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.578e-05/0.2421, allocations: 50.69 kB / 416.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.394e-05/0.2422, allocations: 24.38 kB / 417 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.2426, allocations: 280.5 kB / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2426, allocations: 0 / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.2427, allocations: 12 kB / 417.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.2427, allocations: 12 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003344/0.243, allocations: 161.7 kB / 417.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.2453, allocations: 1.052 MB / 418.5 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.2456, allocations: 110.5 kB / 418.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.2458, allocations: 88.75 kB / 418.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.2458, allocations: 0 / 418.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2458, allocations: 38.56 kB / 418.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.2459, allocations: 3.938 kB / 418.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009424/0.2468, allocations: 441.1 kB / 419.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.2469, allocations: 166.2 kB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.2472, allocations: 270.5 kB / 419.6 MB, free: 7.676 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.2472, allocations: 33.7 kB / 419.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2474, allocations: 176.4 kB / 419.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.2474, allocations: 59.45 kB / 419.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.913e-05/0.2475, allocations: 57.62 kB / 419.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2476, allocations: 330.8 kB / 420.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.2478, allocations: 83.95 kB / 420.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.2481, allocations: 136.5 kB / 420.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.2484, allocations: 168.1 kB / 420.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2484, allocations: 0 / 420.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007752/0.2562, allocations: 0.8848 MB / 421.5 MB, free: 5.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2562, allocations: 7.938 kB / 421.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2562, allocations: 0 / 421.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009544/0.2657, allocations: 0.8327 MB / 422.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2659, allocations: 19.97 kB / 422.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009078/0.275, allocations: 4.896 MB / 427.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.2753, allocations: 23.94 kB / 427.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.2753, allocations: 11.92 kB / 427.3 MB, free: 15.63 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.0001565/0.2755, allocations: 141.8 kB / 427.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.487e-05/0.2755, allocations: 23.86 kB / 427.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.2756, allocations: 29.83 kB / 427.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2756, allocations: 0 / 427.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2756, allocations: 0 / 427.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.2757, allocations: 101 kB / 427.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2757, allocations: 4 kB / 427.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2759, allocations: 19.92 kB / 427.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.276, allocations: 31.95 kB / 427.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000564/0.2766, allocations: 278.5 kB / 427.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005292/0.2771, allocations: 418.6 kB / 428.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001291/0.2773, allocations: 60.14 kB / 428.3 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.2775, allocations: 198 kB / 428.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Backend: time 1.744e-06/0.2775, allocations: 0 / 428.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.2792, allocations: 0.5958 MB / 429.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of SimCode: time 0.001055/0.2803, allocations: 1.043 MB / 430.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01178/0.292, allocations: 7.57 MB / 437.7 MB, free: 5.016 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)