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.001685/0.001685, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002062/0.002062, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.008 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 43.92 kB / 379.1 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2426, allocations: 53.36 MB / 432.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004895/0.2475, allocations: 2.87 MB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001832/0.2493, allocations: 0.8804 MB / 436.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.2495, allocations: 7.938 kB / 436.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.2497, allocations: 43.52 kB / 436.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.25, allocations: 119.1 kB / 436.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.2505, allocations: 199.6 kB / 436.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00057/0.2511, allocations: 490.3 kB / 437 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2513, allocations: 89.91 kB / 437.1 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.2516, allocations: 191.4 kB / 437.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003395/0.2519, allocations: 219.1 kB / 437.5 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.147e-05/0.252, allocations: 47.94 kB / 437.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.826e-05/0.2521, allocations: 48 kB / 437.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.2522, allocations: 95.7 kB / 437.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2524, allocations: 187.1 kB / 437.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005618/0.253, allocations: 459.6 kB / 438.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.253, allocations: 4 kB / 438.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.253, allocations: 0 / 438.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.253, allocations: 0 / 438.3 MB, free: 0.9688 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.001569/0.2545, allocations: 0.618 MB / 438.9 MB, free: 328 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2546, allocations: 8.031 kB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.2548, allocations: 44.7 kB / 439 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005352/0.2553, allocations: 253.4 kB / 439.2 MB, free: 0 / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/0.2554, allocations: 76.39 kB / 439.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.391e-05/0.2555, allocations: 24.38 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.256, allocations: 276.5 kB / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.256, allocations: 0 / 439.6 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.256, allocations: 12 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.256, allocations: 8 kB / 439.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.2564, allocations: 165.6 kB / 439.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/0.2588, allocations: 1.006 MB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.2591, allocations: 110.5 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.2593, allocations: 76.77 kB / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2593, allocations: 0 / 441 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.2594, allocations: 42.56 kB / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.2594, allocations: 0 / 441 MB, free: 14.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009525/0.2603, allocations: 286.7 kB / 441.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.2604, allocations: 158.2 kB / 441.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.2608, allocations: 277.8 kB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.2608, allocations: 29.7 kB / 441.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.261, allocations: 176.3 kB / 441.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.261, allocations: 51.52 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.2611, allocations: 57.67 kB / 442 MB, free: 13.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2613, allocations: 334.8 kB / 442.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.2615, allocations: 79.97 kB / 442.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.2617, allocations: 135 kB / 442.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.2621, allocations: 172.4 kB / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2621, allocations: 0 / 442.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007705/0.2698, allocations: 0.8809 MB / 443.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.2698, allocations: 10.44 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.2698, allocations: 4 kB / 443.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009415/0.2792, allocations: 0.8287 MB / 444.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2794, allocations: 19.92 kB / 444.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009779/0.2891, allocations: 4.694 MB / 449.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/0.2895, allocations: 31.86 kB / 449.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2895, allocations: 7.984 kB / 449.2 MB, free: 5.547 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.0002188/0.2897, allocations: 142.1 kB / 449.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.2898, allocations: 23.86 kB / 449.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.2899, allocations: 25.77 kB / 449.4 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.2899, allocations: 7.938 kB / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2899, allocations: 0 / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2899, allocations: 96 / 449.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.2909, allocations: 0.5973 MB / 450 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.2909, allocations: 4 kB / 450 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.291, allocations: 15.98 kB / 450 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.2912, allocations: 53.72 kB / 450.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2912, allocations: 7.984 kB / 450.1 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.2936, allocations: 2.716 MB / 452.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2936, allocations: 4.031 kB / 452.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005634/0.2942, allocations: 316.8 kB / 453.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.2942, allocations: 31.84 kB / 453.1 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.2943, allocations: 11.94 kB / 453.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.2945, allocations: 7.984 kB / 453.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.2945, allocations: 23.92 kB / 453.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2945, allocations: 7.984 kB / 453.2 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.2948, allocations: 197.2 kB / 453.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2948, allocations: 0 / 453.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000628/0.2954, allocations: 103.8 kB / 453.5 MB, free: 0.9453 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.0001476/0.2955, allocations: 96.94 kB / 453.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001571/0.2971, allocations: 0.5322 MB / 454.1 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2971, allocations: 0 / 454.1 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.2976, allocations: 317.2 kB / 454.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.2981, allocations: 53.33 kB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2991, allocations: 0.5388 MB / 455 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.2995, allocations: 0.7674 MB / 455.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.322e-05/0.2996, allocations: 23.42 kB / 455.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2996, allocations: 0 / 455.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of Templates: time 0.009657/0.3093, allocations: 6.249 MB / 462.1 MB, free: 8.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.597635810961947] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 0.3184430261608213 0.333564839 0.07724269 Calling exit ...