Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002163/0.002163, allocations: 208 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 227.7 MB / 247.9 MB, free: 10.28 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.239, allocations: 50.55 MB / 410.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004994/0.244, allocations: 3.602 MB / 413.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.2457, allocations: 0.892 MB / 414.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.2459, allocations: 11.94 kB / 414.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.2461, allocations: 75.22 kB / 414.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.2465, allocations: 150.7 kB / 415 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.2469, allocations: 195.6 kB / 415.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006636/0.2476, allocations: 0.6194 MB / 415.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003123/0.2479, allocations: 160.8 kB / 415.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.2482, allocations: 247.2 kB / 416.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.2485, allocations: 286.8 kB / 416.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.535e-05/0.2486, allocations: 56 kB / 416.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.702e-05/0.2487, allocations: 64 kB / 416.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2488, allocations: 131.5 kB / 416.7 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.2491, allocations: 270.8 kB / 417 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006751/0.2498, allocations: 0.6186 MB / 417.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2498, allocations: 0 / 417.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2498, allocations: 0 / 417.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.2498, allocations: 0 / 417.6 MB, free: 10.21 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001575/0.2514, allocations: 0.8588 MB / 418.5 MB, free: 9.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2514, allocations: 12.03 kB / 418.5 MB, free: 9.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.2516, allocations: 56.61 kB / 418.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.2521, allocations: 342.5 kB / 418.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.2521, allocations: 41.38 kB / 418.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.2522, allocations: 44.38 kB / 418.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.2531, allocations: 0.5178 MB / 419.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2531, allocations: 0 / 419.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.2531, allocations: 23.98 kB / 419.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.2532, allocations: 12 kB / 419.5 MB, free: 8.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006723/0.2538, allocations: 311.8 kB / 419.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00241/0.2562, allocations: 1.55 MB / 421.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/0.2568, allocations: 206.4 kB / 421.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.257, allocations: 80.81 kB / 421.6 MB, free: 5.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.257, allocations: 4 kB / 421.6 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.2574, allocations: 217.7 kB / 421.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.2574, allocations: 4 kB / 421.8 MB, free: 5.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001644/0.2591, allocations: 0.7682 MB / 422.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.2593, allocations: 320.4 kB / 422.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.2596, allocations: 306.9 kB / 423.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.2597, allocations: 29.7 kB / 423.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.2599, allocations: 272.1 kB / 423.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.318e-05/0.26, allocations: 91.22 kB / 423.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.2601, allocations: 90.02 kB / 423.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.2603, allocations: 334.8 kB / 424 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.2605, allocations: 100.7 kB / 424.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.2609, allocations: 269.3 kB / 424.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005538/0.2614, allocations: 335.1 kB / 424.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.2615, allocations: 4 kB / 424.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001167/0.2626, allocations: 0.5258 MB / 425.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.2627, allocations: 37.64 kB / 425.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2627, allocations: 7.938 kB / 425.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.2633, allocations: 166.4 kB / 425.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2635, allocations: 43.92 kB / 425.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.2681, allocations: 4.946 MB / 430.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.2685, allocations: 59.7 kB / 430.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.2685, allocations: 16 kB / 430.5 MB, free: 12.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002337/0.2688, allocations: 183 kB / 430.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.58e-05/0.2688, allocations: 35.81 kB / 430.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.2689, allocations: 38.92 kB / 430.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2689, allocations: 4 kB / 430.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.2689, allocations: 0 / 430.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2689, allocations: 4 kB / 430.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.2694, allocations: 417.2 kB / 431.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2694, allocations: 4 kB / 431.2 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.2696, allocations: 39.91 kB / 431.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000312/0.2699, allocations: 103.3 kB / 431.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.2699, allocations: 7.938 kB / 431.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004381/0.2743, allocations: 5.764 MB / 437.1 MB, free: 5.027 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2743, allocations: 8.062 kB / 437.1 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008158/0.2751, allocations: 361 kB / 437.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2752, allocations: 104.9 kB / 437.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.2753, allocations: 11.98 kB / 437.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.2755, allocations: 27.98 kB / 437.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2756, allocations: 55.86 kB / 437.7 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.2757, allocations: 12 kB / 437.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002446/0.2759, allocations: 217.9 kB / 437.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2759, allocations: 0 / 437.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.2765, allocations: 155.7 kB / 438 MB, free: 4.047 MB / 350.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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.2767, allocations: 107.2 kB / 438.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.2779, allocations: 0.6991 MB / 438.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2779, allocations: 0 / 438.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.2787, allocations: 0.5729 MB / 439.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.279, allocations: 60.61 kB / 439.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.2803, allocations: 0.69 MB / 440.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.2807, allocations: 0.8118 MB / 441 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001489/0.2808, allocations: 42.95 kB / 441 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.2809, allocations: 43.36 kB / 441.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2809, allocations: 0 / 441.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of Templates: time 0.01172/0.2926, allocations: 6.005 MB / 447.1 MB, free: 10.88 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)