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.001695/0.001695, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.416/1.416, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008904/0.0008903, allocations: 94 kB / 292.1 MB, free: 5.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.944e-05, allocations: 7.984 kB / 350.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3228/0.4496, allocations: 82.65 MB / 484.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.4499, allocations: 80.14 kB / 484.9 MB, free: 6.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02653/0.4765, allocations: 10.24 MB / 495.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4765, allocations: 0 / 495.1 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.4766, allocations: 8 kB / 495.1 MB, free: 14.18 MB / 362.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.001354/0.478, allocations: 0.5912 MB / 495.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/0.478, allocations: 12.03 kB / 495.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.4781, allocations: 58.53 kB / 495.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.4784, allocations: 48.39 kB / 495.8 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.479, allocations: 317.1 kB / 496.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.4791, allocations: 46.14 kB / 496.2 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.4792, allocations: 27.17 kB / 496.2 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.4796, allocations: 279.8 kB / 496.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4797, allocations: 0 / 496.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.4797, allocations: 12 kB / 496.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.4797, allocations: 4 kB / 496.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.48, allocations: 141.7 kB / 496.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.4824, allocations: 1.076 MB / 497.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.4827, allocations: 110.5 kB / 497.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.4829, allocations: 79.97 kB / 497.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.4829, allocations: 3.984 kB / 497.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.483, allocations: 38.56 kB / 497.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.483, allocations: 4 kB / 497.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005248/0.4835, allocations: 185.1 kB / 498.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.287e-05/0.4836, allocations: 154.2 kB / 498.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.4839, allocations: 243 kB / 498.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.4839, allocations: 25.7 kB / 498.5 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.4841, allocations: 184.2 kB / 498.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.4841, allocations: 51.2 kB / 498.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.4842, allocations: 8 kB / 498.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4843, allocations: 329.1 kB / 499.1 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.4845, allocations: 76.36 kB / 499.2 MB, free: 9.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.4846, allocations: 118.8 kB / 499.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.4848, allocations: 89.97 kB / 499.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4848, allocations: 0 / 499.4 MB, free: 9.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007922/0.4928, allocations: 0.9013 MB / 0.4885 GB, free: 8.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.4928, allocations: 7.984 kB / 0.4885 GB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4928, allocations: 4 kB / 0.4885 GB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/0.5031, allocations: 0.8951 MB / 0.4894 GB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.5033, allocations: 27.92 kB / 0.4895 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009165/0.5124, allocations: 4.657 MB / 0.494 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.5128, allocations: 35.77 kB / 0.494 GB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.5128, allocations: 4 kB / 0.494 GB, free: 2.809 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001147/0.513, allocations: 113 kB / 0.4941 GB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.649e-05/0.513, allocations: 23.77 kB / 0.4942 GB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.31e-05/0.5131, allocations: 30.02 kB / 0.4942 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.5131, allocations: 4 kB / 0.4942 GB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5131, allocations: 5.812 kB / 0.4942 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5132, allocations: 0 / 0.4942 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008365/0.514, allocations: 0.6061 MB / 0.4948 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.514, allocations: 4 kB / 0.4948 GB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.5141, allocations: 24.02 kB / 0.4948 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.5143, allocations: 52.3 kB / 0.4949 GB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.5143, allocations: 4 kB / 0.4949 GB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/0.5162, allocations: 2.663 MB / 0.4975 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5162, allocations: 4.031 kB / 0.4975 GB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004026/0.5166, allocations: 293.1 kB / 0.4978 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.392e-05/0.5167, allocations: 108.8 kB / 0.4979 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.265e-05/0.5167, allocations: 3.875 kB / 0.4979 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.5169, allocations: 19.98 kB / 0.4979 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.517, allocations: 31.86 kB / 0.4979 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.517, allocations: 4 kB / 0.4979 GB, free: 14.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.5172, allocations: 191.1 kB / 0.4981 GB, free: 14.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5172, allocations: 0 / 0.4981 GB, free: 14.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000477/0.5177, allocations: 107.8 kB / 0.4982 GB, free: 14.16 MB / 378.7 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 () * 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.0007468/0.5185, allocations: 0.9124 MB / 0.4991 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.5198, allocations: 0.5181 MB / 0.4996 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5198, allocations: 5.031 kB / 0.4996 GB, free: 12.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.5202, allocations: 285.3 kB / 0.4999 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.5206, allocations: 43.27 kB / 0.4999 GB, free: 12.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008438/0.5214, allocations: 359.6 kB / 0.5003 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.5218, allocations: 0.7713 MB / 0.501 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.5219, allocations: 26.06 kB / 0.501 GB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.522, allocations: 87.39 kB / 0.5011 GB, free: 11.02 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.522, allocations: 0.75 kB / 0.5011 GB, free: 11.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.5466, allocations: 9.319 MB / 0.5102 GB, free: 1.984 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002608/0.5469, allocations: 217.4 kB / 0.5104 GB, free: 1.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.501, allocations: 8.094 kB / 0.5104 GB, free: 1.75 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)