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.002077/0.002077, allocations: 197.4 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.661/1.661, allocations: 226.5 MB / 245.4 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008628/0.0008631, allocations: 95 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00023/0.0002302, allocations: 4 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3227, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.4348, allocations: 80.2 MB / 489.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/0.4353, allocations: 79.94 kB / 489.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03834/0.4737, allocations: 13.72 MB / 0.4916 GB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4738, allocations: 0 / 0.4916 GB, free: 13.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.302e-05/0.4738, allocations: 12 kB / 0.4916 GB, free: 13.47 MB / 378.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.002029/0.4759, allocations: 0.7668 MB / 0.4923 GB, free: 12.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.4759, allocations: 12.03 kB / 0.4924 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.4762, allocations: 52.38 kB / 0.4924 GB, free: 12.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.477, allocations: 334.6 kB / 0.4927 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.339e-05/0.4771, allocations: 37.38 kB / 0.4928 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4772, allocations: 48.36 kB / 0.4928 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4783, allocations: 0.5145 MB / 0.4933 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4784, allocations: 3.938 kB / 0.4933 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.4784, allocations: 24 kB / 0.4933 GB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.4784, allocations: 20 kB / 0.4934 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.4792, allocations: 323.8 kB / 0.4937 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.4826, allocations: 1.588 MB / 0.4952 GB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.4832, allocations: 226.4 kB / 0.4954 GB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/0.4835, allocations: 108.7 kB / 0.4955 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.4835, allocations: 4 kB / 0.4955 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005919/0.4841, allocations: 221.7 kB / 0.4958 GB, free: 8.945 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 6.592e-06/0.4842, allocations: 0 / 0.4958 GB, free: 8.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.002112/0.4863, allocations: 0.7917 MB / 0.4965 GB, free: 8.062 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003113/0.4866, allocations: 324.4 kB / 0.4968 GB, free: 7.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.4872, allocations: 302.9 kB / 0.4971 GB, free: 7.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.4873, allocations: 37.69 kB / 0.4972 GB, free: 7.324 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.4876, allocations: 263.4 kB / 0.4974 GB, free: 7.059 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4877, allocations: 86.66 kB / 0.4975 GB, free: 6.973 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.4877, allocations: 11.98 kB / 0.4975 GB, free: 6.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.488, allocations: 350.8 kB / 0.4978 GB, free: 6.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.4883, allocations: 100.7 kB / 0.4979 GB, free: 6.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.4888, allocations: 265.2 kB / 0.4982 GB, free: 6.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.4894, allocations: 343.7 kB / 0.4985 GB, free: 5.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4895, allocations: 4 kB / 0.4985 GB, free: 5.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001396/0.4909, allocations: 0.5382 MB / 0.499 GB, free: 5.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-05/0.4909, allocations: 41.78 kB / 0.4991 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.491, allocations: 4 kB / 0.4991 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.4917, allocations: 178.3 kB / 0.4993 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.4919, allocations: 55.91 kB / 0.4993 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00504/0.497, allocations: 4.533 MB / 0.5037 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2987/0.7957, allocations: 53.61 kB / 0.5038 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.7958, allocations: 15.58 kB / 0.5038 GB, free: 96.08 MB / 378.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.0003201/0.7962, allocations: 161.5 kB / 0.504 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.7963, allocations: 40.31 kB / 0.504 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.7963, allocations: 37.05 kB / 0.504 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.7964, allocations: 6.016 kB / 0.504 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.7964, allocations: 0.9375 kB / 0.504 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.7964, allocations: 2.078 kB / 0.504 GB, free: 95.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.797, allocations: 422.3 kB / 0.5044 GB, free: 95.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.797, allocations: 3.109 kB / 0.5044 GB, free: 95.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.7972, allocations: 38.2 kB / 0.5045 GB, free: 95.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003966/0.7976, allocations: 115.2 kB / 0.5046 GB, free: 95.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.7976, allocations: 8.734 kB / 0.5046 GB, free: 95.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.8005, allocations: 5.23 MB / 0.5097 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8005, allocations: 0.6875 kB / 0.5097 GB, free: 90.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008524/0.8013, allocations: 373 kB / 0.5101 GB, free: 90.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.511e-05/0.8014, allocations: 112.7 kB / 0.5102 GB, free: 90.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.8015, allocations: 7.234 kB / 0.5102 GB, free: 90.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.8018, allocations: 36.86 kB / 0.5102 GB, free: 90.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.802, allocations: 55.53 kB / 0.5103 GB, free: 90.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.802, allocations: 11.08 kB / 0.5103 GB, free: 90.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.8023, allocations: 219.2 kB / 0.5105 GB, free: 90.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8023, allocations: 0 / 0.5105 GB, free: 90.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006075/0.8029, allocations: 152.2 kB / 0.5106 GB, free: 90.48 MB / 378.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.0001607/0.8031, allocations: 112.2 kB / 0.5107 GB, free: 90.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.8042, allocations: 0.728 MB / 0.5114 GB, free: 89.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8042, allocations: 1.438 kB / 0.5115 GB, free: 89.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.8049, allocations: 0.6079 MB / 0.512 GB, free: 89.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.8053, allocations: 68.5 kB / 0.5121 GB, free: 89.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.8066, allocations: 0.8436 MB / 0.5129 GB, free: 89.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.8069, allocations: 0.8204 MB / 0.5137 GB, free: 88.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001924/0.8071, allocations: 41.2 kB / 0.5138 GB, free: 88.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.301e-05/0.8072, allocations: 34.67 kB / 0.5138 GB, free: 88.36 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8072, allocations: 0 / 0.5138 GB, free: 88.36 MB / 378.7 MB Notification: Performance of Templates: time 0.009571/0.8168, allocations: 5.488 MB / 0.5192 GB, free: 88.1 MB / 378.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)