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.001655/0.001655, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.62 kB / 307 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 50.52 MB / 357.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004836/0.1428, allocations: 2.847 MB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.1448, allocations: 0.8609 MB / 361.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.145, allocations: 4 kB / 361.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1452, allocations: 43.58 kB / 361.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.1456, allocations: 111.1 kB / 361.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.146, allocations: 203.6 kB / 361.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.1465, allocations: 478.4 kB / 362 MB, free: 9.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.1467, allocations: 117.5 kB / 362.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.147, allocations: 191.3 kB / 362.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1473, allocations: 219.2 kB / 362.5 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/0.1474, allocations: 44 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1475, allocations: 48 kB / 362.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.975e-05/0.1476, allocations: 95.66 kB / 362.7 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002773/0.1479, allocations: 187.2 kB / 362.9 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005328/0.1485, allocations: 446.5 kB / 363.3 MB, free: 8.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1485, allocations: 7.938 kB / 363.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1485, allocations: 0 / 363.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.1485, allocations: 3.938 kB / 363.3 MB, free: 8.18 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.001655/0.1502, allocations: 0.6896 MB / 364 MB, free: 7.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1502, allocations: 12.03 kB / 364 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002347/0.1505, allocations: 52.48 kB / 364.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.1509, allocations: 307.5 kB / 364.4 MB, free: 7.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.226e-05/0.151, allocations: 46.7 kB / 364.4 MB, free: 6.988 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.1511, allocations: 20.38 kB / 364.5 MB, free: 6.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005297/0.1516, allocations: 284.5 kB / 364.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1516, allocations: 0 / 364.7 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.066e-05/0.1517, allocations: 12 kB / 364.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.1517, allocations: 8 kB / 364.7 MB, free: 6.648 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.1521, allocations: 157.7 kB / 364.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.1545, allocations: 1.052 MB / 366 MB, free: 5.367 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.1549, allocations: 118.5 kB / 366.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1551, allocations: 88.75 kB / 366.2 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1551, allocations: 4 kB / 366.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1551, allocations: 38.56 kB / 366.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1551, allocations: 0 / 366.2 MB, free: 5.102 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001047/0.1562, allocations: 441.1 kB / 366.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.1563, allocations: 158.2 kB / 366.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003495/0.1567, allocations: 278.4 kB / 367.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.1567, allocations: 33.7 kB / 367.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1569, allocations: 184 kB / 367.3 MB, free: 3.918 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.1569, allocations: 51.28 kB / 367.3 MB, free: 3.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.1571, allocations: 45.69 kB / 367.4 MB, free: 3.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1572, allocations: 338.8 kB / 367.7 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1574, allocations: 83.95 kB / 367.8 MB, free: 3.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1577, allocations: 128.5 kB / 367.9 MB, free: 3.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.158, allocations: 172.1 kB / 368.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.158, allocations: 0 / 368.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007539/0.1656, allocations: 0.8886 MB / 369 MB, free: 2.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.1657, allocations: 7.938 kB / 369 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1657, allocations: 4 kB / 369 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009148/0.1748, allocations: 0.8326 MB / 369.8 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.175, allocations: 15.98 kB / 369.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1978/0.3728, allocations: 4.887 MB / 374.7 MB, free: 17.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.3731, allocations: 24.78 kB / 374.7 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3732, allocations: 10.27 kB / 374.7 MB, free: 17.21 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 (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.0001854/0.3734, allocations: 143.9 kB / 374.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/0.3735, allocations: 27.31 kB / 374.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.854e-05/0.3735, allocations: 28.38 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3735, allocations: 1.812 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3735, allocations: 1.344 kB / 374.9 MB, free: 17.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.3736, allocations: 5.344 kB / 374.9 MB, free: 17.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3747, allocations: 0.6174 MB / 375.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3747, allocations: 0.5 kB / 375.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.3749, allocations: 21.06 kB / 375.6 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.3751, allocations: 59.28 kB / 375.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.3751, allocations: 3.75 kB / 375.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.3767, allocations: 2.931 MB / 378.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.3768, allocations: 1.219 kB / 378.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.3773, allocations: 316.2 kB / 378.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.3773, allocations: 99.2 kB / 379 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.3774, allocations: 6.359 kB / 379 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3776, allocations: 13.81 kB / 379 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.39e-05/0.3777, allocations: 39.88 kB / 379 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3777, allocations: 6.234 kB / 379 MB, free: 13.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002398/0.378, allocations: 197.5 kB / 379.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.378, allocations: 0 / 379.2 MB, free: 13.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005749/0.3786, allocations: 99.25 kB / 379.3 MB, free: 13.18 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 (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.0001396/0.3787, allocations: 107.2 kB / 379.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3802, allocations: 0.5501 MB / 380 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3802, allocations: 0 / 380 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003992/0.3806, allocations: 331.7 kB / 380.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.381, allocations: 45.75 kB / 380.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009068/0.3819, allocations: 0.5302 MB / 380.9 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3822, allocations: 0.7626 MB / 381.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.3823, allocations: 21.48 kB / 381.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.3824, allocations: 26.58 kB / 381.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3824, allocations: 0 / 381.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of Templates: time 0.01374/0.3962, allocations: 7.273 MB / 389 MB, free: 9.777 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)