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.001274/0.001275, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.31 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09418, allocations: 50.54 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004868/0.09908, allocations: 3.598 MB / 362.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1009, allocations: 0.892 MB / 363.4 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003864/0.1013, allocations: 15.88 kB / 363.4 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.1016, allocations: 79.22 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.1021, allocations: 150.7 kB / 363.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005641/0.1027, allocations: 191.7 kB / 363.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007384/0.1035, allocations: 0.6116 MB / 364.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003515/0.1038, allocations: 228.8 kB / 364.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.1041, allocations: 235.2 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.1046, allocations: 290.8 kB / 365.2 MB, free: 7.039 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1047, allocations: 56 kB / 365.2 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1048, allocations: 60 kB / 365.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.105, allocations: 127.5 kB / 365.4 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002859/0.1053, allocations: 282.7 kB / 365.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.1059, allocations: 0.6073 MB / 366.3 MB, free: 5.914 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.106, allocations: 4 kB / 366.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.106, allocations: 4 kB / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.489e-05/0.106, allocations: 0 / 366.3 MB, free: 5.906 MB / 302.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.001557/0.1075, allocations: 0.8437 MB / 367.1 MB, free: 5.004 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1076, allocations: 12.03 kB / 367.2 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1077, allocations: 52.38 kB / 367.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/0.1082, allocations: 334.4 kB / 367.5 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.1082, allocations: 41.38 kB / 367.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/0.1083, allocations: 48.38 kB / 367.6 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.1092, allocations: 0.51 MB / 368.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1092, allocations: 0 / 368.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.1093, allocations: 28 kB / 368.2 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1093, allocations: 8 kB / 368.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.1099, allocations: 319.8 kB / 368.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/0.1123, allocations: 1.553 MB / 370 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.1128, allocations: 214.4 kB / 370.2 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.113, allocations: 101.9 kB / 370.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1131, allocations: 7.984 kB / 370.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.1135, allocations: 207.3 kB / 370.6 MB, free: 1.379 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 4.468e-06/0.1135, allocations: 4 kB / 370.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001526/0.115, allocations: 0.772 MB / 371.3 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.1152, allocations: 320.4 kB / 371.6 MB, free: 128 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.145/0.2602, allocations: 298.6 kB / 371.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.686e-05/0.2603, allocations: 32.77 kB / 372 MB, free: 20.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.2605, allocations: 269.2 kB / 372.2 MB, free: 20.38 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/0.2606, allocations: 92.59 kB / 372.3 MB, free: 20.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.2607, allocations: 78.92 kB / 372.4 MB, free: 20.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.2608, allocations: 345.6 kB / 372.7 MB, free: 19.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.2611, allocations: 96.28 kB / 372.8 MB, free: 19.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.2615, allocations: 271.2 kB / 373.1 MB, free: 19.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004973/0.262, allocations: 331.4 kB / 373.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.262, allocations: 0 / 373.4 MB, free: 19.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001156/0.2632, allocations: 0.5371 MB / 374 MB, free: 19.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.2632, allocations: 34.45 kB / 374 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2632, allocations: 3.547 kB / 374 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/0.2638, allocations: 167.7 kB / 374.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.264, allocations: 48.48 kB / 374.2 MB, free: 19.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/0.2674, allocations: 4.932 MB / 379.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.2678, allocations: 64.23 kB / 379.2 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.2678, allocations: 20.14 kB / 379.2 MB, free: 14.87 MB / 302.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.0001674/0.268, allocations: 171 kB / 379.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.268, allocations: 30.55 kB / 379.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.253e-05/0.2681, allocations: 45.36 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.2681, allocations: 2.625 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2681, allocations: 1.312 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2681, allocations: 2.828 kB / 379.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/0.2685, allocations: 425.9 kB / 379.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2685, allocations: 2.875 kB / 379.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.2687, allocations: 33.78 kB / 379.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002822/0.269, allocations: 106.4 kB / 380 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.269, allocations: 12.25 kB / 380 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.2716, allocations: 5.757 MB / 385.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2716, allocations: 0 / 385.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.2723, allocations: 366.5 kB / 386.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.2723, allocations: 109.2 kB / 386.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.2724, allocations: 6.031 kB / 386.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.2726, allocations: 33.2 kB / 386.3 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.2728, allocations: 50.75 kB / 386.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2728, allocations: 12.36 kB / 386.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.273, allocations: 215.8 kB / 386.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.273, allocations: 0 / 386.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005424/0.2736, allocations: 156.2 kB / 386.7 MB, free: 8.027 MB / 302.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.0001079/0.2737, allocations: 113.9 kB / 386.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.2747, allocations: 0.7018 MB / 387.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2747, allocations: 1.156 kB / 387.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000586/0.2753, allocations: 0.5858 MB / 388.1 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2757, allocations: 62.83 kB / 388.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.2767, allocations: 0.6703 MB / 388.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.277, allocations: 0.8112 MB / 389.7 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001484/0.2771, allocations: 43.08 kB / 389.7 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.658e-05/0.2772, allocations: 35.67 kB / 389.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2772, allocations: 0 / 389.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of Templates: time 0.0108/0.288, allocations: 5.917 MB / 395.7 MB, free: 4.492 MB / 302.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 -s gbode -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)