Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001486/0.001486, allocations: 109.5 kB / 16.41 MB, free: 6.488 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.001682/0.001683, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002279/0.002279, allocations: 288.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9606/0.9606, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 103.8 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4575, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.00775/0.4653, allocations: 6.275 MB / 0.7732 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006694/0.472, allocations: 4.534 MB / 0.7776 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.4728, allocations: 23.88 kB / 0.7776 GB, free: 9.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.4755, allocations: 0.9084 MB / 0.7785 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.478, allocations: 0.7877 MB / 0.7793 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.4788, allocations: 325.3 kB / 0.7796 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001678/0.4805, allocations: 1.144 MB / 0.7807 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.4816, allocations: 0.6849 MB / 0.7814 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008107/0.4824, allocations: 486.3 kB / 0.7818 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009578/0.4834, allocations: 0.4942 MB / 0.7823 GB, free: 4.219 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.4836, allocations: 68 kB / 0.7824 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006742/0.4843, allocations: 279.5 kB / 0.7826 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.4846, allocations: 251.1 kB / 0.7829 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006698/0.4853, allocations: 406 kB / 0.7833 GB, free: 3.234 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.4869, allocations: 1.077 MB / 0.7843 GB, free: 2.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4869, allocations: 0 / 0.7843 GB, free: 2.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.284e-06/0.487, allocations: 0 / 0.7843 GB, free: 2.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.502e-05/0.487, allocations: 0 / 0.7843 GB, free: 2.156 MB / 0.545 GB 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.002628/0.4896, allocations: 1.098 MB / 0.7854 GB, free: 1.008 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.4897, allocations: 8.031 kB / 0.7854 GB, free: 1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.4931, allocations: 0.6281 MB / 0.786 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.4943, allocations: 0.5775 MB / 0.7866 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.4943, allocations: 41.67 kB / 0.7866 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.4944, allocations: 56.06 kB / 0.7867 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.4967, allocations: 1.022 MB / 0.7877 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4967, allocations: 4 kB / 0.7877 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.4968, allocations: 19.98 kB / 0.7877 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.073e-05/0.4969, allocations: 57.22 kB / 0.7877 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/0.4995, allocations: 1 MB / 0.7887 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.5044, allocations: 3.482 MB / 0.7921 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.506, allocations: 491.5 kB / 0.7926 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005989/0.5066, allocations: 233.2 kB / 0.7928 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.5067, allocations: 7.984 kB / 0.7928 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.265e-05/0.5068, allocations: 38.55 kB / 0.7929 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.376e-06/0.5068, allocations: 0 / 0.7929 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.007052/0.5138, allocations: 2.018 MB / 0.7948 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.5139, allocations: 59.34 kB / 0.7949 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.5146, allocations: 0.5666 MB / 0.7954 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.5147, allocations: 37.7 kB / 0.7955 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.515, allocations: 352.2 kB / 0.7958 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.5151, allocations: 149.8 kB / 0.796 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.5153, allocations: 94.16 kB / 0.796 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5155, allocations: 374.7 kB / 0.7964 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.5161, allocations: 254.9 kB / 0.7966 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.5169, allocations: 373.8 kB / 0.797 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.5183, allocations: 0.6186 MB / 0.7976 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5183, allocations: 4 kB / 0.7976 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002437/0.5207, allocations: 0.9234 MB / 0.7985 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.5208, allocations: 8.344 kB / 0.7985 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.5208, allocations: 4 kB / 0.7985 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.5219, allocations: 276.8 kB / 0.7988 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006111/0.5225, allocations: 115.8 kB / 0.7989 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007163/0.5297, allocations: 9.111 MB / 0.8078 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.5304, allocations: 39.95 kB / 0.8078 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.5305, allocations: 19.98 kB / 0.8079 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009042/0.5314, allocations: 443.4 kB / 0.8083 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000693/0.5321, allocations: 353.4 kB / 0.8086 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001315/0.5334, allocations: 0.6168 MB / 0.8092 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.207e-06/0.5334, allocations: 4 kB / 0.8092 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002436/0.5359, allocations: 1.117 MB / 0.8103 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5359, allocations: 11.94 kB / 0.8103 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5359, allocations: 4 kB / 0.8103 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007709/0.5367, allocations: 217.3 kB / 0.8105 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.5373, allocations: 127.9 kB / 0.8107 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.5434, allocations: 8.793 MB / 0.8192 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.5441, allocations: 43.95 kB / 0.8193 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.603e-05/0.5441, allocations: 15.98 kB / 0.8193 GB, free: 11.78 MB / 0.5919 GB 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.0002154/0.5444, allocations: 216.9 kB / 0.8195 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.5445, allocations: 67.25 kB / 0.8196 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.5447, allocations: 82.31 kB / 0.8196 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5447, allocations: 4 kB / 0.8196 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.5447, allocations: 4 kB / 0.8197 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.5447, allocations: 8.062 kB / 0.8197 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007704/0.5455, allocations: 0.6454 MB / 0.8203 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.5455, allocations: 3.984 kB / 0.8203 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/0.546, allocations: 95.84 kB / 0.8204 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009048/0.5469, allocations: 260.8 kB / 0.8206 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.547, allocations: 7.984 kB / 0.8206 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/0.5535, allocations: 9.055 MB / 0.8295 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5535, allocations: 0 / 0.8295 GB, free: 436 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.5558, allocations: 0.9131 MB / 0.8304 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002606/0.5561, allocations: 184.2 kB / 0.8306 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.859e-05/0.5562, allocations: 12 kB / 0.8306 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004874/0.5566, allocations: 39.94 kB / 0.8306 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.5568, allocations: 39.89 kB / 0.8306 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.5568, allocations: 8 kB / 0.8306 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004582/0.5573, allocations: 415.1 kB / 0.831 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5573, allocations: 0 / 0.831 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001044/0.5583, allocations: 304 kB / 0.8313 GB, free: 14.48 MB / 0.6075 GB 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.0001444/0.5585, allocations: 107.2 kB / 0.8314 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003662/0.5622, allocations: 2.349 MB / 0.8337 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5622, allocations: 0 / 0.8337 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.5635, allocations: 1.004 MB / 0.8347 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5646, allocations: 240.7 kB / 0.8349 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.5669, allocations: 1.354 MB / 0.8363 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005363/0.5675, allocations: 0.9821 MB / 0.8372 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.5677, allocations: 51.42 kB / 0.8373 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.5677, allocations: 0 / 0.8373 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of Templates: time 0.02668/0.5944, allocations: 27.03 MB / 0.8637 GB, free: 13.13 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)