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.001044/0.001044, allocations: 98.27 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 204.1 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003084, allocations: 8 kB / 306.6 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 51.5 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004369/0.1429, allocations: 2.888 MB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.1455, allocations: 0.8849 MB / 361.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007152/0.1462, allocations: 8 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003253/0.1466, allocations: 55.59 kB / 361.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.1476, allocations: 163.5 kB / 362.1 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.1485, allocations: 151.7 kB / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.1499, allocations: 415.8 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.1504, allocations: 170.4 kB / 362.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.1509, allocations: 195.3 kB / 363 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.1513, allocations: 239 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.7e-05/0.1513, allocations: 28 kB / 363.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-05/0.1514, allocations: 32 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.1515, allocations: 95.64 kB / 363.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.1517, allocations: 117.5 kB / 363.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006214/0.1523, allocations: 458.9 kB / 363.9 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1523, allocations: 4 kB / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.838e-06/0.1524, allocations: 0 / 363.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1524, allocations: 0 / 363.9 MB, free: 8.012 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.001664/0.154, allocations: 0.7735 MB / 364.7 MB, free: 7.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.1541, allocations: 8.031 kB / 364.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.1543, allocations: 55.42 kB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.1547, allocations: 325.3 kB / 365.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.267e-05/0.1548, allocations: 37 kB / 365.1 MB, free: 6.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.1549, allocations: 48 kB / 365.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008725/0.1557, allocations: 0.5139 MB / 365.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.1558, allocations: 0 / 365.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.1558, allocations: 16 kB / 365.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.1559, allocations: 12 kB / 365.7 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007603/0.1566, allocations: 323.8 kB / 366 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.1594, allocations: 1.577 MB / 367.6 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.1601, allocations: 218.7 kB / 367.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.1601, allocations: 4 kB / 367.8 MB, free: 3.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005034/0.1606, allocations: 221.6 kB / 368 MB, free: 3.637 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.1607, allocations: 0 / 368 MB, free: 3.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001593/0.1623, allocations: 0.7863 MB / 368.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002807/0.1626, allocations: 316.4 kB / 369.1 MB, free: 2.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.163, allocations: 306.8 kB / 369.4 MB, free: 2.074 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.1631, allocations: 33.7 kB / 369.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.1635, allocations: 271.4 kB / 369.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1636, allocations: 90.75 kB / 369.8 MB, free: 1.672 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/0.1636, allocations: 7.984 kB / 369.8 MB, free: 1.664 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003134/0.1639, allocations: 338.8 kB / 370.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.1642, allocations: 104.7 kB / 370.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/0.1646, allocations: 269.1 kB / 370.5 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.1649, allocations: 159.8 kB / 370.7 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.165, allocations: 4.031 kB / 370.7 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001469/0.1664, allocations: 0.5493 MB / 371.2 MB, free: 156 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.141e-05/0.1665, allocations: 33.7 kB / 371.3 MB, free: 116 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.1666, allocations: 4 kB / 371.3 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2464/0.413, allocations: 169.1 kB / 371.4 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4133, allocations: 55.84 kB / 371.5 MB, free: 19.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/0.4173, allocations: 4.564 MB / 376.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/0.4178, allocations: 69.62 kB / 376.1 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.356e-05/0.4178, allocations: 15.45 kB / 376.1 MB, free: 15.37 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 ($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.0002642/0.4181, allocations: 169.6 kB / 376.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.4182, allocations: 33.72 kB / 376.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.962e-05/0.4182, allocations: 37.55 kB / 376.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.4183, allocations: 7.469 kB / 376.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/0.4183, allocations: 2.25 kB / 376.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4183, allocations: 1.125 kB / 376.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.4189, allocations: 426.1 kB / 376.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4189, allocations: 2.906 kB / 376.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4191, allocations: 38.95 kB / 376.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.4194, allocations: 105.1 kB / 376.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.4194, allocations: 8.016 kB / 377 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.4224, allocations: 5.332 MB / 382.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4225, allocations: 0 / 382.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.4234, allocations: 376.5 kB / 382.7 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.4235, allocations: 105.9 kB / 382.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.4236, allocations: 9.375 kB / 382.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.4239, allocations: 33.5 kB / 382.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.424, allocations: 30.89 kB / 382.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/0.424, allocations: 13.34 kB / 382.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.4243, allocations: 215.6 kB / 383.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4243, allocations: 0 / 383.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006748/0.425, allocations: 151.1 kB / 383.2 MB, free: 9.488 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 (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.0001863/0.4252, allocations: 112.2 kB / 383.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4264, allocations: 0.7169 MB / 384 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4264, allocations: 1.125 kB / 384 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.4271, allocations: 0.5867 MB / 384.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4274, allocations: 58.62 kB / 384.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.4287, allocations: 0.8431 MB / 385.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.429, allocations: 0.8256 MB / 386.3 MB, free: 7.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.4292, allocations: 40.67 kB / 386.4 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.4293, allocations: 32.36 kB / 386.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4293, allocations: 0.7812 kB / 386.4 MB, free: 7.117 MB / 302.1 MB Notification: Performance of Templates: time 0.01121/0.4405, allocations: 5.057 MB / 391.5 MB, free: 6.5 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 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1)