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.001525/0.001525, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00161/0.00161, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.88 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.005607/0.3084, allocations: 3.604 MB / 412.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3106, allocations: 0.8881 MB / 413.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.3111, allocations: 8 kB / 413.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.3114, allocations: 83.2 kB / 413.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005509/0.312, allocations: 146.7 kB / 414 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.3126, allocations: 199.6 kB / 414.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.3135, allocations: 0.6077 MB / 414.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.3139, allocations: 228.8 kB / 415 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.3144, allocations: 235.2 kB / 415.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.3148, allocations: 294.8 kB / 415.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003261/0.3152, allocations: 56 kB / 415.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3153, allocations: 60 kB / 415.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.3155, allocations: 127.6 kB / 415.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.316, allocations: 278.7 kB / 416.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.3167, allocations: 0.6161 MB / 416.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3167, allocations: 0 / 416.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3167, allocations: 0 / 416.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3167, allocations: 0 / 416.7 MB, free: 10.17 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.001696/0.3184, allocations: 0.8361 MB / 417.5 MB, free: 9.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.3185, allocations: 12.03 kB / 417.5 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001276/0.3186, allocations: 60.28 kB / 417.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005145/0.3191, allocations: 342.4 kB / 417.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.3192, allocations: 37.38 kB / 418 MB, free: 8.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.3193, allocations: 48.31 kB / 418 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008509/0.3201, allocations: 0.5139 MB / 418.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3201, allocations: 0 / 418.5 MB, free: 8.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.3202, allocations: 24 kB / 418.5 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3202, allocations: 8 kB / 418.5 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/0.3209, allocations: 319.8 kB / 418.9 MB, free: 7.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.3235, allocations: 1.549 MB / 420.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.3241, allocations: 210.5 kB / 420.6 MB, free: 6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/0.3243, allocations: 96.81 kB / 420.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.3243, allocations: 7.984 kB / 420.7 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003969/0.3247, allocations: 217.6 kB / 420.9 MB, free: 5.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.743e-06/0.3248, allocations: 0 / 420.9 MB, free: 5.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001499/0.3263, allocations: 0.7642 MB / 421.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002595/0.3265, allocations: 320.4 kB / 422 MB, free: 4.41 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.3269, allocations: 306.9 kB / 422.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.327, allocations: 33.7 kB / 422.3 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.3272, allocations: 267.4 kB / 422.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/0.3273, allocations: 90.73 kB / 422.7 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.3274, allocations: 85.91 kB / 422.8 MB, free: 3.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3276, allocations: 346.8 kB / 423.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.3278, allocations: 96.7 kB / 423.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.3283, allocations: 253.5 kB / 423.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.3289, allocations: 343.6 kB / 423.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3289, allocations: 0 / 423.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001094/0.33, allocations: 0.5334 MB / 424.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.33, allocations: 37.64 kB / 424.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.33, allocations: 7.984 kB / 424.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006327/0.3307, allocations: 162.4 kB / 424.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3309, allocations: 51.91 kB / 424.6 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/0.336, allocations: 4.933 MB / 429.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.3364, allocations: 59.61 kB / 429.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.294e-05/0.3365, allocations: 23.92 kB / 429.6 MB, free: 12.21 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.0002189/0.3367, allocations: 173.1 kB / 429.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.3367, allocations: 31.62 kB / 429.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.3368, allocations: 42.92 kB / 429.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3368, allocations: 0 / 429.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.3368, allocations: 4 kB / 429.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3369, allocations: 96 / 429.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.3374, allocations: 433.2 kB / 430.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3374, allocations: 3.938 kB / 430.3 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.3376, allocations: 31.98 kB / 430.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.338, allocations: 103.4 kB / 430.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.338, allocations: 11.92 kB / 430.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.3428, allocations: 5.76 MB / 436.2 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3428, allocations: 4.031 kB / 436.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.3436, allocations: 356.8 kB / 436.5 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.3437, allocations: 108.9 kB / 436.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.3437, allocations: 15.98 kB / 436.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.344, allocations: 35.91 kB / 436.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3441, allocations: 47.94 kB / 436.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3442, allocations: 11.98 kB / 436.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.3444, allocations: 214 kB / 436.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3444, allocations: 4 kB / 436.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005814/0.345, allocations: 151.5 kB / 437.1 MB, free: 4.023 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.0001729/0.3452, allocations: 107.2 kB / 437.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.3464, allocations: 0.7218 MB / 437.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3464, allocations: 4 kB / 437.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.3471, allocations: 0.5775 MB / 438.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.3475, allocations: 64.78 kB / 438.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.3489, allocations: 0.6752 MB / 439.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.3495, allocations: 0.8118 MB / 440.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.3496, allocations: 42.89 kB / 440.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.3497, allocations: 35.42 kB / 440.1 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3497, allocations: 7.938 kB / 440.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Templates: time 0.0125/0.3622, allocations: 5.962 MB / 446.1 MB, free: 10.89 MB / 366.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)