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.001145/0.001145, allocations: 93.33 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 199.8 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.7 MB / 247.5 MB, free: 11.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002741/0.0002741, allocations: 4 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.0976, allocations: 51.53 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.003982/0.1016, allocations: 3.24 MB / 363.2 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.1035, allocations: 0.8883 MB / 364.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.1038, allocations: 8 kB / 364.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002289/0.1041, allocations: 55.53 kB / 364.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.1046, allocations: 127 kB / 364.2 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004815/0.1051, allocations: 167.8 kB / 364.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000724/0.1059, allocations: 0.5843 MB / 365 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.1062, allocations: 186 kB / 365.2 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.1066, allocations: 207.2 kB / 365.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.107, allocations: 250.8 kB / 365.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.908e-05/0.1071, allocations: 32 kB / 365.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-05/0.1072, allocations: 28 kB / 365.7 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1073, allocations: 95.59 kB / 365.8 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.1075, allocations: 272.4 kB / 366 MB, free: 7.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1079, allocations: 454.9 kB / 366.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.108, allocations: 0 / 366.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.108, allocations: 0 / 366.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.861e-05/0.108, allocations: 0 / 366.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.001515/0.1095, allocations: 0.7736 MB / 367.3 MB, free: 5.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1096, allocations: 8.031 kB / 367.3 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1097, allocations: 60.38 kB / 367.3 MB, free: 5.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.1103, allocations: 342.4 kB / 367.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.1103, allocations: 37.36 kB / 367.7 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.484e-05/0.1104, allocations: 44.38 kB / 367.7 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1115, allocations: 0.5217 MB / 368.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1115, allocations: 0 / 368.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/0.1115, allocations: 19.98 kB / 368.3 MB, free: 4.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.1116, allocations: 12 kB / 368.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.1123, allocations: 327.8 kB / 368.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.1147, allocations: 1.584 MB / 370.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.1153, allocations: 218.5 kB / 370.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1155, allocations: 105.9 kB / 370.5 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1156, allocations: 4 kB / 370.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.116, allocations: 221.6 kB / 370.7 MB, free: 2.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.1161, allocations: 0 / 370.7 MB, free: 2.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001616/0.1177, allocations: 0.7934 MB / 371.5 MB, free: 1.242 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.1178, allocations: 316.4 kB / 371.8 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.1182, allocations: 314.8 kB / 372.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.1183, allocations: 33.7 kB / 372.2 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.1184, allocations: 271.4 kB / 372.4 MB, free: 236 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.1185, allocations: 86.75 kB / 372.5 MB, free: 148 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.1186, allocations: 33.7 kB / 372.6 MB, free: 108 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.176/0.2945, allocations: 339.4 kB / 372.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.295, allocations: 102 kB / 373 MB, free: 19.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.2955, allocations: 268.2 kB / 373.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.2962, allocations: 342.1 kB / 373.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.2962, allocations: 4.375 kB / 373.6 MB, free: 18.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00139/0.2976, allocations: 0.5442 MB / 374.1 MB, free: 18.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.2977, allocations: 33.44 kB / 374.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.2977, allocations: 3 kB / 374.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007093/0.2984, allocations: 173.7 kB / 374.3 MB, free: 18.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.2986, allocations: 48.14 kB / 374.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.3022, allocations: 4.545 MB / 378.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.3027, allocations: 63.69 kB / 379 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.3027, allocations: 20.38 kB / 379 MB, free: 14.7 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.000239/0.303, allocations: 164.9 kB / 379.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.577e-05/0.3031, allocations: 33.59 kB / 379.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.3031, allocations: 37.7 kB / 379.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3031, allocations: 5.25 kB / 379.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3032, allocations: 3.141 kB / 379.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3032, allocations: 7.328 kB / 379.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.3037, allocations: 427.8 kB / 379.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3037, allocations: 0 / 379.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.3039, allocations: 35.53 kB / 379.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/0.3042, allocations: 111.7 kB / 379.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.3042, allocations: 7.297 kB / 379.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.3069, allocations: 5.301 MB / 385.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3069, allocations: 1.219 kB / 385.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.3077, allocations: 375.5 kB / 385.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.551e-05/0.3078, allocations: 112.7 kB / 385.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.3078, allocations: 11.5 kB / 385.6 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.3081, allocations: 33.95 kB / 385.6 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.3082, allocations: 33.66 kB / 385.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.3083, allocations: 7.688 kB / 385.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3085, allocations: 219.6 kB / 385.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3085, allocations: 1.375 kB / 385.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006082/0.3091, allocations: 149.9 kB / 386 MB, free: 8.492 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.0001313/0.3093, allocations: 113.6 kB / 386.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.3104, allocations: 0.7232 MB / 386.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3104, allocations: 3.828 kB / 386.9 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.311, allocations: 0.5907 MB / 387.5 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3114, allocations: 50.59 kB / 387.5 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.3126, allocations: 0.919 MB / 388.4 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3129, allocations: 0.8092 MB / 389.3 MB, free: 6.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-05/0.313, allocations: 35.02 kB / 389.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.313, allocations: 2.844 kB / 389.3 MB, free: 6.051 MB / 302.1 MB Notification: Performance of Templates: time 0.01562/0.3286, allocations: 10.46 MB / 399.7 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)