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.0007964/0.0007969, allocations: 97.25 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009508/0.0009509, allocations: 202.4 kB / 18.93 MB, free: 4.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002244/0.0002244, allocations: 8.281 kB / 308.4 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09556, allocations: 51.54 MB / 359.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003161/0.09876, allocations: 2.516 MB / 362.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1004, allocations: 0.8416 MB / 363.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1006, allocations: 4 kB / 363.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.1008, allocations: 31.7 kB / 363.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000415/0.1012, allocations: 103.4 kB / 363.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1017, allocations: 179.7 kB / 363.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.1022, allocations: 450.4 kB / 364 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.1025, allocations: 102 kB / 364.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.1028, allocations: 167.3 kB / 364.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.1031, allocations: 183.2 kB / 364.5 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.1032, allocations: 20 kB / 364.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1033, allocations: 27.98 kB / 364.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.192e-05/0.1034, allocations: 67.67 kB / 364.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.1036, allocations: 188.9 kB / 364.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003209/0.1039, allocations: 327 kB / 365.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1039, allocations: 4 kB / 365.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1039, allocations: 3.938 kB / 365.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.104, allocations: 0 / 365.1 MB, free: 8.086 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.001497/0.1055, allocations: 0.6352 MB / 365.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.1055, allocations: 20.02 kB / 365.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.1057, allocations: 40.56 kB / 365.8 MB, free: 7.344 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.1062, allocations: 307.5 kB / 366.1 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/0.1063, allocations: 50.69 kB / 366.1 MB, free: 6.949 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.1064, allocations: 24.38 kB / 366.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.1069, allocations: 288.5 kB / 366.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1069, allocations: 3.938 kB / 366.5 MB, free: 6.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.1069, allocations: 12 kB / 366.5 MB, free: 6.605 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.107, allocations: 4 kB / 366.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.1073, allocations: 173.7 kB / 366.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00251/0.1099, allocations: 1.064 MB / 367.7 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.1102, allocations: 122.5 kB / 367.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.1104, allocations: 88.77 kB / 367.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1105, allocations: 7.984 kB / 367.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1105, allocations: 38.55 kB / 368 MB, free: 5.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 2.585e-06/0.1105, allocations: 0 / 368 MB, free: 5.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.001065/0.1116, allocations: 445.4 kB / 368.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.1117, allocations: 166.2 kB / 368.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.1121, allocations: 278.5 kB / 368.8 MB, free: 4.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.1121, allocations: 29.7 kB / 368.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1123, allocations: 176.1 kB / 369 MB, free: 3.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.633e-05/0.1124, allocations: 55.23 kB / 369.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.893e-05/0.1124, allocations: 21.7 kB / 369.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1126, allocations: 330.8 kB / 369.4 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.1128, allocations: 95.97 kB / 369.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1131, allocations: 140 kB / 369.7 MB, free: 3.176 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003575/0.1134, allocations: 176.2 kB / 369.8 MB, free: 3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1135, allocations: 0 / 369.8 MB, free: 3 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00819/0.1217, allocations: 0.9003 MB / 370.7 MB, free: 2.086 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.1217, allocations: 7.938 kB / 370.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1217, allocations: 0 / 370.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009749/0.1315, allocations: 0.8405 MB / 371.6 MB, free: 1.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.1317, allocations: 19.98 kB / 371.6 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1779/0.3096, allocations: 4.476 MB / 376.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.31, allocations: 27.92 kB / 376.1 MB, free: 16.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.31, allocations: 8.484 kB / 376.1 MB, free: 16.39 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.0001883/0.3102, allocations: 146.2 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.678e-05/0.3103, allocations: 27.39 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.3104, allocations: 26.39 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3104, allocations: 2.531 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3104, allocations: 3.75 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3104, allocations: 2.141 kB / 376.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009963/0.3114, allocations: 0.6308 MB / 376.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3114, allocations: 1.484 kB / 376.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.3115, allocations: 21.75 kB / 377 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001987/0.3118, allocations: 62.05 kB / 377 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.3118, allocations: 4.781 kB / 377 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.3132, allocations: 2.671 MB / 379.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3132, allocations: 0 / 379.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005131/0.3138, allocations: 319 kB / 380 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.3138, allocations: 107 kB / 380.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3139, allocations: 4.766 kB / 380.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3141, allocations: 14.47 kB / 380.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.3142, allocations: 19.89 kB / 380.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3142, allocations: 9.812 kB / 380.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.3144, allocations: 200.4 kB / 380.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3145, allocations: 4.219 kB / 380.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005466/0.315, allocations: 94.19 kB / 380.5 MB, free: 12.95 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.0001401/0.3152, allocations: 107.8 kB / 380.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.3166, allocations: 0.5498 MB / 381.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3166, allocations: 0 / 381.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.317, allocations: 318 kB / 381.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.3175, allocations: 44.88 kB / 381.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008636/0.3184, allocations: 0.6832 MB / 382.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.3186, allocations: 0.764 MB / 382.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.3187, allocations: 28.34 kB / 382.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.3187, allocations: 0 / 382.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Templates: time 0.009346/0.328, allocations: 6.169 MB / 389.1 MB, free: 9.852 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)