Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) 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.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 109.8 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001569/0.001569, allocations: 208 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.88 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2753, allocations: 50.55 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004493/0.2798, allocations: 3.594 MB / 413.6 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.2815, allocations: 0.8881 MB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.2817, allocations: 8 kB / 414.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.282, allocations: 83.2 kB / 414.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00037/0.2824, allocations: 146.7 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.2828, allocations: 199.6 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.2833, allocations: 0.6077 MB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.2837, allocations: 224.8 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.2839, allocations: 247.1 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00031/0.2842, allocations: 282.8 kB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.2843, allocations: 60 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.279e-05/0.2844, allocations: 59.94 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.2845, allocations: 135.5 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.2848, allocations: 270.8 kB / 416.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005485/0.2853, allocations: 0.6161 MB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2854, allocations: 4 kB / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2854, allocations: 0 / 417.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.2854, allocations: 0 / 417.4 MB, free: 10.12 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.001485/0.2869, allocations: 0.8439 MB / 418.2 MB, free: 9.223 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2869, allocations: 8.031 kB / 418.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.287, allocations: 56.28 kB / 418.3 MB, free: 9.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.2875, allocations: 342.4 kB / 418.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.2876, allocations: 33.38 kB / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.2876, allocations: 44.38 kB / 418.7 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.2885, allocations: 0.5178 MB / 419.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2885, allocations: 0 / 419.2 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.2885, allocations: 20 kB / 419.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.2886, allocations: 12 kB / 419.2 MB, free: 8.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006527/0.2892, allocations: 323.8 kB / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.2915, allocations: 1.545 MB / 421.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005188/0.292, allocations: 206.5 kB / 421.3 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.2922, allocations: 100.8 kB / 421.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2923, allocations: 4 kB / 421.4 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.2926, allocations: 221.6 kB / 421.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.2927, allocations: 0 / 421.6 MB, free: 5.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001552/0.2942, allocations: 0.7681 MB / 422.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.2944, allocations: 316.4 kB / 422.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.2947, allocations: 306.9 kB / 423 MB, free: 4.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.2948, allocations: 33.7 kB / 423 MB, free: 4.012 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2949, allocations: 271.4 kB / 423.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.295, allocations: 86.75 kB / 423.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2951, allocations: 85.97 kB / 423.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2953, allocations: 342.8 kB / 423.8 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.2956, allocations: 92.7 kB / 423.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.2959, allocations: 265.4 kB / 424.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.2965, allocations: 331.7 kB / 424.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2965, allocations: 4 kB / 424.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001068/0.2976, allocations: 0.5334 MB / 425 MB, free: 1.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.2976, allocations: 37.64 kB / 425 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2976, allocations: 7.984 kB / 425 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.2983, allocations: 166.5 kB / 425.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.2985, allocations: 51.84 kB / 425.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004571/0.303, allocations: 4.94 MB / 430.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.3034, allocations: 59.55 kB / 430.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.3035, allocations: 19.92 kB / 430.3 MB, free: 12.16 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.0002047/0.3037, allocations: 174.8 kB / 430.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.3037, allocations: 35.62 kB / 430.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.045e-05/0.3038, allocations: 34.98 kB / 430.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3038, allocations: 3.938 kB / 430.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3038, allocations: 0 / 430.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-05/0.3039, allocations: 112.7 kB / 430.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.304, allocations: 8 kB / 430.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3042, allocations: 35.97 kB / 430.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3044, allocations: 47.92 kB / 430.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009166/0.3053, allocations: 416.9 kB / 431.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008636/0.3062, allocations: 0.5336 MB / 431.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002113/0.3064, allocations: 91.91 kB / 431.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.3067, allocations: 218 kB / 432 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Backend: time 6.01e-07/0.3067, allocations: 0 / 432 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.3081, allocations: 0.7356 MB / 432.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of SimCode: time 0.001702/0.3098, allocations: 1.188 MB / 433.9 MB, free: 8.371 MB / 350.1 MB Notification: Performance of Templates: time 0.01229/0.3221, allocations: 5.966 MB / 439.9 MB, free: 2.449 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)