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.005451/0.00545, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00106/0.00106, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 284.4 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9366/0.9366, allocations: 169.3 MB / 0.4983 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 95.86 kB / 0.6814 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4382, allocations: 86.98 MB / 0.7664 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLine): time 0.007409/0.4456, allocations: 6.275 MB / 0.7725 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006081/0.4517, allocations: 4.546 MB / 0.7769 GB, free: 9.133 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.4522, allocations: 23.88 kB / 0.777 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.4545, allocations: 0.9059 MB / 0.7778 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.4564, allocations: 0.7866 MB / 0.7786 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.4572, allocations: 319.4 kB / 0.7789 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.4584, allocations: 1.15 MB / 0.78 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008097/0.4592, allocations: 0.6849 MB / 0.7807 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005186/0.4597, allocations: 482.3 kB / 0.7812 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006164/0.4603, allocations: 0.4942 MB / 0.7816 GB, free: 4.289 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/0.4604, allocations: 68 kB / 0.7817 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004863/0.4609, allocations: 275.5 kB / 0.782 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.4612, allocations: 259.1 kB / 0.7822 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.4615, allocations: 402 kB / 0.7826 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009787/0.4625, allocations: 1.073 MB / 0.7837 GB, free: 2.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.4625, allocations: 4 kB / 0.7837 GB, free: 2.227 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4625, allocations: 0 / 0.7837 GB, free: 2.227 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4626, allocations: 3.984 kB / 0.7837 GB, free: 2.223 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.001665/0.4642, allocations: 1.094 MB / 0.7847 GB, free: 1.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.4643, allocations: 8.031 kB / 0.7847 GB, free: 1.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003108/0.4674, allocations: 0.6281 MB / 0.7854 GB, free: 452 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008358/0.4682, allocations: 0.5737 MB / 0.7859 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.4683, allocations: 41.67 kB / 0.786 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.156e-05/0.4684, allocations: 60.11 kB / 0.786 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.4703, allocations: 1.018 MB / 0.787 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4703, allocations: 0 / 0.787 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.4704, allocations: 27.98 kB / 0.787 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.455e-05/0.4705, allocations: 41.3 kB / 0.7871 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.4728, allocations: 1.008 MB / 0.7881 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/0.4765, allocations: 3.486 MB / 0.7915 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.4779, allocations: 490.9 kB / 0.7919 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.4784, allocations: 229.2 kB / 0.7921 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4785, allocations: 11.91 kB / 0.7922 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4785, allocations: 38.55 kB / 0.7922 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.4785, allocations: 0 / 0.7922 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43): time 0.006448/0.485, allocations: 2.014 MB / 0.7942 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.485, allocations: 59.34 kB / 0.7942 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/0.4856, allocations: 0.5704 MB / 0.7948 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.4857, allocations: 29.7 kB / 0.7948 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.4859, allocations: 360.2 kB / 0.7951 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.486, allocations: 149.8 kB / 0.7953 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.4861, allocations: 90.14 kB / 0.7954 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4863, allocations: 378.7 kB / 0.7957 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.487, allocations: 254.9 kB / 0.796 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.4877, allocations: 369.8 kB / 0.7963 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.4891, allocations: 0.6148 MB / 0.7969 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4891, allocations: 0 / 0.7969 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002298/0.4914, allocations: 0.939 MB / 0.7978 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4914, allocations: 4 kB / 0.7979 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4914, allocations: 4 kB / 0.7979 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.4925, allocations: 277.2 kB / 0.7981 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.4931, allocations: 115.8 kB / 0.7982 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007008/0.5002, allocations: 9.113 MB / 0.8071 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.5008, allocations: 43.94 kB / 0.8072 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.866e-05/0.5009, allocations: 20 kB / 0.8072 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009077/0.5018, allocations: 443.4 kB / 0.8076 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007184/0.5026, allocations: 353.4 kB / 0.808 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001357/0.5039, allocations: 0.6129 MB / 0.8086 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.374e-06/0.5039, allocations: 0 / 0.8086 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002436/0.5064, allocations: 1.121 MB / 0.8096 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.5064, allocations: 11.94 kB / 0.8097 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5064, allocations: 0 / 0.8097 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007838/0.5072, allocations: 225.3 kB / 0.8099 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.5078, allocations: 119.8 kB / 0.81 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/0.5138, allocations: 8.792 MB / 0.8186 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.5145, allocations: 48.02 kB / 0.8186 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.5145, allocations: 20 kB / 0.8186 GB, free: 11.86 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.0001971/0.5148, allocations: 213.8 kB / 0.8188 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.5149, allocations: 67.23 kB / 0.8189 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.5151, allocations: 86.38 kB / 0.819 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5151, allocations: 4 kB / 0.819 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5151, allocations: 0 / 0.819 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5151, allocations: 3.938 kB / 0.819 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.516, allocations: 0.6532 MB / 0.8196 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.516, allocations: 0 / 0.8196 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004996/0.5165, allocations: 87.84 kB / 0.8197 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000955/0.5174, allocations: 260.8 kB / 0.82 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.5175, allocations: 8.047 kB / 0.82 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006451/0.5239, allocations: 9.059 MB / 0.8288 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.524, allocations: 0 / 0.8288 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.5263, allocations: 0.9053 MB / 0.8297 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.5266, allocations: 188.2 kB / 0.8299 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.5267, allocations: 8 kB / 0.8299 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005604/0.5273, allocations: 43.95 kB / 0.8299 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.5274, allocations: 43.88 kB / 0.83 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.5275, allocations: 12 kB / 0.83 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005508/0.528, allocations: 403.1 kB / 0.8304 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.528, allocations: 0 / 0.8304 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00109/0.5291, allocations: 307.9 kB / 0.8307 GB, free: 14.57 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.0001367/0.5293, allocations: 115.2 kB / 0.8308 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004036/0.5333, allocations: 2.349 MB / 0.8331 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5334, allocations: 0 / 0.8331 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.5347, allocations: 1.004 MB / 0.834 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009766/0.5357, allocations: 234 kB / 0.8343 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.5381, allocations: 1.297 MB / 0.8355 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.5386, allocations: 0.9821 MB / 0.8365 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005035/0.5391, allocations: 153.3 kB / 0.8366 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.5393, allocations: 51.42 kB / 0.8367 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.5393, allocations: 0 / 0.8367 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of Templates: time 0.02111/0.5604, allocations: 13.6 MB / 0.85 GB, free: 10.66 MB / 0.6231 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)