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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001428/0.001428, allocations: 109.1 kB / 21.22 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 209.3 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 67.89 kB / 378.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2769, allocations: 53.4 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004668/0.2816, allocations: 2.659 MB / 434.6 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2835, allocations: 0.8181 MB / 435.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.2836, allocations: 4 kB / 435.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001788/0.2838, allocations: 47.5 kB / 435.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.2842, allocations: 127.1 kB / 435.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.2847, allocations: 195.6 kB / 435.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.2853, allocations: 490.3 kB / 436.3 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.2855, allocations: 89.28 kB / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.2858, allocations: 195.3 kB / 436.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.2862, allocations: 215.2 kB / 436.7 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.2862, allocations: 48 kB / 436.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.2863, allocations: 48 kB / 436.8 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.2864, allocations: 95.72 kB / 436.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000188/0.2866, allocations: 155.3 kB / 437.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.2872, allocations: 459.3 kB / 437.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2873, allocations: 0 / 437.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2873, allocations: 0 / 437.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.2873, allocations: 0 / 437.5 MB, free: 0.8711 MB / 334.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.001607/0.2889, allocations: 0.6219 MB / 438.2 MB, free: 224 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2889, allocations: 8.031 kB / 438.2 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.391e-05/0.2889, allocations: 8.625 kB / 438.2 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.289, allocations: 66.66 kB / 438.2 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.2892, allocations: 48.7 kB / 438.3 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.2897, allocations: 245.4 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.2898, allocations: 76.39 kB / 438.6 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.2899, allocations: 28.12 kB / 438.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.2905, allocations: 404.8 kB / 439 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2905, allocations: 4 kB / 439 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.2905, allocations: 12 kB / 439 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.2905, allocations: 4 kB / 439 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.2909, allocations: 161.7 kB / 439.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.2935, allocations: 0.9279 MB / 440.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.2939, allocations: 106.5 kB / 440.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.2941, allocations: 76.81 kB / 440.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2941, allocations: 0 / 440.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2941, allocations: 38.56 kB / 440.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.2941, allocations: 4 kB / 440.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009774/0.2951, allocations: 283.2 kB / 440.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.2952, allocations: 166.1 kB / 440.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.2956, allocations: 269.9 kB / 441 MB, free: 13.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.2956, allocations: 29.7 kB / 441.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2958, allocations: 180.3 kB / 441.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2958, allocations: 47.59 kB / 441.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.2959, allocations: 53.67 kB / 441.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2961, allocations: 330.8 kB / 441.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.2963, allocations: 87.95 kB / 441.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.2966, allocations: 235.5 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.2969, allocations: 172.8 kB / 442.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2969, allocations: 0 / 442.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008323/0.3052, allocations: 0.8848 MB / 443 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3053, allocations: 6.656 kB / 443 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3053, allocations: 48 / 443 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/0.3153, allocations: 0.8326 MB / 443.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3155, allocations: 19.97 kB / 443.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009923/0.3254, allocations: 4.612 MB / 448.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.3258, allocations: 31.86 kB / 448.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.3258, allocations: 4 kB / 448.5 MB, free: 5.258 MB / 350.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.0002117/0.326, allocations: 145.8 kB / 448.7 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.3261, allocations: 23.86 kB / 448.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.3261, allocations: 21.78 kB / 448.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3261, allocations: 4 kB / 448.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.3261, allocations: 0 / 448.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3261, allocations: 8.047 kB / 448.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.3271, allocations: 0.5579 MB / 449.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3271, allocations: 0 / 449.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3272, allocations: 23.92 kB / 449.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001979/0.3274, allocations: 57.7 kB / 449.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3275, allocations: 0 / 449.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.3296, allocations: 2.72 MB / 452.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3296, allocations: 4.031 kB / 452.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000544/0.3302, allocations: 309.8 kB / 452.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.3302, allocations: 23.78 kB / 452.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3303, allocations: 8 kB / 452.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3305, allocations: 16.08 kB / 452.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.576e-05/0.3305, allocations: 31.95 kB / 452.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.3306, allocations: 4 kB / 452.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.3308, allocations: 197.2 kB / 452.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3308, allocations: 0 / 452.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006108/0.3314, allocations: 103.8 kB / 452.8 MB, free: 0.6953 MB / 350.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.000917/0.3323, allocations: 0.8438 MB / 453.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.3339, allocations: 0.5322 MB / 454.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.334, allocations: 0 / 454.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.3344, allocations: 324.5 kB / 454.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.3349, allocations: 60.45 kB / 454.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.3546, allocations: 3.971 MB / 458.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002212/0.3548, allocations: 158.8 kB / 458.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.355, allocations: 17.95 kB / 458.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3552, allocations: 91.39 kB / 458.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3552, allocations: 4 kB / 458.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04088/0.3961, allocations: 11.03 MB / 469.8 MB, free: 15.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.79, allocations: 15.38 kB / 469.8 MB, free: 15.61 MB / 382.1 MB " [Timeout remaining time 646] (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/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --stepSize=1e-06 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.92711608100217] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 13.970269183977507 13.984460013 13.694209142 Calling exit ...