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.001806/0.001812, allocations: 103.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 67.39 kB / 307 MB, free: 0.5586 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1349, allocations: 50.54 MB / 357.5 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.008298/0.1433, allocations: 3.605 MB / 361.1 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003041/0.1464, allocations: 0.892 MB / 362 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006058/0.1471, allocations: 7.938 kB / 362 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.1475, allocations: 83.2 kB / 362.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007371/0.1482, allocations: 138.8 kB / 362.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.149, allocations: 199.6 kB / 362.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001168/0.1502, allocations: 0.6116 MB / 363.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006547/0.1509, allocations: 224.8 kB / 363.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005586/0.1515, allocations: 243.2 kB / 363.5 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/0.152, allocations: 294.8 kB / 363.8 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.1522, allocations: 56 kB / 363.9 MB, free: 7.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1523, allocations: 56 kB / 363.9 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1525, allocations: 127.6 kB / 364 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.153, allocations: 282.7 kB / 364.3 MB, free: 7.188 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.154, allocations: 0.5997 MB / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1541, allocations: 0 / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1541, allocations: 0 / 364.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.1541, allocations: 0 / 364.9 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.002357/0.1565, allocations: 0.8554 MB / 365.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.1565, allocations: 8.031 kB / 365.8 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.1567, allocations: 56.36 kB / 365.8 MB, free: 5.609 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000671/0.1574, allocations: 330.5 kB / 366.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.1575, allocations: 37.38 kB / 366.2 MB, free: 5.207 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.1576, allocations: 48.38 kB / 366.2 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.1589, allocations: 0.5139 MB / 366.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.159, allocations: 0 / 366.8 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-05/0.159, allocations: 28 kB / 366.8 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.1591, allocations: 12 kB / 366.8 MB, free: 4.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/0.1601, allocations: 311.8 kB / 367.1 MB, free: 4.273 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.1637, allocations: 1.572 MB / 368.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.1645, allocations: 214.5 kB / 368.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.1649, allocations: 93.91 kB / 369 MB, free: 2.281 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.1649, allocations: 4 kB / 369 MB, free: 2.277 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/0.1657, allocations: 219.2 kB / 369.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.795e-06/0.1657, allocations: 0 / 369.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.002399/0.1681, allocations: 0.772 MB / 370 MB, free: 1.172 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002634/0.1684, allocations: 320.4 kB / 370.3 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.1689, allocations: 299 kB / 370.6 MB, free: 496 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.169, allocations: 33.7 kB / 370.6 MB, free: 456 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.1693, allocations: 275.3 kB / 370.9 MB, free: 176 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.1694, allocations: 94.66 kB / 371 MB, free: 80 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2484/0.4178, allocations: 75.05 kB / 371 MB, free: 20.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.418, allocations: 343.5 kB / 371.4 MB, free: 19.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.4183, allocations: 99.23 kB / 371.5 MB, free: 19.96 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.4187, allocations: 256.8 kB / 371.7 MB, free: 19.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/0.4194, allocations: 333.5 kB / 372.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.4194, allocations: 3 kB / 372.1 MB, free: 19.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001399/0.4208, allocations: 0.5318 MB / 372.6 MB, free: 19.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.4209, allocations: 36.97 kB / 372.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.4209, allocations: 4.453 kB / 372.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/0.4216, allocations: 170.2 kB / 372.8 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.4219, allocations: 50.02 kB / 372.8 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.4256, allocations: 4.934 MB / 377.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.4261, allocations: 59.12 kB / 377.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.4261, allocations: 18.69 kB / 377.9 MB, free: 15.09 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.0002802/0.4264, allocations: 165.7 kB / 378 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.929e-05/0.4265, allocations: 32.19 kB / 378 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.153e-05/0.4266, allocations: 42.47 kB / 378.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4266, allocations: 3.062 kB / 378.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4266, allocations: 6.594 kB / 378.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4266, allocations: 1.406 kB / 378.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.427, allocations: 425.6 kB / 378.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4271, allocations: 1.438 kB / 378.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4273, allocations: 40.88 kB / 378.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002926/0.4276, allocations: 105.3 kB / 378.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.4276, allocations: 8.531 kB / 378.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.431, allocations: 5.76 MB / 384.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.431, allocations: 0 / 384.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/0.4318, allocations: 361.8 kB / 384.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4319, allocations: 112.7 kB / 384.9 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.432, allocations: 11.36 kB / 384.9 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.4323, allocations: 33.52 kB / 384.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.4324, allocations: 51.39 kB / 385 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.4325, allocations: 8.188 kB / 385 MB, free: 8.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.4327, allocations: 219 kB / 385.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4327, allocations: 1.5 kB / 385.2 MB, free: 8.277 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007604/0.4335, allocations: 146.2 kB / 385.3 MB, free: 8.246 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.0001791/0.4337, allocations: 115.2 kB / 385.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.435, allocations: 0.7109 MB / 386.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.435, allocations: 1.625 kB / 386.2 MB, free: 7.645 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006884/0.4357, allocations: 0.5951 MB / 386.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.4361, allocations: 59.41 kB / 386.8 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.4374, allocations: 0.6906 MB / 387.5 MB, free: 6.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.4377, allocations: 0.8082 MB / 388.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000194/0.4379, allocations: 47.39 kB / 388.4 MB, free: 6.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.104e-05/0.438, allocations: 36.61 kB / 388.4 MB, free: 6 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.438, allocations: 3.828 kB / 388.4 MB, free: 6 MB / 302.1 MB Notification: Performance of Templates: time 0.01341/0.4515, allocations: 6.022 MB / 394.4 MB, free: 4.73 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)