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.001574/0.001574, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.001711, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 63.89 kB / 358.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 50.55 MB / 409.3 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004332/0.3484, allocations: 2.843 MB / 412.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3501, allocations: 0.8493 MB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.3502, allocations: 4 kB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.3504, allocations: 43.52 kB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.3508, allocations: 127.1 kB / 413.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.3512, allocations: 191.7 kB / 413.3 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.3517, allocations: 486.3 kB / 413.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.352, allocations: 125.2 kB / 413.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.3523, allocations: 191.3 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002838/0.3526, allocations: 215.1 kB / 414.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.3527, allocations: 40 kB / 414.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-05/0.3528, allocations: 52 kB / 414.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.3529, allocations: 91.7 kB / 414.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.3531, allocations: 187.1 kB / 414.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.3536, allocations: 459.5 kB / 415.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3536, allocations: 4 kB / 415.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3536, allocations: 0 / 415.1 MB, free: 11.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3536, allocations: 3.938 kB / 415.1 MB, free: 11.66 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.001492/0.3551, allocations: 0.6897 MB / 415.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.3552, allocations: 12.03 kB / 415.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.3554, allocations: 48.45 kB / 415.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.3559, allocations: 307.5 kB / 416.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.356, allocations: 46.7 kB / 416.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.81e-05/0.356, allocations: 20.38 kB / 416.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004904/0.3565, allocations: 280.5 kB / 416.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3566, allocations: 0 / 416.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.3566, allocations: 16 kB / 416.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3566, allocations: 4 kB / 416.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.357, allocations: 161.6 kB / 416.7 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.3592, allocations: 1.048 MB / 417.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.3596, allocations: 122.5 kB / 417.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.3598, allocations: 84.77 kB / 418 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3598, allocations: 7.984 kB / 418 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.3598, allocations: 38.56 kB / 418 MB, free: 8.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.3599, allocations: 0 / 418 MB, free: 8.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.001025/0.3609, allocations: 436.9 kB / 418.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.361, allocations: 162.2 kB / 418.6 MB, free: 7.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.3613, allocations: 274.5 kB / 418.9 MB, free: 7.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.3614, allocations: 33.7 kB / 418.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3615, allocations: 180 kB / 419.1 MB, free: 7.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.749e-05/0.3616, allocations: 39.36 kB / 419.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.3617, allocations: 57.67 kB / 419.2 MB, free: 7.324 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3618, allocations: 330.8 kB / 419.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.362, allocations: 83.95 kB / 419.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.3622, allocations: 130.2 kB / 419.7 MB, free: 6.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.3626, allocations: 172 kB / 419.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3626, allocations: 0 / 419.9 MB, free: 6.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007438/0.37, allocations: 0.8964 MB / 420.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3701, allocations: 7.938 kB / 420.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3701, allocations: 4 kB / 420.8 MB, free: 5.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009041/0.3792, allocations: 0.821 MB / 421.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.3793, allocations: 23.91 kB / 421.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009118/0.3885, allocations: 4.894 MB / 426.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.3888, allocations: 23.86 kB / 426.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.3888, allocations: 11.98 kB / 426.5 MB, free: 15.61 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.0001819/0.389, allocations: 145.8 kB / 426.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.3891, allocations: 23.81 kB / 426.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3891, allocations: 33.81 kB / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3892, allocations: 0 / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3892, allocations: 288 / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3892, allocations: 0 / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.3901, allocations: 0.6255 MB / 427.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3901, allocations: 3.938 kB / 427.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.3902, allocations: 19.98 kB / 427.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.3904, allocations: 57.7 kB / 427.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3905, allocations: 0 / 427.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.3925, allocations: 2.936 MB / 430.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3926, allocations: 0 / 430.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004835/0.3931, allocations: 305.7 kB / 430.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.089e-05/0.3931, allocations: 100.8 kB / 430.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.3932, allocations: 11.88 kB / 430.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.3934, allocations: 15.98 kB / 430.8 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.166e-05/0.3935, allocations: 31.91 kB / 430.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3935, allocations: 11.98 kB / 430.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002061/0.3937, allocations: 198 kB / 431 MB, free: 10.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3937, allocations: 0 / 431 MB, free: 10.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.3942, allocations: 95.78 kB / 431.1 MB, free: 10.61 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.0001602/0.3944, allocations: 103.2 kB / 431.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.3959, allocations: 0.5479 MB / 431.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3959, allocations: 0 / 431.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.3964, allocations: 320.8 kB / 432.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3968, allocations: 48.64 kB / 432.1 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008657/0.3977, allocations: 0.5215 MB / 432.7 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.398, allocations: 0.7675 MB / 433.4 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.202e-05/0.3981, allocations: 21.94 kB / 433.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.54e-05/0.3982, allocations: 31.42 kB / 433.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3982, allocations: 0 / 433.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of Templates: time 0.01189/0.4101, allocations: 7.228 MB / 440.7 MB, free: 0.9297 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)