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.001088/0.001088, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 61.22 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08709/0.08824, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003808/0.09208, allocations: 2.848 MB / 361.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.09341, allocations: 0.8571 MB / 362.6 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.09353, allocations: 4 kB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.09368, allocations: 43.52 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.09396, allocations: 119.1 kB / 362.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.09434, allocations: 195.7 kB / 363 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.09478, allocations: 482.3 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.09498, allocations: 117.2 kB / 363.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/0.09523, allocations: 191.3 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002779/0.09552, allocations: 223.1 kB / 364 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.09558, allocations: 40 kB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.284e-05/0.09567, allocations: 52 kB / 364 MB, free: 8.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.255e-05/0.09575, allocations: 87.73 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.09592, allocations: 191.1 kB / 364.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004043/0.09633, allocations: 462.4 kB / 364.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.09634, allocations: 0 / 364.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09635, allocations: 0 / 364.8 MB, free: 7.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.09636, allocations: 0 / 364.8 MB, free: 7.469 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.001421/0.09779, allocations: 0.6857 MB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.09783, allocations: 12.03 kB / 365.5 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.09801, allocations: 44.55 kB / 365.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.09842, allocations: 307.5 kB / 365.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.939e-05/0.0985, allocations: 50.69 kB / 365.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.09855, allocations: 24.38 kB / 365.9 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.09902, allocations: 288.5 kB / 366.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.09904, allocations: 0 / 366.2 MB, free: 5.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.09908, allocations: 8 kB / 366.2 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.09909, allocations: 4 kB / 366.2 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.09943, allocations: 161.6 kB / 366.3 MB, free: 5.789 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.1016, allocations: 1.04 MB / 367.4 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.1019, allocations: 126.5 kB / 367.5 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.1021, allocations: 85.02 kB / 367.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.1021, allocations: 4 kB / 367.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1021, allocations: 38.55 kB / 367.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/0.1021, allocations: 3.984 kB / 367.6 MB, free: 4.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008881/0.103, allocations: 437.1 kB / 368.1 MB, free: 3.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.1031, allocations: 162.2 kB / 368.2 MB, free: 3.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.1034, allocations: 282.4 kB / 368.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.1034, allocations: 25.7 kB / 368.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1035, allocations: 176.1 kB / 368.7 MB, free: 3.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.1036, allocations: 55.28 kB / 368.7 MB, free: 3.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.1037, allocations: 49.67 kB / 368.8 MB, free: 3.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1038, allocations: 330.8 kB / 369.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.104, allocations: 87.95 kB / 369.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.1042, allocations: 136.7 kB / 369.3 MB, free: 2.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.1046, allocations: 164 kB / 369.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1046, allocations: 0 / 369.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007249/0.1118, allocations: 0.8964 MB / 370.4 MB, free: 1.473 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1119, allocations: 7.938 kB / 370.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1119, allocations: 4 kB / 370.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008899/0.1208, allocations: 0.8249 MB / 371.2 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1209, allocations: 23.92 kB / 371.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.152/0.273, allocations: 4.879 MB / 376.1 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2733, allocations: 26.58 kB / 376.2 MB, free: 16.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.2733, allocations: 7.906 kB / 376.2 MB, free: 16.87 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.0001369/0.2735, allocations: 140.5 kB / 376.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.52e-05/0.2735, allocations: 25.91 kB / 376.3 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.183e-05/0.2736, allocations: 28.53 kB / 376.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2736, allocations: 5.812 kB / 376.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2736, allocations: 0.6562 kB / 376.4 MB, free: 16.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2736, allocations: 4.922 kB / 376.4 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008331/0.2744, allocations: 0.6196 MB / 377 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2745, allocations: 1.094 kB / 377 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2746, allocations: 21.3 kB / 377 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.2748, allocations: 51.58 kB / 377.1 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2748, allocations: 15.23 kB / 377.1 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.2762, allocations: 2.924 MB / 380 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2762, allocations: 5.578 kB / 380 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.2767, allocations: 311.7 kB / 380.3 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.2767, allocations: 100 kB / 380.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.2768, allocations: 11.69 kB / 380.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.277, allocations: 11.22 kB / 380.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.2771, allocations: 37.8 kB / 380.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.2771, allocations: 8.812 kB / 380.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.2773, allocations: 196.7 kB / 380.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2773, allocations: 0 / 380.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000481/0.2778, allocations: 103 kB / 380.8 MB, free: 12.82 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 9.721e-05/0.2779, allocations: 103.4 kB / 380.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.2793, allocations: 0.545 MB / 381.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2793, allocations: 1.375 kB / 381.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.2796, allocations: 314.1 kB / 381.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.2801, allocations: 49.34 kB / 381.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/0.2809, allocations: 0.5142 MB / 382.3 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.2811, allocations: 0.7608 MB / 383 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.7e-05/0.2812, allocations: 26.62 kB / 383.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.2812, allocations: 23.2 kB / 383.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of SimCode: time 3.7e-07/0.2812, allocations: 0 / 383.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Templates: time 0.01207/0.2933, allocations: 7.22 MB / 390.3 MB, free: 9.367 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 -s gbode -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)