Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 118.6 kB / 18.45 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.00133/0.00133, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.396/1.396, allocations: 227.6 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 67.89 kB / 359.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2539, allocations: 50.55 MB / 410.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004203/0.2581, allocations: 2.85 MB / 413.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2597, allocations: 0.8571 MB / 413.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2598, allocations: 7.938 kB / 414 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2599, allocations: 39.58 kB / 414 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.2603, allocations: 131 kB / 414.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.2607, allocations: 195.7 kB / 414.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005227/0.2612, allocations: 490.3 kB / 414.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.2614, allocations: 85.2 kB / 414.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.2617, allocations: 187.3 kB / 415.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.262, allocations: 219.1 kB / 415.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.376e-05/0.262, allocations: 48 kB / 415.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.2621, allocations: 48 kB / 415.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.2622, allocations: 91.72 kB / 415.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.2624, allocations: 187.1 kB / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.2629, allocations: 458.2 kB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2629, allocations: 0 / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2629, allocations: 0 / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2629, allocations: 0 / 416.1 MB, free: 11.52 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.001567/0.2645, allocations: 0.7011 MB / 416.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.2646, allocations: 8.031 kB / 416.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.2648, allocations: 48.69 kB / 416.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004846/0.2652, allocations: 307.7 kB / 417.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.2653, allocations: 50.69 kB / 417.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.2654, allocations: 16.38 kB / 417.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.2659, allocations: 288.5 kB / 417.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2659, allocations: 3.984 kB / 417.5 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.2659, allocations: 4 kB / 417.5 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.2659, allocations: 8 kB / 417.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.2663, allocations: 161.7 kB / 417.7 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.2686, allocations: 1.041 MB / 418.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.2689, allocations: 114.5 kB / 418.8 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2691, allocations: 80.75 kB / 418.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2692, allocations: 3.984 kB / 418.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.2692, allocations: 38.56 kB / 418.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.634e-06/0.2692, allocations: 0 / 418.9 MB, free: 8.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001012/0.2702, allocations: 437.5 kB / 419.4 MB, free: 7.984 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2703, allocations: 162.2 kB / 419.5 MB, free: 7.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.2706, allocations: 278.5 kB / 419.8 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/0.2707, allocations: 33.64 kB / 419.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2708, allocations: 172.4 kB / 420 MB, free: 7.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2709, allocations: 51.53 kB / 420 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-05/0.271, allocations: 49.67 kB / 420.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2711, allocations: 338.8 kB / 420.4 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2713, allocations: 79.97 kB / 420.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.2715, allocations: 142.2 kB / 420.6 MB, free: 6.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.2719, allocations: 169.6 kB / 420.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2719, allocations: 0 / 420.8 MB, free: 6.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007601/0.2795, allocations: 0.8874 MB / 421.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.2795, allocations: 7.938 kB / 421.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2795, allocations: 0 / 421.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009101/0.2886, allocations: 0.8326 MB / 422.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2887, allocations: 15.98 kB / 422.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009568/0.2983, allocations: 4.886 MB / 427.4 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.2986, allocations: 31.86 kB / 427.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.2987, allocations: 7.984 kB / 427.5 MB, free: 15.47 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.0002/0.2989, allocations: 145.7 kB / 427.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.2989, allocations: 23.86 kB / 427.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.299, allocations: 29.89 kB / 427.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.299, allocations: 4 kB / 427.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.299, allocations: 96 / 427.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.299, allocations: 3.984 kB / 427.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009888/0.3, allocations: 0.6249 MB / 428.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3, allocations: 0 / 428.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3001, allocations: 19.98 kB / 428.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000184/0.3003, allocations: 53.61 kB / 428.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.3003, allocations: 4 kB / 428.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.3026, allocations: 2.935 MB / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3026, allocations: 0 / 431.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.3031, allocations: 321.8 kB / 431.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.3032, allocations: 100.9 kB / 431.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.3032, allocations: 7.938 kB / 431.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.3034, allocations: 15.92 kB / 431.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.3035, allocations: 31.95 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3036, allocations: 4 kB / 431.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002315/0.3038, allocations: 198 kB / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3038, allocations: 0 / 432 MB, free: 10.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.3044, allocations: 99.89 kB / 432.1 MB, free: 10.47 MB / 350.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.0001659/0.3045, allocations: 111.2 kB / 432.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.306, allocations: 0.5283 MB / 432.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.306, allocations: 0 / 432.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004563/0.3065, allocations: 317.3 kB / 433 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3069, allocations: 56.48 kB / 433.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009584/0.3079, allocations: 0.5213 MB / 433.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.3083, allocations: 0.7597 MB / 434.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3084, allocations: 29.94 kB / 434.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3085, allocations: 23.42 kB / 434.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3085, allocations: 0 / 434.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of Templates: time 0.01381/0.3223, allocations: 7.268 MB / 441.7 MB, free: 0.793 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)