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: "" <> 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/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 92.84 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001666/0.001666, allocations: 204.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002516, allocations: 8 kB / 306.7 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.114, allocations: 51.49 MB / 358.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003122/0.1172, allocations: 2.307 MB / 360.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1188, allocations: 0.8186 MB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002493/0.1191, allocations: 4 kB / 361.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1192, allocations: 35.75 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.1197, allocations: 107.7 kB / 361.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.1201, allocations: 139.6 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005159/0.1206, allocations: 295.3 kB / 361.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.1208, allocations: 85.19 kB / 362 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.121, allocations: 159.5 kB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.1213, allocations: 183.3 kB / 362.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.1213, allocations: 20 kB / 362.3 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-05/0.1214, allocations: 24 kB / 362.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.1215, allocations: 63.78 kB / 362.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.1216, allocations: 81.52 kB / 362.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.1219, allocations: 331.3 kB / 362.8 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1219, allocations: 4 kB / 362.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1219, allocations: 0 / 362.8 MB, free: 9.305 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1219, allocations: 0 / 362.8 MB, free: 9.305 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.001262/0.1232, allocations: 0.6389 MB / 363.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1232, allocations: 12.03 kB / 363.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.961e-05/0.1233, allocations: 54.55 kB / 363.5 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1235, allocations: 51.55 kB / 363.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.1238, allocations: 297.5 kB / 363.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-05/0.1239, allocations: 50.09 kB / 363.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.124, allocations: 24 kB / 363.9 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004442/0.1244, allocations: 280.3 kB / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1244, allocations: 0 / 364.2 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.1245, allocations: 12 kB / 364.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1245, allocations: 4 kB / 364.2 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003306/0.1248, allocations: 165.7 kB / 364.4 MB, free: 7.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002123/0.127, allocations: 1.06 MB / 365.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.1273, allocations: 138.4 kB / 365.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1273, allocations: 0 / 365.6 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1273, allocations: 42.56 kB / 365.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1273, allocations: 0 / 365.6 MB, free: 6.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009132/0.1283, allocations: 445.1 kB / 366.1 MB, free: 5.789 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1283, allocations: 158.2 kB / 366.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.1286, allocations: 262.6 kB / 366.5 MB, free: 5.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1287, allocations: 37.69 kB / 366.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1288, allocations: 180 kB / 366.7 MB, free: 5.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1288, allocations: 43.3 kB / 366.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.625e-05/0.1288, allocations: 7.938 kB / 366.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.129, allocations: 342.8 kB / 367.1 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1291, allocations: 84.34 kB / 367.2 MB, free: 4.629 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1294, allocations: 144.8 kB / 367.3 MB, free: 4.473 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.1296, allocations: 99.25 kB / 367.4 MB, free: 4.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1296, allocations: 4 kB / 367.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007063/0.1367, allocations: 0.9043 MB / 368.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1367, allocations: 6.656 kB / 368.3 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1367, allocations: 4 kB / 368.3 MB, free: 3.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008653/0.1454, allocations: 0.8249 MB / 369.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1455, allocations: 31.86 kB / 369.2 MB, free: 2.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2303/0.3758, allocations: 4.6 MB / 373.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3763, allocations: 28.41 kB / 373.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3763, allocations: 10.31 kB / 373.8 MB, free: 16.97 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 (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.0002226/0.3766, allocations: 140.4 kB / 373.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.3766, allocations: 24.06 kB / 374 MB, free: 16.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.509e-05/0.3767, allocations: 24.11 kB / 374 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3767, allocations: 2.781 kB / 374 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3767, allocations: 0 / 374 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3767, allocations: 9.859 kB / 374 MB, free: 16.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.3772, allocations: 326.8 kB / 374.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3772, allocations: 2.328 kB / 374.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.3774, allocations: 29.36 kB / 374.4 MB, free: 16.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002004/0.3776, allocations: 49.34 kB / 374.4 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.3776, allocations: 5.938 kB / 374.4 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.3791, allocations: 2.683 MB / 377.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3791, allocations: 0 / 377.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.3797, allocations: 314.5 kB / 377.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.3798, allocations: 102.9 kB / 377.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.3798, allocations: 4.766 kB / 377.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.38, allocations: 15.05 kB / 377.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3802, allocations: 17.09 kB / 377.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3802, allocations: 9.469 kB / 377.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000315/0.3805, allocations: 193.9 kB / 377.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3805, allocations: 0 / 377.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006192/0.3811, allocations: 102 kB / 377.8 MB, free: 13.71 MB / 302.1 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.0009669/0.3821, allocations: 0.8553 MB / 378.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.384, allocations: 0.5533 MB / 379.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.384, allocations: 4.891 kB / 379.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.3845, allocations: 315.5 kB / 379.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3849, allocations: 46.66 kB / 379.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3862, allocations: 1.008 MB / 380.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3865, allocations: 0.7713 MB / 381.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3866, allocations: 27.34 kB / 381.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.3868, allocations: 88.84 kB / 381.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3868, allocations: 0 / 381.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.4128, allocations: 8.784 MB / 390.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/0.4131, allocations: 244.9 kB / 390.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.511, allocations: 7.25 kB / 390.5 MB, free: 8.742 MB / 302.1 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)