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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 198.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.216/1.216, allocations: 227.2 MB / 245 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008164/0.0008163, allocations: 108.8 kB / 297.3 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002241/0.0002241, allocations: 8 kB / 358 MB, free: 9.188 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1915, allocations: 51.48 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08898/0.2806, allocations: 82.73 MB / 492.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.2808, allocations: 83.94 kB / 492.3 MB, free: 7.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02722/0.308, allocations: 10.25 MB / 0.4908 GB, free: 13.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.308, allocations: 3.938 kB / 0.4908 GB, free: 13.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.3081, allocations: 8 kB / 0.4908 GB, free: 13.48 MB / 378.7 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.001282/0.3094, allocations: 0.6467 MB / 0.4914 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3094, allocations: 8.031 kB / 0.4914 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.688e-05/0.3095, allocations: 54.55 kB / 0.4915 GB, free: 12.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.3097, allocations: 55.5 kB / 0.4915 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.3102, allocations: 317.5 kB / 0.4919 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.3103, allocations: 50.14 kB / 0.4919 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.3103, allocations: 24 kB / 0.4919 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.3108, allocations: 285.2 kB / 0.4922 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3108, allocations: 0 / 0.4922 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3108, allocations: 12 kB / 0.4922 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3108, allocations: 8 kB / 0.4922 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.3112, allocations: 165.7 kB / 0.4924 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.3135, allocations: 1.079 MB / 0.4934 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.3138, allocations: 134.5 kB / 0.4936 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3138, allocations: 3.984 kB / 0.4936 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.3138, allocations: 38.56 kB / 0.4936 GB, free: 10.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.512e-06/0.3138, allocations: 0 / 0.4936 GB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000898/0.3147, allocations: 453.3 kB / 0.494 GB, free: 9.906 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.3148, allocations: 162.2 kB / 0.4942 GB, free: 9.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.3151, allocations: 237.8 kB / 0.4944 GB, free: 9.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3151, allocations: 29.7 kB / 0.4944 GB, free: 9.438 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.3152, allocations: 187.9 kB / 0.4946 GB, free: 9.246 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.3153, allocations: 39.36 kB / 0.4947 GB, free: 9.207 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.3153, allocations: 7.984 kB / 0.4947 GB, free: 9.199 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3154, allocations: 334.8 kB / 0.495 GB, free: 8.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3156, allocations: 88.33 kB / 0.4951 GB, free: 8.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.3158, allocations: 140.8 kB / 0.4952 GB, free: 8.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.316, allocations: 105.2 kB / 0.4953 GB, free: 8.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.316, allocations: 0 / 0.4953 GB, free: 8.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.009582/0.3256, allocations: 0.9316 MB / 0.4962 GB, free: 7.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3257, allocations: 11.92 kB / 0.4962 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3257, allocations: 0 / 0.4962 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/0.3375, allocations: 0.9029 MB / 0.4971 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3376, allocations: 15.98 kB / 0.4971 GB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.3478, allocations: 4.815 MB / 0.5018 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.3481, allocations: 27.86 kB / 0.5018 GB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3481, allocations: 15.98 kB / 0.5019 GB, free: 1.516 MB / 378.7 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.0001631/0.3483, allocations: 136.7 kB / 0.502 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.3484, allocations: 27.67 kB / 0.502 GB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.3485, allocations: 25.83 kB / 0.502 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3485, allocations: 0 / 0.502 GB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.3485, allocations: 4 kB / 0.502 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3485, allocations: 0 / 0.502 GB, free: 1.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.3489, allocations: 325.5 kB / 0.5024 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3489, allocations: 0 / 0.5024 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.349, allocations: 31.92 kB / 0.5024 GB, free: 0.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001697/0.3492, allocations: 53.62 kB / 0.5024 GB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.3492, allocations: 7.938 kB / 0.5024 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1487/0.498, allocations: 2.668 MB / 0.5051 GB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.498, allocations: 0 / 0.5051 GB, free: 94.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.4986, allocations: 317.2 kB / 0.5054 GB, free: 94.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.693e-05/0.4987, allocations: 103.8 kB / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.4988, allocations: 8.297 kB / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.499, allocations: 15.53 kB / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.4991, allocations: 15.11 kB / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4991, allocations: 5.188 kB / 0.5055 GB, free: 93.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.4993, allocations: 196.2 kB / 0.5057 GB, free: 93.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4994, allocations: 0 / 0.5057 GB, free: 93.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006188/0.5, allocations: 109.3 kB / 0.5058 GB, free: 93.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0007048/0.5007, allocations: 0.8583 MB / 0.5066 GB, free: 93.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.5021, allocations: 0.5506 MB / 0.5072 GB, free: 92.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5021, allocations: 0 / 0.5072 GB, free: 92.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.5025, allocations: 315.8 kB / 0.5075 GB, free: 92.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.5028, allocations: 38.64 kB / 0.5075 GB, free: 92.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.5039, allocations: 1.022 MB / 0.5085 GB, free: 92.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.5041, allocations: 0.7732 MB / 0.5093 GB, free: 91.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.5042, allocations: 27.8 kB / 0.5093 GB, free: 91.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.5044, allocations: 87.14 kB / 0.5094 GB, free: 91.34 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5044, allocations: 3.719 kB / 0.5094 GB, free: 91.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.5244, allocations: 9.331 MB / 0.5185 GB, free: 89.46 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.5246, allocations: 236.8 kB / 0.5187 GB, free: 89.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/2.408, allocations: 0 / 0.5187 GB, free: 89.23 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1)