Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00187/0.00187, allocations: 205.9 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.481/1.481, allocations: 230.4 MB / 250 MB, free: 9.094 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.84 kB / 367.4 MB, free: 7.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2936, allocations: 53.32 MB / 420.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004741/0.2984, allocations: 2.858 MB / 423.5 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.3002, allocations: 0.8648 MB / 424.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.3004, allocations: 4 kB / 424.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.3005, allocations: 47.56 kB / 424.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.3009, allocations: 111.1 kB / 424.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.3014, allocations: 203.6 kB / 424.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000514/0.3019, allocations: 486.3 kB / 425.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3021, allocations: 93.12 kB / 425.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.3024, allocations: 187.4 kB / 425.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.3027, allocations: 219.2 kB / 425.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.524e-05/0.3028, allocations: 44 kB / 425.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.945e-05/0.3029, allocations: 44 kB / 425.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.303, allocations: 95.66 kB / 425.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.3031, allocations: 187.2 kB / 426.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005879/0.3037, allocations: 462.2 kB / 426.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3037, allocations: 4 kB / 426.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3037, allocations: 0 / 426.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.3038, allocations: 0 / 426.5 MB, free: 2.445 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.001554/0.3053, allocations: 0.6972 MB / 427.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3054, allocations: 8.031 kB / 427.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.3055, allocations: 48.69 kB / 427.3 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.3061, allocations: 307.7 kB / 427.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.618e-05/0.3061, allocations: 46.7 kB / 427.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.838e-05/0.3062, allocations: 24.38 kB / 427.7 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.3067, allocations: 280.5 kB / 427.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3067, allocations: 0 / 427.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.3067, allocations: 16 kB / 428 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3067, allocations: 7.984 kB / 428 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003685/0.3071, allocations: 161.7 kB / 428.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.3095, allocations: 1.052 MB / 429.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.3098, allocations: 102.5 kB / 429.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.31, allocations: 76.77 kB / 429.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3101, allocations: 8 kB / 429.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3101, allocations: 38.55 kB / 429.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.292e-06/0.3101, allocations: 0 / 429.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009903/0.3111, allocations: 436.4 kB / 429.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.3112, allocations: 166.1 kB / 430 MB, free: 14.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.3115, allocations: 278.5 kB / 430.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3115, allocations: 33.64 kB / 430.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3117, allocations: 172.4 kB / 430.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.611e-05/0.3117, allocations: 59.44 kB / 430.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3118, allocations: 49.69 kB / 430.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.312, allocations: 330.8 kB / 430.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3122, allocations: 87.95 kB / 431 MB, free: 13.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.3124, allocations: 125.1 kB / 431.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.3127, allocations: 165.7 kB / 431.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3127, allocations: 0 / 431.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008181/0.3209, allocations: 0.8875 MB / 432.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3209, allocations: 11.94 kB / 432.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3209, allocations: 4 kB / 432.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009345/0.3303, allocations: 0.8209 MB / 433 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.3304, allocations: 19.98 kB / 433 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009947/0.3404, allocations: 4.902 MB / 437.9 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.3407, allocations: 35.86 kB / 437.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.3408, allocations: 7.984 kB / 437.9 MB, free: 6.395 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.0002036/0.341, allocations: 141.8 kB / 438.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.341, allocations: 23.86 kB / 438.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.646e-05/0.3411, allocations: 25.83 kB / 438.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3411, allocations: 4 kB / 438.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3411, allocations: 0 / 438.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3411, allocations: 0 / 438.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009604/0.342, allocations: 0.6178 MB / 438.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3421, allocations: 4 kB / 438.8 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3422, allocations: 20.2 kB / 438.8 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.3424, allocations: 53.72 kB / 438.8 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.3424, allocations: 11.98 kB / 438.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/0.3448, allocations: 2.927 MB / 441.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3448, allocations: 0 / 441.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005656/0.3453, allocations: 316.9 kB / 442.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.3454, allocations: 108.9 kB / 442.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.66e-05/0.3454, allocations: 3.938 kB / 442.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3456, allocations: 19.98 kB / 442.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.3457, allocations: 27.97 kB / 442.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3458, allocations: 11.98 kB / 442.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.346, allocations: 198 kB / 442.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.346, allocations: 0 / 442.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005366/0.3465, allocations: 91.89 kB / 442.5 MB, free: 1.406 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.0001662/0.3467, allocations: 107.2 kB / 442.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.3483, allocations: 0.5439 MB / 443.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3483, allocations: 0 / 443.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.3487, allocations: 309.3 kB / 443.5 MB, free: 404 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3492, allocations: 56.58 kB / 443.5 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3502, allocations: 0.5143 MB / 444.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.3506, allocations: 0.7597 MB / 444.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.3507, allocations: 30 kB / 444.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.3508, allocations: 27.42 kB / 444.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3508, allocations: 0 / 444.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Templates: time 0.01363/0.3645, allocations: 7.292 MB / 452.2 MB, free: 7.703 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)