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.0009164/0.0009165, allocations: 93.3 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00101/0.00101, allocations: 199.7 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002976/0.0002977, allocations: 8 kB / 307.7 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 51.52 MB / 359.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.00374/0.1348, allocations: 3.24 MB / 362.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1366, allocations: 0.8844 MB / 363.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002075/0.1368, allocations: 11.94 kB / 363.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1371, allocations: 59.58 kB / 363.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.1375, allocations: 127 kB / 363.6 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.1379, allocations: 163.8 kB / 363.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005804/0.1385, allocations: 0.5882 MB / 364.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.1389, allocations: 186.1 kB / 364.5 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.1391, allocations: 207.2 kB / 364.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.1394, allocations: 246.8 kB / 365 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.1395, allocations: 28 kB / 365 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.06e-05/0.1396, allocations: 32 kB / 365 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1397, allocations: 107.5 kB / 365.1 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.14, allocations: 264.5 kB / 365.4 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.1406, allocations: 0.5722 MB / 366 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1406, allocations: 0 / 366 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1406, allocations: 0 / 366 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1406, allocations: 0 / 366 MB, free: 6.586 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.00149/0.1421, allocations: 0.7775 MB / 366.7 MB, free: 5.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.1421, allocations: 12.02 kB / 366.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.1423, allocations: 56.36 kB / 366.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1427, allocations: 330.5 kB / 367.1 MB, free: 5.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.328e-05/0.1428, allocations: 33.38 kB / 367.2 MB, free: 5.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/0.1428, allocations: 48.38 kB / 367.2 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.1438, allocations: 0.5217 MB / 367.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1438, allocations: 0 / 367.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.033e-05/0.1438, allocations: 20 kB / 367.7 MB, free: 4.672 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1439, allocations: 12 kB / 367.8 MB, free: 4.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.1446, allocations: 331.8 kB / 368.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.1469, allocations: 1.576 MB / 369.7 MB, free: 2.648 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.1475, allocations: 226.4 kB / 369.9 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.1478, allocations: 105.9 kB / 370 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1478, allocations: 4 kB / 370 MB, free: 2.309 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004449/0.1482, allocations: 230.3 kB / 370.2 MB, free: 2.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.512e-06/0.1483, allocations: 3.938 kB / 370.2 MB, free: 2.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001585/0.1498, allocations: 0.7954 MB / 371 MB, free: 1.164 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.15, allocations: 316.4 kB / 371.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.1504, allocations: 306.9 kB / 371.6 MB, free: 484 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.1504, allocations: 29.7 kB / 371.7 MB, free: 448 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1506, allocations: 271.4 kB / 371.9 MB, free: 168 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.1507, allocations: 86.75 kB / 372 MB, free: 80 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.1508, allocations: 37.7 kB / 372 MB, free: 36 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.2761/0.4268, allocations: 340.3 kB / 372.4 MB, free: 19.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.4275, allocations: 102.3 kB / 372.5 MB, free: 19.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.428, allocations: 266.5 kB / 372.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007612/0.4288, allocations: 348.1 kB / 373.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4288, allocations: 1.094 kB / 373.1 MB, free: 18.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001597/0.4304, allocations: 0.5409 MB / 373.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.574e-05/0.4305, allocations: 33.19 kB / 373.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4305, allocations: 3.125 kB / 373.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008245/0.4314, allocations: 180.6 kB / 373.8 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.4316, allocations: 48.78 kB / 373.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.4361, allocations: 4.54 MB / 378.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004751/0.4366, allocations: 70.34 kB / 378.5 MB, free: 14.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.144e-05/0.4366, allocations: 15.81 kB / 378.5 MB, free: 14.78 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.0003128/0.437, allocations: 163.7 kB / 378.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.91e-05/0.4371, allocations: 36.62 kB / 378.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.548e-05/0.4371, allocations: 36.98 kB / 378.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.4372, allocations: 2.719 kB / 378.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/0.4372, allocations: 5.719 kB / 378.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.4372, allocations: 2.609 kB / 378.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005528/0.4378, allocations: 429.9 kB / 379.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4378, allocations: 0.7031 kB / 379.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.438, allocations: 35.64 kB / 379.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.4383, allocations: 114.5 kB / 379.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4383, allocations: 6.719 kB / 379.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.4419, allocations: 5.298 MB / 384.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4419, allocations: 1.156 kB / 384.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.4429, allocations: 379.7 kB / 385 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.443, allocations: 107.8 kB / 385.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.443, allocations: 8.609 kB / 385.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.4433, allocations: 39.03 kB / 385.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.4435, allocations: 49.41 kB / 385.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.4435, allocations: 11.84 kB / 385.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003138/0.4438, allocations: 215 kB / 385.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4438, allocations: 0 / 385.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007527/0.4446, allocations: 155.4 kB / 385.6 MB, free: 8.57 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.0002145/0.4448, allocations: 113.2 kB / 385.7 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001379/0.4462, allocations: 0.7237 MB / 386.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4462, allocations: 4.969 kB / 386.4 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007661/0.447, allocations: 0.5988 MB / 387 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4474, allocations: 59.2 kB / 387 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.4489, allocations: 0.891 MB / 387.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4493, allocations: 0.8089 MB / 388.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.4495, allocations: 44.34 kB / 388.8 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.4496, allocations: 32.77 kB / 388.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.4496, allocations: 1.125 kB / 388.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of Templates: time 0.01297/0.4626, allocations: 5.547 MB / 394.4 MB, free: 5.043 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)