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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001538/0.001538, allocations: 213.9 kB / 23.54 MB, free: 5.398 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 256.7 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] 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: translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 63.91 kB / 376.9 MB, free: 3.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 53.31 MB / 430.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004456/0.276, allocations: 2.851 MB / 433.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2777, allocations: 0.8687 MB / 433.9 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.2779, allocations: 4 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.278, allocations: 51.5 kB / 434 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.2784, allocations: 119.1 kB / 434.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.2788, allocations: 199.6 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.2794, allocations: 486.3 kB / 434.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/0.2796, allocations: 89 kB / 434.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003008/0.2799, allocations: 191.4 kB / 435.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003324/0.2802, allocations: 223.1 kB / 435.3 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.088e-05/0.2803, allocations: 44 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.2804, allocations: 44 kB / 435.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2805, allocations: 91.66 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2807, allocations: 191.1 kB / 435.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.2813, allocations: 451.7 kB / 436.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.2813, allocations: 4 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2813, allocations: 0 / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.2813, allocations: 0 / 436.1 MB, free: 1.738 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.0016/0.2829, allocations: 0.6972 MB / 436.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2829, allocations: 12.02 kB / 436.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2831, allocations: 44.7 kB / 436.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.2837, allocations: 307.7 kB / 437.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.609e-05/0.2838, allocations: 50.69 kB / 437.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.2838, allocations: 32.31 kB / 437.2 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.2843, allocations: 276.5 kB / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2843, allocations: 0 / 437.5 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.2844, allocations: 12 kB / 437.5 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2844, allocations: 4 kB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.2847, allocations: 165.7 kB / 437.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.2872, allocations: 1.048 MB / 438.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.2875, allocations: 106.5 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.2877, allocations: 80.7 kB / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2877, allocations: 0 / 438.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.2878, allocations: 34.56 kB / 438.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.986e-06/0.2878, allocations: 11.98 kB / 438.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001029/0.2888, allocations: 437.5 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.665e-05/0.2889, allocations: 154.2 kB / 439.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.2892, allocations: 282.5 kB / 439.8 MB, free: 13.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.2893, allocations: 29.7 kB / 439.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.2894, allocations: 176.4 kB / 440 MB, free: 13.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.727e-05/0.2895, allocations: 51.53 kB / 440.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2896, allocations: 45.69 kB / 440.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.2897, allocations: 338.8 kB / 440.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.2899, allocations: 87.95 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.2902, allocations: 128.5 kB / 440.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.2905, allocations: 176.1 kB / 440.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2905, allocations: 0 / 440.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008362/0.2989, allocations: 0.8771 MB / 441.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.2989, allocations: 11.94 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.2989, allocations: 0 / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009877/0.3088, allocations: 0.8249 MB / 442.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.309, allocations: 19.98 kB / 442.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009997/0.319, allocations: 4.91 MB / 447.5 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.3193, allocations: 27.98 kB / 447.5 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.3193, allocations: 12 kB / 447.5 MB, free: 5.688 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.0002145/0.3196, allocations: 137.8 kB / 447.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.3196, allocations: 31.84 kB / 447.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.73e-05/0.3197, allocations: 21.84 kB / 447.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3197, allocations: 4 kB / 447.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3197, allocations: 0 / 447.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3197, allocations: 7.922 kB / 447.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.3207, allocations: 0.6178 MB / 448.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3207, allocations: 4 kB / 448.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3209, allocations: 20.25 kB / 448.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.321, allocations: 53.72 kB / 448.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3211, allocations: 7.984 kB / 448.4 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.3234, allocations: 2.924 MB / 451.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3234, allocations: 3.984 kB / 451.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.324, allocations: 317.9 kB / 451.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.3241, allocations: 105 kB / 451.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.3241, allocations: 3.938 kB / 451.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.3243, allocations: 19.98 kB / 451.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.3244, allocations: 11.98 kB / 451.8 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3244, allocations: 7.984 kB / 451.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3246, allocations: 198 kB / 452 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 0 / 452 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.3252, allocations: 99.83 kB / 452.1 MB, free: 0.707 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.000167/0.3253, allocations: 107.2 kB / 452.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.3269, allocations: 0.5399 MB / 452.7 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3269, allocations: 0 / 452.7 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004624/0.3274, allocations: 301.3 kB / 453 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3278, allocations: 47.66 kB / 453.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3289, allocations: 0.5628 MB / 453.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3294, allocations: 0.7596 MB / 454.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.3294, allocations: 27.42 kB / 454.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3294, allocations: 0 / 454.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of Templates: time 0.009541/0.339, allocations: 6.24 MB / 460.6 MB, free: 8.016 MB / 366.1 MB [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480]