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.001615/0.001615, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001886/0.001886, allocations: 202.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 55.91 kB / 359.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2242, allocations: 50.55 MB / 410 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004175/0.2284, allocations: 3.605 MB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.2298, allocations: 0.8881 MB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001668/0.23, allocations: 11.94 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.2302, allocations: 83.2 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.2305, allocations: 142.8 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.2309, allocations: 203.6 kB / 414.9 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.2315, allocations: 0.6116 MB / 415.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003065/0.2318, allocations: 228.8 kB / 415.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.232, allocations: 243.2 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003169/0.2324, allocations: 282.8 kB / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.2324, allocations: 60 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.544e-05/0.2326, allocations: 56 kB / 416.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2327, allocations: 135.5 kB / 416.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.2329, allocations: 278.7 kB / 416.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005546/0.2335, allocations: 0.6185 MB / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2335, allocations: 0 / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2335, allocations: 0 / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2335, allocations: 0 / 417.4 MB, free: 10.07 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.001416/0.2349, allocations: 0.855 MB / 418.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.235, allocations: 8.031 kB / 418.2 MB, free: 9.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.2351, allocations: 64.61 kB / 418.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/0.2355, allocations: 342.5 kB / 418.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.957e-05/0.2356, allocations: 33.38 kB / 418.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.2356, allocations: 44.38 kB / 418.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.2365, allocations: 0.5178 MB / 419.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2365, allocations: 0 / 419.2 MB, free: 8.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.2366, allocations: 20 kB / 419.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.2366, allocations: 12 kB / 419.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.2373, allocations: 315.8 kB / 419.6 MB, free: 7.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.2395, allocations: 1.55 MB / 421.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.24, allocations: 214.4 kB / 421.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2402, allocations: 92.81 kB / 421.4 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.2403, allocations: 4 kB / 421.4 MB, free: 5.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003745/0.2406, allocations: 221.7 kB / 421.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.2407, allocations: 0 / 421.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001512/0.2422, allocations: 0.7721 MB / 422.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.2423, allocations: 316.4 kB / 422.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.2427, allocations: 303 kB / 423 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.2427, allocations: 37.7 kB / 423.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.2429, allocations: 280.1 kB / 423.3 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.243, allocations: 87.22 kB / 423.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.2431, allocations: 86.02 kB / 423.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2432, allocations: 342.8 kB / 423.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.2435, allocations: 96.7 kB / 423.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2438, allocations: 261.4 kB / 424.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/0.2443, allocations: 335.6 kB / 424.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2444, allocations: 4.094 kB / 424.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001097/0.2455, allocations: 0.5375 MB / 425.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.2455, allocations: 37.64 kB / 425.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2455, allocations: 4 kB / 425.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/0.2461, allocations: 166.4 kB / 425.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.2463, allocations: 47.91 kB / 425.3 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/0.2503, allocations: 4.945 MB / 430.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.2507, allocations: 63.64 kB / 430.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.2508, allocations: 12 kB / 430.3 MB, free: 12.08 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.0001953/0.251, allocations: 181.3 kB / 430.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.251, allocations: 39.84 kB / 430.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.2511, allocations: 34.98 kB / 430.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2511, allocations: 3.938 kB / 430.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2511, allocations: 4 kB / 430.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.2512, allocations: 108.8 kB / 430.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.2512, allocations: 4 kB / 430.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.2515, allocations: 39.97 kB / 430.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.2516, allocations: 51.92 kB / 430.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009347/0.2526, allocations: 413 kB / 431.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007805/0.2534, allocations: 0.5415 MB / 431.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001948/0.2536, allocations: 83.94 kB / 431.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.2538, allocations: 221.9 kB / 432 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Backend: time 7.62e-07/0.2538, allocations: 0 / 432 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.2552, allocations: 0.7279 MB / 432.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of SimCode: time 0.001321/0.2566, allocations: 1.204 MB / 434 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Templates: time 0.01121/0.2678, allocations: 5.957 MB / 439.9 MB, free: 2.348 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)