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.001677/0.001677, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009024/0.0009025, allocations: 94.08 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.301e-05, allocations: 8 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1187, allocations: 51.49 MB / 395.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3397/0.4584, allocations: 81.98 MB / 477.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4587, allocations: 74.53 kB / 477.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02527/0.484, allocations: 10.17 MB / 487.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4841, allocations: 0 / 487.5 MB, free: 2.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.4841, allocations: 8 kB / 487.5 MB, free: 2.598 MB / 346.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.001121/0.4852, allocations: 0.5896 MB / 488.1 MB, free: 1.984 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4853, allocations: 12.03 kB / 488.1 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.4855, allocations: 51.23 kB / 488.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.486, allocations: 320.7 kB / 488.5 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.4861, allocations: 42.12 kB / 488.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.4862, allocations: 16 kB / 488.5 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002475/0.4864, allocations: 131 kB / 488.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.4868, allocations: 236 kB / 488.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4868, allocations: 4 kB / 488.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.4868, allocations: 0 / 488.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4869, allocations: 8 kB / 488.9 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.4889, allocations: 1.019 MB / 489.9 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4891, allocations: 102 kB / 490 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.4893, allocations: 74.72 kB / 490.1 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.4893, allocations: 4 kB / 490.1 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.4893, allocations: 30.56 kB / 490.1 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.4893, allocations: 0 / 490.1 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004231/0.4897, allocations: 175.8 kB / 490.3 MB, free: 48 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/0.4898, allocations: 158.2 kB / 490.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.4901, allocations: 228.6 kB / 490.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4901, allocations: 25.7 kB / 490.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4903, allocations: 182 kB / 490.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.4903, allocations: 50.83 kB / 490.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.641e-05/0.4903, allocations: 0 / 490.9 MB, free: 15.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4905, allocations: 328.8 kB / 491.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.4906, allocations: 71.05 kB / 491.3 MB, free: 15.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.4908, allocations: 126.6 kB / 491.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.4909, allocations: 76.53 kB / 491.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4909, allocations: 4 kB / 491.5 MB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007956/0.4989, allocations: 0.8865 MB / 492.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.499, allocations: 4 kB / 492.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.499, allocations: 3.984 kB / 492.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/0.5097, allocations: 0.9005 MB / 493.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.5099, allocations: 23.97 kB / 493.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008552/0.5185, allocations: 4.46 MB / 497.8 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.5189, allocations: 23.94 kB / 497.8 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.5189, allocations: 7.984 kB / 497.8 MB, free: 9.316 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.0001346/0.5191, allocations: 109 kB / 497.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003804/0.5195, allocations: 178.7 kB / 498.1 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.5195, allocations: 19.8 kB / 498.1 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.522e-05/0.5196, allocations: 24.22 kB / 498.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5196, allocations: 0 / 498.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.5196, allocations: 0 / 498.2 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5196, allocations: 7.984 kB / 498.2 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007834/0.5204, allocations: 0.5587 MB / 498.7 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5204, allocations: 0 / 498.7 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.5206, allocations: 23.73 kB / 498.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001678/0.5207, allocations: 49.05 kB / 498.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.5208, allocations: 7.672 kB / 498.8 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.5225, allocations: 2.573 MB / 0.4896 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.5225, allocations: 4.031 kB / 0.4896 GB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.5229, allocations: 289.4 kB / 0.4899 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.523, allocations: 96.34 kB / 0.49 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.749e-05/0.5231, allocations: 4 kB / 0.49 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.5233, allocations: 15.98 kB / 0.49 GB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.5233, allocations: 22.67 kB / 0.49 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.5234, allocations: 4 kB / 0.49 GB, free: 5.273 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.5235, allocations: 176.3 kB / 0.4902 GB, free: 5.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5235, allocations: 0 / 0.4902 GB, free: 5.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005611/0.5241, allocations: 102.9 kB / 0.4903 GB, free: 5.039 MB / 362.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.000776/0.5249, allocations: 0.9047 MB / 0.4912 GB, free: 4.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.5262, allocations: 0.4909 MB / 0.4917 GB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5262, allocations: 0 / 0.4917 GB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.5266, allocations: 273.4 kB / 0.4919 GB, free: 3.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.527, allocations: 38.84 kB / 0.492 GB, free: 3.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008823/0.5279, allocations: 343.6 kB / 0.4923 GB, free: 3.051 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.5282, allocations: 0.7717 MB / 0.4931 GB, free: 2.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5284, allocations: 27.97 kB / 0.4931 GB, free: 2.227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.5285, allocations: 87.58 kB / 0.4932 GB, free: 2.195 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.5285, allocations: 0 / 0.4932 GB, free: 2.195 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03017/0.5587, allocations: 8.263 MB / 0.5012 GB, free: 10 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.5589, allocations: 175.4 kB / 0.5014 GB, free: 9.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.618, allocations: 3.375 kB / 0.5014 GB, free: 9.809 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)