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.001086/0.001086, allocations: 98.53 kB / 17.01 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 192.3 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.7 MB / 246.4 MB, free: 9.801 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002599, allocations: 7.984 kB / 307.1 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 51.51 MB / 358.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004158/0.1154, allocations: 2.424 MB / 361.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.1176, allocations: 0.8147 MB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1178, allocations: 4 kB / 361.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.118, allocations: 31.75 kB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.1184, allocations: 99.3 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005069/0.119, allocations: 139.8 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.1196, allocations: 434.4 kB / 362.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.1199, allocations: 89.17 kB / 362.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003512/0.1202, allocations: 159.4 kB / 362.8 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.1206, allocations: 179.3 kB / 363 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.1207, allocations: 20 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1208, allocations: 24 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.409e-05/0.1209, allocations: 67.67 kB / 363.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.121, allocations: 77.58 kB / 363.2 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.1215, allocations: 343.3 kB / 363.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1215, allocations: 0 / 363.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1215, allocations: 0 / 363.5 MB, free: 8.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1215, allocations: 0 / 363.5 MB, free: 8.516 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.001902/0.1234, allocations: 0.6467 MB / 364.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1235, allocations: 8.031 kB / 364.2 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.1238, allocations: 47.61 kB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005393/0.1243, allocations: 298.3 kB / 364.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.1244, allocations: 46.14 kB / 364.5 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.235e-05/0.1245, allocations: 24 kB / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.1252, allocations: 284.3 kB / 364.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1253, allocations: 0 / 364.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/0.1253, allocations: 12 kB / 364.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.1253, allocations: 4 kB / 364.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005257/0.1259, allocations: 169.7 kB / 365 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.1291, allocations: 1.068 MB / 366.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.1295, allocations: 118.5 kB / 366.2 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.1298, allocations: 92.77 kB / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.1299, allocations: 4 kB / 366.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1299, allocations: 38.52 kB / 366.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.144e-06/0.1299, allocations: 0 / 366.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.00129/0.1312, allocations: 457.4 kB / 366.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.1313, allocations: 154.2 kB / 366.9 MB, free: 4.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.1318, allocations: 270.5 kB / 367.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.1318, allocations: 33.7 kB / 367.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.132, allocations: 180.1 kB / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.132, allocations: 39.36 kB / 367.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.1321, allocations: 4 kB / 367.5 MB, free: 4.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1323, allocations: 338.8 kB / 367.8 MB, free: 3.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.1326, allocations: 92.33 kB / 367.9 MB, free: 3.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.1329, allocations: 149.1 kB / 368 MB, free: 3.648 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1333, allocations: 102.5 kB / 368.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1333, allocations: 0 / 368.1 MB, free: 3.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009333/0.1426, allocations: 0.9004 MB / 369 MB, free: 2.637 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.1427, allocations: 4 kB / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1428, allocations: 0 / 369 MB, free: 2.633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/0.1546, allocations: 0.8366 MB / 369.9 MB, free: 1.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.1548, allocations: 23.92 kB / 369.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2635/0.4183, allocations: 4.489 MB / 374.4 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.4188, allocations: 26.55 kB / 374.4 MB, free: 16.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.4188, allocations: 7.891 kB / 374.4 MB, free: 16.35 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.000275/0.4191, allocations: 140.8 kB / 374.5 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.4192, allocations: 24.16 kB / 374.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.653e-05/0.4193, allocations: 25.84 kB / 374.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4193, allocations: 1.906 kB / 374.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4194, allocations: 8.156 kB / 374.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4194, allocations: 3.438 kB / 374.6 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.4208, allocations: 0.629 MB / 375.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4208, allocations: 4.719 kB / 375.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.4209, allocations: 21.52 kB / 375.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/0.4212, allocations: 49.91 kB / 375.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.4212, allocations: 9.797 kB / 375.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.4233, allocations: 2.67 MB / 378 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4233, allocations: 1.125 kB / 378 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.4239, allocations: 326.3 kB / 378.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.2e-05/0.424, allocations: 102.3 kB / 378.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.424, allocations: 3.062 kB / 378.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.4242, allocations: 14.2 kB / 378.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.4243, allocations: 22.31 kB / 378.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.4244, allocations: 8.172 kB / 378.5 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.4247, allocations: 193.8 kB / 378.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4247, allocations: 1.062 kB / 378.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006647/0.4253, allocations: 103.2 kB / 378.7 MB, free: 12.93 MB / 302.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 (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.0002067/0.4256, allocations: 113.1 kB / 378.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.4275, allocations: 0.55 MB / 379.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.4275, allocations: 0 / 379.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.4281, allocations: 315.2 kB / 379.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.4287, allocations: 46.78 kB / 379.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4303, allocations: 0.6168 MB / 380.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.4307, allocations: 0.7722 MB / 381.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.4309, allocations: 30.56 kB / 381.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.4309, allocations: 22.83 kB / 381.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4309, allocations: 0 / 381.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01831/0.4493, allocations: 6.535 MB / 387.7 MB, free: 9.883 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)