Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 202.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.369/1.369, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 51.91 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2611, allocations: 53.37 MB / 432 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004122/0.2652, allocations: 2.866 MB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2668, allocations: 0.8765 MB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2669, allocations: 4 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.2671, allocations: 43.52 kB / 435.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003193/0.2674, allocations: 115.1 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2678, allocations: 207.6 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004989/0.2683, allocations: 486.3 kB / 436.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.2685, allocations: 93.89 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.2688, allocations: 195.4 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003253/0.2691, allocations: 219.1 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.2692, allocations: 40 kB / 437.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.021e-05/0.2693, allocations: 48 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.2693, allocations: 87.73 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.2695, allocations: 191.1 kB / 437.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005071/0.27, allocations: 466.7 kB / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.27, allocations: 0 / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.27, allocations: 0 / 437.9 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.27, allocations: 0 / 437.9 MB, free: 0.9453 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.001427/0.2715, allocations: 0.6219 MB / 438.5 MB, free: 300 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2715, allocations: 8.031 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.454e-05/0.2715, allocations: 8.625 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.173e-05/0.2716, allocations: 58.73 kB / 438.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2718, allocations: 48.69 kB / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/0.2722, allocations: 245.4 kB / 438.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/0.2723, allocations: 72.41 kB / 438.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.2724, allocations: 24.12 kB / 438.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.2728, allocations: 280.4 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2728, allocations: 3.938 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.2729, allocations: 12 kB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2729, allocations: 4 kB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.2732, allocations: 161.7 kB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.2754, allocations: 1.006 MB / 440.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.2757, allocations: 118.4 kB / 440.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.2759, allocations: 72.81 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2759, allocations: 3.938 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.2759, allocations: 38.56 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.2759, allocations: 0 / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008686/0.2768, allocations: 279.3 kB / 440.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.2769, allocations: 170.1 kB / 441.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.2772, allocations: 269.9 kB / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.2772, allocations: 29.7 kB / 441.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.2773, allocations: 180.3 kB / 441.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.2774, allocations: 51.58 kB / 441.6 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.2775, allocations: 49.69 kB / 441.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.2776, allocations: 330.8 kB / 441.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.2778, allocations: 83.95 kB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.278, allocations: 147.7 kB / 442.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.2784, allocations: 156.1 kB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2784, allocations: 0 / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007294/0.2857, allocations: 0.8993 MB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2857, allocations: 4 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2857, allocations: 0 / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008644/0.2943, allocations: 0.8288 MB / 444.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.2945, allocations: 19.92 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008955/0.3034, allocations: 4.688 MB / 448.8 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.3037, allocations: 28.16 kB / 448.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.3038, allocations: 11.97 kB / 448.8 MB, free: 5.453 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.0001899/0.304, allocations: 141.7 kB / 448.9 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.304, allocations: 27.8 kB / 449 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.3041, allocations: 25.77 kB / 449 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3041, allocations: 8.062 kB / 449 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3041, allocations: 0 / 449 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.3041, allocations: 3.984 kB / 449 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009199/0.305, allocations: 0.5891 MB / 449.6 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.305, allocations: 8.031 kB / 449.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3051, allocations: 15.98 kB / 449.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.3053, allocations: 53.61 kB / 449.7 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3053, allocations: 11.94 kB / 449.7 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.3074, allocations: 2.72 MB / 452.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3074, allocations: 4.031 kB / 452.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005041/0.308, allocations: 313.8 kB / 452.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.308, allocations: 23.8 kB / 452.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.308, allocations: 8 kB / 452.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.3082, allocations: 11.92 kB / 452.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.3083, allocations: 31.95 kB / 452.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3083, allocations: 7.984 kB / 452.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3085, allocations: 197.2 kB / 453 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3085, allocations: 0 / 453 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.309, allocations: 107.8 kB / 453.1 MB, free: 0.8398 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.0008151/0.3098, allocations: 0.8414 MB / 453.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.3112, allocations: 0.5322 MB / 454.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3113, allocations: 0 / 454.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004386/0.3117, allocations: 325.3 kB / 454.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3121, allocations: 54.77 kB / 454.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.3295, allocations: 3.971 MB / 458.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.3299, allocations: 0.7597 MB / 459.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.3301, allocations: 21.95 kB / 459.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.3302, allocations: 95.33 kB / 459.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.412e-06/0.3302, allocations: 4 kB / 459.7 MB, free: 10.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03938/0.3696, allocations: 10 MB / 469.7 MB, free: 188 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.07, allocations: 3.094 kB / 469.7 MB, free: 188 kB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine_fmu --startTime=0 --stopTime=0.025 --stepSize=1e-06 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_Lines_LightningLosslessTransmissionLine.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.94144549104385] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 13.245317227032501 13.259540001 12.98644612 Calling exit ...