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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 103.8 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009269/0.000927, allocations: 44.06 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2342, allocations: 50.46 MB / 407.1 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003463/0.2378, allocations: 3.633 MB / 410.7 MB, free: 24.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2391, allocations: 0.8943 MB / 411.6 MB, free: 23.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.2393, allocations: 8 kB / 411.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.2395, allocations: 55.53 kB / 411.7 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003328/0.2399, allocations: 127 kB / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.2402, allocations: 165.7 kB / 411.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.2407, allocations: 0.5921 MB / 412.5 MB, free: 22.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.241, allocations: 198 kB / 412.7 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.2411, allocations: 227.1 kB / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2414, allocations: 262.9 kB / 413.2 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.2414, allocations: 40 kB / 413.2 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.919e-05/0.2415, allocations: 40 kB / 413.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.2416, allocations: 111.5 kB / 413.4 MB, free: 21.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.2418, allocations: 258.8 kB / 413.6 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.2421, allocations: 0.5853 MB / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2422, allocations: 8 kB / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.2422, allocations: 0 / 414.2 MB, free: 20.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2422, allocations: 0 / 414.2 MB, free: 20.64 MB / 298.7 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.001297/0.2435, allocations: 0.8438 MB / 415.1 MB, free: 19.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2435, allocations: 8.031 kB / 415.1 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.2436, allocations: 60.36 kB / 415.1 MB, free: 19.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.244, allocations: 330.5 kB / 415.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.244, allocations: 41.31 kB / 415.5 MB, free: 19.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.366e-05/0.2441, allocations: 48.38 kB / 415.6 MB, free: 19.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007/0.2448, allocations: 0.5062 MB / 416.1 MB, free: 18.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.2448, allocations: 4 kB / 416.1 MB, free: 18.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.2449, allocations: 27.92 kB / 416.1 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.2449, allocations: 16 kB / 416.1 MB, free: 18.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005615/0.2454, allocations: 311.8 kB / 416.4 MB, free: 18.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.2473, allocations: 1.569 MB / 418 MB, free: 16.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.2477, allocations: 208.6 kB / 418.2 MB, free: 16.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.2479, allocations: 100.8 kB / 418.3 MB, free: 16.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.248, allocations: 8 kB / 418.3 MB, free: 16.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.2484, allocations: 209.7 kB / 418.5 MB, free: 16.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.445e-06/0.2484, allocations: 0 / 418.5 MB, free: 16.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001381/0.2498, allocations: 0.772 MB / 419.3 MB, free: 15.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.2499, allocations: 316.4 kB / 419.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.2502, allocations: 310.8 kB / 419.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.2502, allocations: 37.7 kB / 419.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2503, allocations: 267.4 kB / 420.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.351e-05/0.2504, allocations: 94.64 kB / 420.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.2505, allocations: 78.06 kB / 420.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.817e-05/0.2506, allocations: 338.8 kB / 420.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.2508, allocations: 100.7 kB / 420.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.2511, allocations: 273 kB / 421 MB, free: 13.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004387/0.2515, allocations: 330.8 kB / 421.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2515, allocations: 96 / 421.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009527/0.2525, allocations: 0.5373 MB / 421.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.2525, allocations: 37.62 kB / 421.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2526, allocations: 4 kB / 421.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/0.2532, allocations: 166.4 kB / 422.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.2533, allocations: 51.91 kB / 422.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002838/0.2562, allocations: 4.522 MB / 426.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.2566, allocations: 67.69 kB / 426.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.2566, allocations: 19.98 kB / 426.8 MB, free: 7.074 MB / 298.7 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.0001791/0.2568, allocations: 165.7 kB / 426.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.2569, allocations: 39.56 kB / 427 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.2569, allocations: 38.98 kB / 427 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2569, allocations: 4 kB / 427 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.257, allocations: 0 / 427 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.257, allocations: 0 / 427 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.2573, allocations: 429.1 kB / 427.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.2573, allocations: 0 / 427.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.2575, allocations: 39.97 kB / 427.5 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.2577, allocations: 103.3 kB / 427.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2578, allocations: 15.97 kB / 427.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.26, allocations: 5.285 MB / 432.9 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2601, allocations: 0 / 432.9 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.2612, allocations: 1.049 MB / 433.9 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.2613, allocations: 112.8 kB / 434 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.2614, allocations: 8 kB / 434 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.2617, allocations: 31.95 kB / 434.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.2618, allocations: 63.86 kB / 434.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.2618, allocations: 8 kB / 434.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002253/0.2621, allocations: 217.9 kB / 434.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2621, allocations: 0 / 434.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006826/0.2628, allocations: 147.6 kB / 434.5 MB, free: 14.65 MB / 314.7 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.0001646/0.2629, allocations: 111.2 kB / 434.6 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.2641, allocations: 0.7186 MB / 435.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2641, allocations: 8.062 kB / 435.3 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006905/0.2648, allocations: 0.5845 MB / 435.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.2652, allocations: 65.5 kB / 436 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2666, allocations: 1.039 MB / 437 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.267, allocations: 0.8234 MB / 437.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001738/0.2671, allocations: 42.97 kB / 437.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.2672, allocations: 23.44 kB / 437.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2672, allocations: 0 / 437.9 MB, free: 11.06 MB / 314.7 MB Notification: Performance of Templates: time 0.01016/0.2774, allocations: 5.873 MB / 443.8 MB, free: 5.219 MB / 314.7 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)