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.00117/0.00117, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001146/0.001146, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 71.17 kB / 306.5 MB, free: 0.9336 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1175, allocations: 50.53 MB / 357 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.006443/0.124, allocations: 3.632 MB / 360.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1267, allocations: 0.9038 MB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005846/0.1273, allocations: 4 kB / 361.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.1278, allocations: 59.52 kB / 361.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008185/0.1287, allocations: 127 kB / 361.7 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006902/0.1294, allocations: 163.8 kB / 361.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009994/0.1304, allocations: 0.6116 MB / 362.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.1308, allocations: 228.8 kB / 362.7 MB, free: 8.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.1312, allocations: 235.3 kB / 362.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003611/0.1315, allocations: 294.7 kB / 363.2 MB, free: 8.129 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.563e-05/0.1316, allocations: 56 kB / 363.3 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.1317, allocations: 56 kB / 363.3 MB, free: 8.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1318, allocations: 131.6 kB / 363.5 MB, free: 7.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002714/0.1321, allocations: 282.7 kB / 363.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006028/0.1327, allocations: 0.6075 MB / 364.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1327, allocations: 0 / 364.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1328, allocations: 0 / 364.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1328, allocations: 0 / 364.3 MB, free: 7.004 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.001711/0.1345, allocations: 0.8476 MB / 365.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.1346, allocations: 12.02 kB / 365.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1347, allocations: 56.38 kB / 365.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.1352, allocations: 330.5 kB / 365.6 MB, free: 5.664 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.1353, allocations: 33.38 kB / 365.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.1353, allocations: 48.38 kB / 365.7 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.1363, allocations: 0.5139 MB / 366.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.1363, allocations: 0 / 366.2 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/0.1364, allocations: 24 kB / 366.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.1364, allocations: 12 kB / 366.2 MB, free: 5.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.1371, allocations: 311.8 kB / 366.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/0.1398, allocations: 1.572 MB / 368.1 MB, free: 3.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.1404, allocations: 222.4 kB / 368.3 MB, free: 2.797 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.1406, allocations: 93.91 kB / 368.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.1407, allocations: 4 kB / 368.4 MB, free: 2.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.1412, allocations: 221.5 kB / 368.6 MB, free: 2.453 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.843e-06/0.1412, allocations: 4 kB / 368.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001736/0.1429, allocations: 0.7661 MB / 369.4 MB, free: 1.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/0.1431, allocations: 320.4 kB / 369.7 MB, free: 1.207 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.1435, allocations: 307 kB / 370 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1436, allocations: 33.7 kB / 370 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1438, allocations: 267.4 kB / 370.3 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/0.1439, allocations: 94.64 kB / 370.4 MB, free: 0.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.144, allocations: 74.06 kB / 370.5 MB, free: 428 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1442, allocations: 346.8 kB / 370.8 MB, free: 72 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2289/0.373, allocations: 95.19 kB / 370.9 MB, free: 20.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.3736, allocations: 258.2 kB / 371.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005636/0.3742, allocations: 334.8 kB / 371.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3742, allocations: 1.438 kB / 371.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001279/0.3755, allocations: 0.5314 MB / 372 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.3756, allocations: 33.5 kB / 372 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3756, allocations: 2.844 kB / 372 MB, free: 19.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006766/0.3763, allocations: 170.5 kB / 372.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3765, allocations: 50.42 kB / 372.2 MB, free: 19.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.3799, allocations: 4.942 MB / 377.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.3804, allocations: 59.11 kB / 377.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.3804, allocations: 16.92 kB / 377.3 MB, free: 15.45 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.0002414/0.3807, allocations: 171.2 kB / 377.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.3807, allocations: 37.69 kB / 377.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.3808, allocations: 38.02 kB / 377.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3808, allocations: 2.188 kB / 377.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3808, allocations: 5.422 kB / 377.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3808, allocations: 2.109 kB / 377.5 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.3813, allocations: 425.6 kB / 377.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3813, allocations: 1.062 kB / 377.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.3815, allocations: 37 kB / 378 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.3818, allocations: 104.1 kB / 378.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3819, allocations: 8.031 kB / 378.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/0.3848, allocations: 5.759 MB / 383.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3848, allocations: 0 / 383.8 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.3856, allocations: 363 kB / 384.2 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.3857, allocations: 106.9 kB / 384.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.3857, allocations: 12.98 kB / 384.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.386, allocations: 34.23 kB / 384.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3862, allocations: 52.52 kB / 384.4 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.3862, allocations: 12.06 kB / 384.4 MB, free: 8.762 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3865, allocations: 216 kB / 384.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3865, allocations: 0 / 384.6 MB, free: 8.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006407/0.3871, allocations: 150.3 kB / 384.8 MB, free: 8.605 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.0001435/0.3873, allocations: 117.7 kB / 384.9 MB, free: 8.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.3884, allocations: 0.7113 MB / 385.6 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3884, allocations: 1.062 kB / 385.6 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006411/0.3891, allocations: 0.5886 MB / 386.2 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.3895, allocations: 61.36 kB / 386.2 MB, free: 7.484 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.3909, allocations: 0.8567 MB / 387.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.3912, allocations: 0.8171 MB / 387.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.3914, allocations: 39.75 kB / 388 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.157e-05/0.3914, allocations: 36.28 kB / 388 MB, free: 6.184 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3915, allocations: 4 kB / 388 MB, free: 6.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01292/0.4044, allocations: 5.913 MB / 393.9 MB, free: 4.988 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)