Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 106.1 kB / 16.52 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 196.1 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 222.9 MB / 241.1 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7323/0.7323, allocations: 115.3 MB / 406.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 68.45 kB / 493.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1609, allocations: 76.19 MB / 0.5564 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLine): time 0.008812/0.1697, allocations: 6.279 MB / 0.5625 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007069/0.1768, allocations: 4.519 MB / 0.5669 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.1776, allocations: 19.88 kB / 0.567 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002574/0.1802, allocations: 0.8602 MB / 0.5678 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.1825, allocations: 0.7066 MB / 0.5685 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.1834, allocations: 302.5 kB / 0.5688 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.1853, allocations: 1.429 MB / 0.5702 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009165/0.1862, allocations: 485.7 kB / 0.5706 GB, free: 12.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.1871, allocations: 422.3 kB / 0.571 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.1881, allocations: 0.4981 MB / 0.5715 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.1884, allocations: 48 kB / 0.5716 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.1892, allocations: 311.4 kB / 0.5719 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003487/0.1896, allocations: 227.2 kB / 0.5721 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.1902, allocations: 393.9 kB / 0.5725 GB, free: 10.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009335/0.1912, allocations: 0.8263 MB / 0.5733 GB, free: 9.488 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1912, allocations: 0 / 0.5733 GB, free: 9.488 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1912, allocations: 0 / 0.5733 GB, free: 9.488 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.965e-05/0.1912, allocations: 0 / 0.5733 GB, free: 9.488 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002561/0.1938, allocations: 1.091 MB / 0.5743 GB, free: 8.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1939, allocations: 11.97 kB / 0.5743 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.1972, allocations: 0.6358 MB / 0.575 GB, free: 7.699 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/0.1982, allocations: 0.5385 MB / 0.5755 GB, free: 7.117 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.1982, allocations: 41.69 kB / 0.5755 GB, free: 7.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.1984, allocations: 60.11 kB / 0.5756 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.2006, allocations: 1.01 MB / 0.5766 GB, free: 5.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.2006, allocations: 4 kB / 0.5766 GB, free: 5.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.2007, allocations: 20 kB / 0.5766 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/0.2008, allocations: 53.22 kB / 0.5767 GB, free: 5.887 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.2032, allocations: 1.004 MB / 0.5776 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004705/0.2079, allocations: 3.498 MB / 0.581 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.2094, allocations: 494.4 kB / 0.5815 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.2099, allocations: 224.6 kB / 0.5817 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.21, allocations: 4 kB / 0.5817 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.21, allocations: 47.02 kB / 0.5818 GB, free: 312 kB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.024e-06/0.2101, allocations: 0 / 0.5818 GB, free: 312 kB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.2558/0.4659, allocations: 2.012 MB / 0.5837 GB, free: 32.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.4659, allocations: 59.73 kB / 0.5838 GB, free: 32.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/0.4668, allocations: 0.5715 MB / 0.5844 GB, free: 32.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.4669, allocations: 36.11 kB / 0.5844 GB, free: 32.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.4671, allocations: 352.7 kB / 0.5847 GB, free: 32.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.4673, allocations: 153.8 kB / 0.5849 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001867/0.4675, allocations: 92.52 kB / 0.585 GB, free: 31.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4676, allocations: 370.5 kB / 0.5853 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/0.4683, allocations: 261.4 kB / 0.5856 GB, free: 31.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007302/0.469, allocations: 361.4 kB / 0.5859 GB, free: 31.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.4704, allocations: 0.6182 MB / 0.5865 GB, free: 31.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.4704, allocations: 1.25 kB / 0.5865 GB, free: 31.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002446/0.4729, allocations: 0.9365 MB / 0.5874 GB, free: 30.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.4729, allocations: 7.359 kB / 0.5874 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4729, allocations: 3.219 kB / 0.5874 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.4741, allocations: 273.7 kB / 0.5877 GB, free: 30.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.4747, allocations: 116.6 kB / 0.5878 GB, free: 30.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.4803, allocations: 8.448 MB / 0.5961 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.481, allocations: 41.72 kB / 0.5961 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/0.4811, allocations: 20.02 kB / 0.5961 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009322/0.482, allocations: 439.1 kB / 0.5965 GB, free: 22.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006799/0.4827, allocations: 353.5 kB / 0.5969 GB, free: 22.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001335/0.4841, allocations: 0.6111 MB / 0.5975 GB, free: 21.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.4841, allocations: 4.688 kB / 0.5975 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002499/0.4866, allocations: 1.124 MB / 0.5986 GB, free: 21.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4866, allocations: 7.562 kB / 0.5986 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4866, allocations: 5.703 kB / 0.5986 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/0.4875, allocations: 220.1 kB / 0.5988 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.4881, allocations: 124 kB / 0.5989 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.4929, allocations: 8.158 MB / 0.6069 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.4936, allocations: 45.97 kB / 0.6069 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.4936, allocations: 23.88 kB / 0.607 GB, free: 13.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.4938, allocations: 204.5 kB / 0.6071 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.494, allocations: 73.67 kB / 0.6072 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.4942, allocations: 80.36 kB / 0.6073 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.4942, allocations: 7.812 kB / 0.6073 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.4942, allocations: 2.094 kB / 0.6073 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.4942, allocations: 6.516 kB / 0.6073 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009075/0.4952, allocations: 0.6446 MB / 0.6079 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4952, allocations: 0.7812 kB / 0.6079 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005122/0.4957, allocations: 86.23 kB / 0.608 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009943/0.4967, allocations: 257.4 kB / 0.6083 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.4967, allocations: 8.234 kB / 0.6083 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.502, allocations: 8.405 MB / 0.6165 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5021, allocations: 8.109 kB / 0.6165 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.5044, allocations: 0.9193 MB / 0.6174 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.5047, allocations: 183.9 kB / 0.6176 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.5048, allocations: 6.469 kB / 0.6176 GB, free: 3.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004793/0.5053, allocations: 44.97 kB / 0.6176 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.5054, allocations: 34.94 kB / 0.6176 GB, free: 3.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.5055, allocations: 13.05 kB / 0.6177 GB, free: 3.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005037/0.506, allocations: 404 kB / 0.618 GB, free: 3.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.506, allocations: 0 / 0.618 GB, free: 3.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001208/0.5072, allocations: 302.6 kB / 0.6183 GB, free: 3.301 MB / 446.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.5073, allocations: 110.1 kB / 0.6184 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.5109, allocations: 2.337 MB / 0.6207 GB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.511, allocations: 7 kB / 0.6207 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.5122, allocations: 0.9975 MB / 0.6217 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.5133, allocations: 207.5 kB / 0.6219 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.5159, allocations: 1.635 MB / 0.6235 GB, free: 15.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.5165, allocations: 0.9784 MB / 0.6245 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.5167, allocations: 51.39 kB / 0.6245 GB, free: 15 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5167, allocations: 4 kB / 0.6245 GB, free: 14.99 MB / 462.1 MB Notification: Performance of Templates: time 0.02884/0.5455, allocations: 26.95 MB / 0.6508 GB, free: 10.81 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)