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.001634/0.001634, allocations: 98.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002341/0.002341, allocations: 198.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.2 MB / 245.9 MB, free: 10.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002448, allocations: 12 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1029, allocations: 51.48 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003575/0.1066, allocations: 2.311 MB / 360.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1082, allocations: 0.8186 MB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1083, allocations: 4 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.96e-05/0.1084, allocations: 31.77 kB / 361.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.1087, allocations: 111.7 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.109, allocations: 139.7 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.1094, allocations: 287.4 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.1096, allocations: 89.19 kB / 361.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.1099, allocations: 155.5 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1101, allocations: 183.3 kB / 362.2 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.1102, allocations: 20 kB / 362.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.415e-05/0.1103, allocations: 23.98 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.1103, allocations: 67.78 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.165e-05/0.1104, allocations: 85.52 kB / 362.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003341/0.1107, allocations: 331.3 kB / 362.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1108, allocations: 0 / 362.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.644e-06/0.1108, allocations: 0 / 362.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1108, allocations: 0 / 362.7 MB, free: 9.289 MB / 302.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.001402/0.1122, allocations: 0.6389 MB / 363.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1122, allocations: 8.031 kB / 363.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.1125, allocations: 47.61 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.1129, allocations: 293.5 kB / 363.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.113, allocations: 46.14 kB / 363.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.113, allocations: 31.89 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.1135, allocations: 284.4 kB / 364 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1135, allocations: 0 / 364 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.1136, allocations: 8 kB / 364 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1136, allocations: 8 kB / 364 MB, free: 7.816 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.1139, allocations: 169.6 kB / 364.2 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.1161, allocations: 1.064 MB / 365.3 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1164, allocations: 122.5 kB / 365.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1164, allocations: 7.984 kB / 365.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.1165, allocations: 42.52 kB / 365.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.1165, allocations: 0 / 365.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008964/0.1174, allocations: 453 kB / 365.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.1175, allocations: 154.2 kB / 366 MB, free: 5.648 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.1177, allocations: 270.6 kB / 366.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1178, allocations: 25.7 kB / 366.3 MB, free: 5.344 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.1179, allocations: 184 kB / 366.5 MB, free: 5.156 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.1179, allocations: 51.3 kB / 366.6 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.118, allocations: 4 kB / 366.6 MB, free: 5.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1181, allocations: 334.8 kB / 366.9 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.1183, allocations: 84.34 kB / 367 MB, free: 4.684 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.1185, allocations: 145.4 kB / 367.1 MB, free: 4.527 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1187, allocations: 99.92 kB / 367.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1187, allocations: 0 / 367.2 MB, free: 4.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007268/0.126, allocations: 0.9043 MB / 368.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.1261, allocations: 4 kB / 368.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.1261, allocations: 0 / 368.1 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008843/0.1349, allocations: 0.8327 MB / 368.9 MB, free: 2.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1351, allocations: 15.98 kB / 369 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3006/0.4357, allocations: 4.618 MB / 373.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.4362, allocations: 28.19 kB / 373.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.4362, allocations: 9.875 kB / 373.6 MB, free: 16.93 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 1 {4 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.4364, allocations: 138.3 kB / 373.8 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.535e-05/0.4365, allocations: 23.55 kB / 373.8 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.451e-05/0.4366, allocations: 31.56 kB / 373.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4366, allocations: 1.469 kB / 373.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.4366, allocations: 1.219 kB / 373.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4366, allocations: 4.547 kB / 373.8 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.4372, allocations: 333.1 kB / 374.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.4372, allocations: 0.9375 kB / 374.1 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.4374, allocations: 29.73 kB / 374.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.4376, allocations: 51.62 kB / 374.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.4377, allocations: 3.922 kB / 374.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.4397, allocations: 2.681 MB / 376.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4397, allocations: 1.266 kB / 376.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.4404, allocations: 313.8 kB / 377.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.4405, allocations: 104.4 kB / 377.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.4406, allocations: 4.031 kB / 377.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4408, allocations: 18.55 kB / 377.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.4409, allocations: 13.38 kB / 377.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.441, allocations: 8.422 kB / 377.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002834/0.4412, allocations: 192.7 kB / 377.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4412, allocations: 0 / 377.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006601/0.4419, allocations: 99.53 kB / 377.6 MB, free: 13.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.4421, allocations: 106.6 kB / 377.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.4438, allocations: 0.5505 MB / 378.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.4438, allocations: 1.188 kB / 378.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/0.4443, allocations: 319 kB / 378.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.4447, allocations: 54.75 kB / 378.7 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4459, allocations: 0.6284 MB / 379.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.4463, allocations: 0.7719 MB / 380.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.4464, allocations: 22.77 kB / 380.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.78e-05/0.4465, allocations: 21.83 kB / 380.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4465, allocations: 1.375 kB / 380.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Templates: time 0.01608/0.4626, allocations: 6.536 MB / 386.6 MB, free: 11 MB / 302.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)