Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 196.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 226.6 MB / 244.3 MB, free: 8.316 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007265/0.0007266, allocations: 101.6 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.000255, allocations: 8 kB / 356.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.239, allocations: 51.3 MB / 407.5 MB, free: 27.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00256/0.2416, allocations: 3.07 MB / 410.6 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.2431, allocations: 0.856 MB / 411.4 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.2433, allocations: 8 kB / 411.4 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2435, allocations: 60.05 kB / 411.5 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.2438, allocations: 122.8 kB / 411.6 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.2441, allocations: 151.8 kB / 411.8 MB, free: 23.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.2445, allocations: 0.56 MB / 412.3 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.2447, allocations: 166.4 kB / 412.5 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2449, allocations: 195.3 kB / 412.7 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2451, allocations: 243 kB / 412.9 MB, free: 22.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.2452, allocations: 32 kB / 412.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.58e-05/0.2453, allocations: 28 kB / 413 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.869e-05/0.2453, allocations: 99.58 kB / 413.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.2454, allocations: 113.5 kB / 413.2 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.2457, allocations: 451.7 kB / 413.6 MB, free: 21.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2457, allocations: 4 kB / 413.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2457, allocations: 0 / 413.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2458, allocations: 0 / 413.6 MB, free: 21.7 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.001208/0.247, allocations: 0.7735 MB / 414.4 MB, free: 20.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.247, allocations: 11.97 kB / 414.4 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.2471, allocations: 55.44 kB / 414.5 MB, free: 20.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.2474, allocations: 333.2 kB / 414.8 MB, free: 20.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.2475, allocations: 33 kB / 414.8 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.2475, allocations: 44 kB / 414.9 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.2482, allocations: 0.5179 MB / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2482, allocations: 0 / 415.4 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.2483, allocations: 20 kB / 415.4 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2483, allocations: 15.94 kB / 415.4 MB, free: 19.79 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005504/0.2489, allocations: 323.8 kB / 415.7 MB, free: 19.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/0.2507, allocations: 1.577 MB / 417.3 MB, free: 17.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.2512, allocations: 228.8 kB / 417.5 MB, free: 17.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.2514, allocations: 112.8 kB / 417.6 MB, free: 17.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.2514, allocations: 4 kB / 417.6 MB, free: 17.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.2517, allocations: 217.6 kB / 417.9 MB, free: 17.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.2518, allocations: 4 kB / 417.9 MB, free: 17.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001302/0.2531, allocations: 0.776 MB / 418.6 MB, free: 16.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/0.2532, allocations: 324.4 kB / 419 MB, free: 15.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.2534, allocations: 299 kB / 419.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.2534, allocations: 37.64 kB / 419.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.2536, allocations: 271.4 kB / 419.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.08e-05/0.2536, allocations: 94.64 kB / 419.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/0.2536, allocations: 8 kB / 419.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.2537, allocations: 342.8 kB / 420 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.2539, allocations: 96.7 kB / 420.1 MB, free: 14.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.2542, allocations: 278.7 kB / 420.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.2544, allocations: 159.8 kB / 420.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2545, allocations: 4 kB / 420.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009556/0.2554, allocations: 0.546 MB / 421.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.2555, allocations: 33.7 kB / 421.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2555, allocations: 0 / 421.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.256, allocations: 166.4 kB / 421.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.2562, allocations: 55.84 kB / 421.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/0.2589, allocations: 4.525 MB / 425.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.2593, allocations: 75.52 kB / 425.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.2594, allocations: 20 kB / 425.9 MB, free: 8.422 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.2595, allocations: 161.7 kB / 426.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.2596, allocations: 31.72 kB / 426.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.611e-05/0.2596, allocations: 42.92 kB / 426.2 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2596, allocations: 4 kB / 426.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.2596, allocations: 0 / 426.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2597, allocations: 4 kB / 426.2 MB, free: 8.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.26, allocations: 433.2 kB / 426.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.26, allocations: 192 / 426.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.2602, allocations: 39.98 kB / 426.6 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002589/0.2604, allocations: 107.3 kB / 426.7 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.2605, allocations: 7.984 kB / 426.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.2629, allocations: 5.286 MB / 432 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2629, allocations: 32 / 432 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00065/0.2636, allocations: 376.9 kB / 432.4 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.2636, allocations: 108.7 kB / 432.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.2637, allocations: 15.89 kB / 432.5 MB, free: 1.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.2639, allocations: 35.97 kB / 432.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/0.264, allocations: 35.95 kB / 432.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.2641, allocations: 8 kB / 432.6 MB, free: 1.105 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.2642, allocations: 217.9 kB / 432.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2642, allocations: 0 / 432.8 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005066/0.2648, allocations: 143.7 kB / 432.9 MB, free: 0.75 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.2649, allocations: 114.5 kB / 433.1 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009963/0.2659, allocations: 0.7177 MB / 433.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2659, allocations: 3.938 kB / 433.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000667/0.2666, allocations: 0.5894 MB / 434.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.267, allocations: 56.62 kB / 434.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2683, allocations: 0.8728 MB / 435.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.2686, allocations: 0.8156 MB / 436.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.2687, allocations: 31.42 kB / 436.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.854e-06/0.2687, allocations: 0 / 436.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of Templates: time 0.01153/0.2803, allocations: 10.48 MB / 446.6 MB, free: 2.902 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)