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.001399/0.001399, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001592/0.001593, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 63.48 kB / 307.6 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08642, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004745/0.0912, allocations: 3.6 MB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.09285, allocations: 0.892 MB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.09318, allocations: 12 kB / 362.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.09347, allocations: 83.2 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.09392, allocations: 142.7 kB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.0944, allocations: 199.6 kB / 363.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.09512, allocations: 0.6116 MB / 363.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.09546, allocations: 224.8 kB / 363.9 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.09576, allocations: 239.2 kB / 364.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003617/0.09613, allocations: 290.7 kB / 364.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.09625, allocations: 60 kB / 364.5 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.09635, allocations: 56 kB / 364.5 MB, free: 7.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.09647, allocations: 127.6 kB / 364.7 MB, free: 7.539 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.09673, allocations: 278.7 kB / 364.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.09725, allocations: 0.6075 MB / 365.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.09726, allocations: 0 / 365.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09727, allocations: 0 / 365.5 MB, free: 6.656 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.09729, allocations: 4 kB / 365.5 MB, free: 6.652 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.001505/0.0988, allocations: 0.8398 MB / 366.4 MB, free: 5.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.09885, allocations: 12.03 kB / 366.4 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.09897, allocations: 64.31 kB / 366.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.09936, allocations: 334.4 kB / 366.8 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.0994, allocations: 37.36 kB / 366.8 MB, free: 5.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.09947, allocations: 44.38 kB / 366.9 MB, free: 5.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008176/0.1003, allocations: 0.5178 MB / 367.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1003, allocations: 0 / 367.4 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.1004, allocations: 20 kB / 367.4 MB, free: 4.664 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1004, allocations: 12 kB / 367.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/0.1011, allocations: 319.8 kB / 367.7 MB, free: 4.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1032, allocations: 1.569 MB / 369.3 MB, free: 2.664 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.1037, allocations: 210.5 kB / 369.5 MB, free: 2.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.104, allocations: 97.91 kB / 369.6 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.104, allocations: 3.984 kB / 369.6 MB, free: 2.348 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.1045, allocations: 227.2 kB / 369.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.1045, allocations: 0 / 369.8 MB, free: 2.098 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001525/0.106, allocations: 0.7642 MB / 370.6 MB, free: 1.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.1061, allocations: 320.4 kB / 370.9 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.1065, allocations: 295 kB / 371.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1065, allocations: 37.7 kB / 371.2 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.1067, allocations: 271.4 kB / 371.5 MB, free: 252 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.478e-05/0.1067, allocations: 94.64 kB / 371.6 MB, free: 156 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.1069, allocations: 74.06 kB / 371.7 MB, free: 72 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1424/0.2493, allocations: 346.9 kB / 372 MB, free: 20.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.2497, allocations: 94.41 kB / 372.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.25, allocations: 262 kB / 372.3 MB, free: 19.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.2506, allocations: 337.3 kB / 372.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2506, allocations: 0.6562 kB / 372.7 MB, free: 19.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001195/0.2518, allocations: 0.5327 MB / 373.2 MB, free: 19.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.2518, allocations: 40.67 kB / 373.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2518, allocations: 2.906 kB / 373.2 MB, free: 19.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006491/0.2525, allocations: 170.5 kB / 373.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.2527, allocations: 45.59 kB / 373.5 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.2559, allocations: 4.94 MB / 378.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.2563, allocations: 58.36 kB / 378.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.2564, allocations: 16.58 kB / 378.5 MB, free: 15.16 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.0001939/0.2566, allocations: 168.8 kB / 378.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.2566, allocations: 42.11 kB / 378.7 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.2567, allocations: 40.09 kB / 378.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.2567, allocations: 3.438 kB / 378.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2567, allocations: 5.594 kB / 378.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2567, allocations: 3.625 kB / 378.7 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.2571, allocations: 426.1 kB / 379.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2571, allocations: 2.078 kB / 379.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2573, allocations: 32.31 kB / 379.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.2576, allocations: 103.8 kB / 379.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.2576, allocations: 8.578 kB / 379.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.2602, allocations: 5.762 MB / 385.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2602, allocations: 4 kB / 385.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.2609, allocations: 363.7 kB / 385.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.261, allocations: 113.8 kB / 385.5 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.261, allocations: 7.312 kB / 385.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.2613, allocations: 29.7 kB / 385.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.2614, allocations: 32.72 kB / 385.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.2614, allocations: 7.609 kB / 385.6 MB, free: 8.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002158/0.2616, allocations: 224.1 kB / 385.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2617, allocations: 0 / 385.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005724/0.2622, allocations: 146.8 kB / 386 MB, free: 8.309 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.0001242/0.2624, allocations: 109 kB / 386.1 MB, free: 8.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2634, allocations: 0.7139 MB / 386.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2634, allocations: 2.062 kB / 386.8 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000582/0.264, allocations: 0.5782 MB / 387.4 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.2644, allocations: 55.84 kB / 387.4 MB, free: 7.199 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.2654, allocations: 0.7169 MB / 388.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.2657, allocations: 0.8094 MB / 388.9 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.2657, allocations: 32.06 kB / 389 MB, free: 6.062 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2657, allocations: 0.5469 kB / 389 MB, free: 6.062 MB / 302.1 MB Notification: Performance of Templates: time 0.01159/0.2773, allocations: 10.5 MB / 399.5 MB, free: 2.152 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)